#19397 [Fbk->NoF]: make fails on AIX 5.1

From: Date: Thu, 21 Nov 2002 23:06:56 +0000
Subject: #19397 [Fbk->NoF]: make fails on AIX 5.1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25460@lists.php.net to get a copy of this message
ID: 19397 Updated by: sniper@php.net Reported By: wally@fdbs.com -Status: Feedback +Status: No Feedback Bug Type: Compile Failure Operating System: AIX 5.1.0.0 PHP Version: 4.2.3 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-11-08 09:51:24] iliaa@php.net Does it compile if you compile it without thread safety? Also please verify that the problem happens on latest CVS. ------------------------------------------------------------------------ [2002-09-18 12:16:42] wally@fdbs.com After determining the problem in compiling was specific to mysql, I re-ran configure adding the "--without-mysql" option, and tried to make php again. I receive the following output eserver610_01[root]:</Xfiles/WS/php-4.2.3> make php /bin/sh /Xfiles/WS/php-4.2.3/libtool --silent --mode=link gcc -I. -I/Xfi les/WS/php-4.2.3/ -I/Xfiles/WS/php-4.2.3/main -I/Xfiles/WS/php-4.2.3 -I/usr/loca l/apache/2.0.40/include -I/Xfiles/WS/php-4.2.3/Zend -I/Xfiles/WS/php-4.2.3/ext/x ml/expat -D_THREAD_SAFE -I/Xfiles/WS/php-4.2.3/TSRM -g -O2 -pthread -DZTS -o php -export-dynamic stub.lo libphp4.la ld: 0711-317 ERROR: Undefined symbol: .main ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. Any suggestions? ------------------------------------------------------------------------ [2002-09-13 15:26:50] wally@fdbs.com Hello, I ran "./configure --with-apxs2=${APACHEDIR}/bin/apxs" then "make depend" then "make" at which point it begins as it should, then the following is output...Making all in mysql Making all in libmysql /bin/sh /Xfiles/WS/php-4.2.3/libtool --silent --mode=compile gcc -I. -I /Xfiles/WS/php-4.2.3/ext/mysql/libmysql -I/Xfiles/WS/php-4.2.3/main -I/Xfiles/WS /php-4.2.3 -I/usr/local/apache/2.0.40/include -I/Xfiles/WS/php-4.2.3/Zend -I/Xfi les/WS/php-4.2.3/ext/mysql/libmysql -I/Xfiles/WS/php-4.2.3/ext/xml/expat -D_THR EAD_SAFE -I/Xfiles/WS/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pi c -c libmysql.c In file included from libmysql.c:33: /usr/local/include/select.h:32: conflicting types for `select' /usr/include/sys/time.h:158: previous declaration of `select' /usr/local/include/select.h:94: redefinition of `struct fd_set' make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. eserver610_01[root]:</Xfiles/WS/php-4.2.3> Any ideas? Any help would be appreciated. More info that might help gcc version 3.1 aix version 5.1.0.25 apache version 2.0.40 Walter Werner wally@fdbs.com ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19397&edit=1

« previous php.bugs (#25460) next »