Date: 12/20/00
- Next message: myers <email protected>: "[PHP-DEV] PHP 4.0 Bug #8340: Unable to handle MS SQL's ntext data type. Fails with FATAL: emalloc(): Unable"
- Previous message: Phil Driscoll: "[PHP-DEV] Re: [PHP-QA] PHP 4.0.4 Windows Installer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
There seems to be some problem with libphp4.a on my system when compiling into Apache 1.3.9
I constantly get Undefined symbols: getaddrinfo & freeaddrinfo
although socket.h & netdb.h are both included in network.c
I am using php4.0.4
This is the error I get during the apache "make":
-o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/lib
standard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.
a -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -L/usr/uc
blib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -Lmodules/php4 -L../mo
dules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lresolv -lresolv -lm -ld
l -lcrypt -lnsl -lsocket -lsocket -lgcc -lsocket -lnsl
Undefined first referenced
symbol in file
getaddrinfo modules/php4/libphp4.a(network.o)
freeaddrinfo modules/php4/libphp4.a(network.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
Here is the system I'm compiling on:
Solaris 7 on SPARC, php4.0.3pl1, apache 1.3.9, gcc 2.95-2
PS. I've tried adding -lc option (apparrently those symbols are located in libc.a) - this problem is driving me crazy! Please - is there anyone who can help?
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: myers <email protected>: "[PHP-DEV] PHP 4.0 Bug #8340: Unable to handle MS SQL's ntext data type. Fails with FATAL: emalloc(): Unable"
- Previous message: Phil Driscoll: "[PHP-DEV] Re: [PHP-QA] PHP 4.0.4 Windows Installer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

