ID: 11369 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure Operating system: PHP Version: 4.0.5 Assigned To: Comments: This should be fixed in CVS now. Try a snapshot from here: http://snaps.php.net/ Make sure that the time the snapshot is created is not older than 19:36. Otherwise the fix won't be in it. Note also, that in the latest CVS (not the 4.0.6 branch), the function names have been changed for socket extension. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-06-11 08:34:10] [EMAIL PROTECTED] I have used the newest version 4.0.6 CVS and still ger the same error. Wonder if my gcc works fine. Is there any limitation about the gcc version? Making all in mysql Making all in libmysql Making all in pcre Making all in pcrelib Making all in posix Making all in session Making all in sockets Making all in standard Making all in xml Making all in expat Making all in xmltok Making all in xmlparse Making all in sapi Making all in cgi Making all in TSRM Making all in regex Making all in . /bin/sh /tmp/php/php-4.0.6RC3/libtool --silent --mode=link gcc -I. -I/tmp/php/php-4.0.6RC3/ -I/tmp/php/php-4.0.6RC3/main -I/tmp/php/php-4.0.6RC3 -I/tmp/php/php-4.0.6RC3/Zend -I/tmp/php/php-4.0.6RC3/ext/mysql/libmysql -I/tmp/php/php-4.0.6RC3/ext/xml/expat/xmltok -I/tmp/php/php-4.0.6RC3/ext/xml/expat/xmlparse -I/tmp/php/php-4.0.6RC3/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -o libphp4.la -rpath /tmp/php/php-4.0.6RC3/libs -L/usr/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 -R /usr/ucblib -R /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/sockets/libsockets.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc /bin/sh /tmp/php/php-4.0.6RC3/libtool --silent --mode=link gcc -I. -I/tmp/php/php-4.0.6RC3/ -I/tmp/php/php-4.0.6RC3/main -I/tmp/php/php-4.0.6RC3 -I/tmp/php/php-4.0.6RC3/Zend -I/tmp/php/php-4.0.6RC3/ext/mysql/libmysql -I/tmp/php/php-4.0.6RC3/ext/xml/expat/xmltok -I/tmp/php/php-4.0.6RC3/ext/xml/expat/xmlparse -I/tmp/php/php-4.0.6RC3/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -o php -export-dynamic stub.lo libphp4.la Undefined first referenced symbol in file hstrerror .libs/libphp4.a(sockets.o) ld: fatal: Symbol referencing errors. No output written to php *** Error code 1 make: Fatal error: Command failed for target `php' Current working directory /tmp/php/php-4.0.6RC3 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' bash-2.03# --------------------------------------------------------------------------- [2001-06-09 01:12:36] [EMAIL PROTECTED] This should be fixed in CVS. Please try latest release candidate for 4.0.6 here: http://www.php.net/~andi/php-4.0.6RC3.tar.gz --Jani --------------------------------------------------------------------------- [2001-06-08 16:09:14] [EMAIL PROTECTED] That's the output I get. Even when I try the latest CVS version 200106008... (The same happens with version 4.0.4pl) gcc -I. -I/tmp/php/php-4.0.5/ -I/tmp/php/php-4.0.5/main -I/tmp/php/php-4.0. 5 -I/tmp/php/php-4.0.5/Zend -I/tmp/php/php-4.0.5/ext/mysql/libmysql -I/usr/u p/oracle/rdbms/demo -I/usr/up/oracle/network/public -I/usr/up/oracle/plsql/p ublic -I/tmp/php/php-4.0.5/ext/xml/expat/xmltok -I/tmp/php/php-4.0.5/ext/xml /expat/xmlparse -I/tmp/php/php-4.0.5/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSUPP ORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -o php -export-dynamic stub.lo libphp4.la Undefined first referenced symbol in file hstrerror .libs/libphp4.a(sockets.o) ld: fatal: Symbol referencing errors. No output written to php *** Error code 1 make: Fatal error: Command failed for target `php' Current working directory /tmp/php/php-4.0.5 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Thanks M Luna --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11369&edit=2 -- 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]