ID: 19397
User updated by: [EMAIL PROTECTED]
-Summary: during make libmysql errors terminate process
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Operating System: AIX 5.1.0.0
PHP Version: 4.2.3
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[2002-09-13 15:26:50] [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19397&edit=1