php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19397 make fails on AIX 5.1
Submitted: 2002-09-13 15:26 UTC Modified: 2002-11-21 17:06 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: wally at fdbs dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.2.3 OS: AIX 5.1.0.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wally at fdbs dot com
New email:
PHP Version: OS:

 

 [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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-18 12:16 UTC] wally at fdbs dot 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-11-08 09:51 UTC] iliaa@php.net
Does it compile if you compile it without thread safety? Also  please verify that the problem happens on latest CVS.
 [2002-11-21 17:06 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 01:01:28 2024 UTC