|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-13 15:26 UTC] wally at fdbs dot 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 20:00:01 2025 UTC |
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?