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

From: Date: Mon, 08 Dec 2003 22:57:50 +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-51818@lists.php.net to get a copy of this message
 ID:               26544
 Updated by:       pollita@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:

Please try changing the following line in your main/php_config.h file:

/* #undef BIND_8_COMPAT */

to

#define BIND_8_COMPAT 1

Then make and let us know the results.


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

[2003-12-08 15:45:50] andy at kksonline dot com

Hi !

For extra libs I have this...

EXTRA_LIBS=-lcrypt -lbind -lm -lxml2 -lz -liconv

I have Apache build totally normal (with so enabled), v2.0.44..

I usually had no problems compiling php (v3 and v4), with just this
options...

Andy

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

[2003-12-07 13:20:15] sniper@php.net

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 ?


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

[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 (#51818) next »