Re: Bug #2738 Updated: Apache doesn't compile, complaining about undefined things in functions/dns.c
| From: | Claudio Neves | Date: | Tue, 30 Nov 1999 14:31:18 +0000 |
| Subject: | Re: Bug #2738 Updated: Apache doesn't compile, complaining about undefined things in functions/dns.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13294@lists.php.net to get a copy of this message | ||
Hello,
Here is the output from gcc:
---------
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/ex
pat-lite
./apaci modules.c
gcc -c -I./os/unix -I./include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/ex
pat-lite ./apaci buildmark.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite ./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3
/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expa
t-lite/libexpat.a -Wl,-rpath,/usr/local/lib/gd -Wl,-rpath,/usr/local/mysql/lib
-L/usr/local/lib/gd -lgd -L/usr/local/mysql/lib -lmysqlclient -Lmodules/php3 -L
../modules/php3 -L../../modules/php3 -lmodphp3 -lgd -lpam
-lm -ldl -lcrypt -lm -lcrypt -lgdbm
modules/php3/libphp3.a(dns.o): In function `php3_checkdnsrr':
/var/files/php-3.0.12/functions/dns.c:228: undefined reference to `res_search'
modules/php3/libphp3.a(dns.o): In function `php3_getmxrr':
/var/files/php-3.0.12/functions/dns.c:298: undefined reference to `res_search'
/var/files/php-3.0.12/functions/dns.c:307: undefined reference to `__dn_skipname
'
/var/files/php-3.0.12/functions/dns.c:313: undefined reference to `__dn_skipname
'
/var/files/php-3.0.12/functions/dns.c:325: undefined reference to `dn_expand'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/var/files/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/files/apache_1.3.9'
make: *** [build] Error 2
root@lambari /var/files/apache_1.3.9#
---------
I just did ./configure --prefix=/usr/local/apache --activate-module=src/modules/php3/libphp3.a
Hope this helps!
Regards,
Claudio Neves
At 20:39 21/11/99 +0000, you wrote:
>ID: 2738
>Updated by: sas
>Reported By: claudio@nextis.com
>Status: Open
>Bug Type: Compile Failure
>Assigned To:
>Comments:
>
>Which symbols did it complain about?
>
>Full Bug description available at: http://bugs.php.net/?id=2738