From:             [EMAIL PROTECTED]
Operating system: RedHat7.1&Kernel 2.4.4
PHP version:      4.0 Latest CVS (2001-05-17)
PHP Bug Type:     Compile Failure
Bug description:  php4-200105171245/ext/standard/dns.c:281: undefined reference to 

This bug is basically the same as bug #10150:

Here's my info:

[root@klashma klashma]# gcc -v   
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
[root@klashma klashma]# make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-redhat-linux-gnu
Here's what I type to compile:
[root@klashma klashma]# ./configure --with-mysql --with-imap
[root@klashma klashma]# make

And I get this:
/bin/sh /home/klashma/php4-200105171245/libtool --silent --mode=link gcc  -I. 
-I/home/klashma/php4-200105171245/ -I/home/klashma/php4-200105171245/main 
-I/home/klashma/php4-200105171245 -I/home/klashma/php4-200105171245/Zend 
-I/home/klashma/php4-200105171245/ext/xml/expat -I/home/klashma/php4-200105171245/TSRM 
 -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -prefer-non-pic -static   -o php 
-export-dynamic   stub.lo 
gcc: unrecognized option `-prefer-non-pic'
./.libs/libphp4.a(dns.o): In function `php_if_checkdnsrr':
/home/klashma/php4-200105171245/ext/standard/dns.c:212: undefined reference to 
./.libs/libphp4.a(dns.o): In function `php_if_getmxrr':
/home/klashma/php4-200105171245/ext/standard/dns.c:281: undefined reference to 
/home/klashma/php4-200105171245/ext/standard/dns.c:308: undefined reference to 
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/home/klashma/php4-200105171245'
make: *** [all-recursive] Error 1
[root@klashma php4-200105171245]#

Et voilą, there's nothing to do, it just won't compile :(

Edit Bug report at:

PHP Development Mailing List <>
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