#32465 [Bgs]: Compile fails on undefined symbol "res_nmkquery"
| From: | bkoenig at cs dot tu-berlin dot de | Date: | Tue, 29 Mar 2005 04:54:38 +0000 |
| Subject: | #32465 [Bgs]: Compile fails on undefined symbol "res_nmkquery" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75959@lists.php.net to get a copy of this message | ||
ID: 32465
User updated by: bkoenig at cs dot tu-berlin dot de
Reported By: bkoenig at cs dot tu-berlin dot de
Status: Bogus
Bug Type: Compile Failure
Operating System: FreeBSD 5.3-RELEASE
PHP Version: 5.0.3
New Comment:
Yes, of course they are aliases in the header file.
Is there a way to exactly tell where the necessary header files are
located or a switch to avoid using these functions without removing
libbind? This would solve the problem in my case without using ugly
workarounds.
Regards Björn
Previous Comments:
------------------------------------------------------------------------
[2005-03-29 00:42:30] sniper@php.net
As you're obviously just assuming, bogus. (I don't see any errors
here..) And it's perfectly okay to check for the funcs like that:
They're aliased in a header file.
------------------------------------------------------------------------
[2005-03-27 03:35:34] bkoenig at cs dot tu-berlin dot de
Description:
------------
Isn't it just wrong that the configure script of PHP detects
checking for res_nmkquery in -lbind... no
checking for __res_nmkquery in -lbind... yes
but PHP uses res_nmkquery nevertheless?
This affects res_ninit, res_nmkquery, res_nsend and res_nclose in
ext/standard/dns.c and the compilation will fail definitely.
Regards Björn
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32465&edit=1