php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9052 Incorrect file suffixes when building PHP for AIX 4.3.3
Submitted: 2001-02-01 11:51 UTC Modified: 2001-02-02 14:25 UTC
From: mchampagne at capis dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: AIX 4.3.3
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: mchampagne at capis dot com
New email:
PHP Version: OS:

 

 [2001-02-01 11:51 UTC] mchampagne at capis dot 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!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-01 19:59 UTC] sniper@php.net
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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC