From:             [EMAIL PROTECTED]
Operating system: AIX 4.3.3
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Failure
Bug description:  Incorrect file suffixes when building PHP for AIX 4.3.3

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!


-- 
Edit Bug report at: http://bugs.php.net/?id=9052&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to