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

From: Date: Thu, 11 Dec 2003 11:37:41 +0000
Subject: #26544 [Opn->Bgs]: Compile fails on undefined symbol "res_ninit"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51950@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:           Bogus
 Bug Type:         Compile Failure
 Operating System: FreeBSD 5.1 (Stable)
 PHP Version:      5CVS-2003-12-6
 New Comment:

Ask why bind has these functions but why doesn't your resolv.h  have
the aliases..

This is not PHP bug.



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

[2003-12-10 11:57:26] andy at kksonline dot com

Hi !
I have checked both things.
main/php_config.h looks fine

I have taken look into /usr/include/resolv.h

There are quite a few res_* defines, but I checked, there are few
res_n* defines missing, all those I reported to be produced (res_ninit,
res_nmkquery, res_nsend and res_nclose).

Any idea what to do next. Where should these defines be linked to?
Maybe I can ask on freebsd forum, but I need to know what I am looking
for...

Andy

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

[2003-12-10 10:24:25] sniper@php.net

Configure detects the functions with the underscore prefixes.
(e.g. __res_nmkquery in -lbind)

Please check if you have '#define HAVE_RESOLV_H 1' in
main/php_config.h..also check that the /usr/include/resolv.h 
actually has the aliases for these functions, e.g.

#define res_nmkquery __res_nmkquery


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

[2003-12-09 15:37:37] sniper@php.net

Please put the config.log file online somewhere OR email it to me. (DO
NOT paste it here!)


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

[2003-12-09 13:48:49] andy at kksonline dot com

Hi !
Nothing changed. Same error.
Andy

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

[2003-12-08 17:57:48] pollita@php.net

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.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26544

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


Thread (12 messages)

« previous php.bugs (#51950) next »