Bug #13565: php4-200110050900/ext/standard/dns.c:240: undefined reference to `__res_search'
| From: | jerome dot ponsin at francetrader dot com | Date: | Fri, 05 Oct 2001 17:12:43 +0000 |
| Subject: | Bug #13565: php4-200110050900/ext/standard/dns.c:240: undefined reference to `__res_search' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-67363@lists.php.net to get a copy of this message | ||
From: jerome.ponsin@francetrader.com
Operating system: RedHat7.1&Kernel 2.4.4
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: php4-200110050900/ext/standard/dns.c:240: undefined reference to
`__res_search'
Almost same problem that bug ID #10941
but it is not resolved for me in 4.0.6,
even with latest snapshot : 200110050900
(from : http://snaps.php.net/)
gcc -c -I./os/unix -I./include -DLINUX=22 -I/root/php4-200110050900
-I/root/php4-200110050900/main -I/root/php4-200110050900/main
-I/root/php4-200110050900/Zend -I/root/php4-200110050900/Zend
-I/root/php4-200110050900/TSRM -I/root/php4-200110050900/TSRM
-I/root/php4-200110050900 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci buildmark.c
gcc -DLINUX=22 -I/root/php4-200110050900 -I/root/php4-200110050900/main
-I/root/php4-200110050900/main -I/root/php4-200110050900/Zend
-I/root/php4-200110050900/Zend -I/root/php4-200110050900/TSRM
-I/root/php4-200110050900/TSRM -I/root/php4-200110050900 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED ./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/opt/oracle/product/8.1.7/lib -rdynamic -L/usr/local/lib
-L/opt/oracle/product/8.1.7/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -ldl -lm -ldl -lz -lcrypt -lresolv -lm
-ldl -lnsl -lresolv -lcrypt -lclntsh -lm -lcrypt
modules/php4/libphp4.a(dns.o): In function `zif_checkdnsrr':
/root/php4-200110050900/ext/standard/dns.c:240: undefined reference to
`__res_search'
modules/php4/libphp4.a(dns.o): In function `zif_getmxrr':
/root/php4-200110050900/ext/standard/dns.c:301: undefined reference to
`__res_search'
/root/php4-200110050900/ext/standard/dns.c:328: undefined reference to
`__dn_expand'
collect2: ld returned 1 exit status
--
Edit bug report at: http://bugs.php.net/?id=13565&edit=1