PHP 4.0 Bug #9052 Updated: Incorrect file suffixes when building PHP for AIX 4.3.3

From: Date: Fri, 02 Feb 2001 00:59:48 +0000
Subject: PHP 4.0 Bug #9052 Updated: Incorrect file suffixes when building PHP for AIX 4.3.3
Groups: php.dev 
Request: Send a blank email to php-dev+get-45571@lists.php.net to get a copy of this message
ID: 9052 Updated by: sniper Reported By: mchampagne@capis.com Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: Which version of libtool do you have? And the compiler? Was this a clean compile? ie. have you tried doing this: # make clean ; make depend ; make And it seems like your oracle libs are (for some reason) detected to be an older version. What is the version of Oracle client libs you have in your system? And what do you have in $OCI8_DIR/orainst/unix.rgs file? And could you also add a listing of $OCI8_DIR/lib into this bug report? --Jani Previous Comments: --------------------------------------------------------------------------- [2001-02-01 11:51:57] mchampagne@capis.com I configured php by running configure --with-apxs --with-oci8 --without-mysql. When I try running make I'm getting these errors towards the end: Making all in apache Target "all-p" is up to date. Target "all" is up to date. Target "all" is up to date. Making all in TSRM Target "all" is up to date. Making all in regex Target "all-p" is up to date. Target "all" is up to date. Making all in . /bin/sh /usr/tools/src/php-4.0.4pl1/libtool --silent --mode=link cc -I. -I/usr/tools/src/php-4.0.4pl1/ -I/usr/tools/src/php-4.0.4pl1/main -I/usr/tools/src/php-4.0.4pl1 -I/ias/Apache/Apache/include -I/usr/tools/src/php-4.0.4pl1/Zend -I/ias/rdbms/public -I/ias/rdbms/demo -I/ias/network/public -I/usr/tools/src/php-4.0.4pl1/ext/xml/expat/xmltok -I/usr/tools/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/tools/src/php-4.0.4pl1/TSRM -DAIX=43 -DMOD_SSL=204110 -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=21 -g -o libphp4.la -rpath /usr/tools/src/php-4.0.4pl1/libs -avoid-version -L/ias/lib -R /ias/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/oci8/liboci8.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -ldl -lclntsh -lpsa -lcore4 -lnlsrtl3 -lld -lbsd_r -lm -lodm -ldl -lbind -lm -ldl -lcrypt cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_parser.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_parser.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_alloc.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_compile.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_constants.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_dynamic_array.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute_API.lo contains an incorrect file suffix I get several screens of [filename] contains incorrect file suffix and then I get: cc: 1501-218 file .libs/libphp4.lax/libtsrm.al/tsrm_strtok_r.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libtsrm.al/tsrm_virtual_cwd.lo contains an incorrect file suffix ld: 0706-006 Cannot find or open library file: -l core4 ld:open(): No such file or directory ld: 0706-006 Cannot find or open library file: -l nlsrtl3 ld:open(): No such file or directory ld: 0706-006 Cannot find or open library file: -l core4 ld:open(): No such file or directory ld: 0706-006 Cannot find or open library file: -l nlsrtl3 ld:open(): No such file or directory make: The error code from the last command is 255. Stop. make: The error code from the last command is 1. Stop. Should we be trying to compile with gcc instead of the cc that comes with AIX 4.3.3? Thanks! --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9052

« previous php.dev (#45571) next »