From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to