|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-06-08 16:09 UTC] moshe dot luna at openwave dot com
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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 21:00:01 2025 UTC |
I have downloaded the CVS version you had specified...and still no luck....the make fails again with the exact same error. I am trying to create a cgi executable, I run the following: 1. ./configure --enable-sockets 2. make In the configure.log there are a few failures that involve conftest.c like the following: ------------------------------------------------------------ configure:4329: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:4326: `localtime_r' undeclared (first use in this function) configure:4326: (Each undeclared identifier is reported only once configure:4326: for each function it appears in.) configure: failed program was: #line 4322 "configure" #include "confdefs.h" #include <time.h> int main() { struct tm *(*func)() = localtime_r ; return 0; } ------------------------------------------------------------ The make returns the following ERROR: /bin/sh /tmp/php/php-4.0.5/libtool --silent --mode=link 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/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 -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 collect2: ld returned 1 exit status *** 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' ------------------------------------------------------------ Without --enable-sockets everything works perfectly.