#26544 [Opn->Fbk]: Compile fails on undefined symbol "res_ninit"

From: Date: Sun, 07 Dec 2003 18:20:15 +0000
Subject: #26544 [Opn->Fbk]: Compile fails on undefined symbol "res_ninit"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51783@lists.php.net to get a copy of this message
 ID:               26544
 Updated by:       sniper@php.net
 Reported By:      andy at kksonline dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: FreeBSD 5.1 (Stable)
 PHP Version:      5CVS-2003-12-6
 New Comment:

That is pretty strange since that part of the code won't be even
compile if you don't have those functions..

What do you have in Makefile for EXTRA_LIBS ?



Previous Comments:
------------------------------------------------------------------------

[2003-12-06 12:54:55] andy at kksonline dot com

Description:
------------
I tried beta2 (and newest image 2003/Dec/06). I used 

configure --with-apxs2=/path --with-pgsql=/path

I was using FreeBSD 5.1 (Stable).

ext/standard/dns.lo: In function `zif_dns_get_record':
/php5-200312061630/ext/standard/dns.c:631: undefined reference to
`res_ninit'
/php5-200312061630/ext/standard/dns.c:635: undefined reference to
`res_nmkquery'
/php5-200312061630/ext/standard/dns.c:641: undefined reference to
`res_nsend'
/php5-200312061630/ext/standard/dns.c:675: undefined reference to
`res_nclose'

If I tried another option --with-mysql, I got the same error  (in
another method)

Andy




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26544&edit=1


Thread (12 messages)

« previous php.bugs (#51783) next »