php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10108 cc 1501:218 file XXX contains an incorrect file suffix
Submitted: 2001-04-02 06:22 UTC Modified: 2003-01-20 16:56 UTC
Votes:4
Avg. Score:3.8 ± 0.4
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: michael dot viorney at laposte dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0-dev OS: AIX V4.3.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: michael dot viorney at laposte dot net
New email:
PHP Version: OS:

 

 [2001-04-02 06:22 UTC] michael dot viorney at laposte dot net
Hello,
i tried to compile php-4.0.4pl1 on AIX V4.3.3 (ibm c compiler V4.4 with the lastest fixes) with the following configuration line
./configure --prefix=/usr/local/php
            --with-config-file-path=/usr/local/php/conf
            --enable-track-vars
            --without-xml
            --without-mysql
            --with-ibm-db2=/home/instdb2/sqllib
            --with-apxs=/usr/local/apache/bin/apxs
            --enable-c9x-inline

before entering this configuration line, i made : 
export CFLAGS="-ma"

At the end of the make command, i have the folliwg errors :

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
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_highlight.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_llist.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_opcode.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_operators.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ptr_stack.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_stack.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_variables.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_API.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_extensions.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_hash.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_list.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_indent.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_builtin_functions.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_sprintf.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_scanner.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_scanner.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsapi.al/sapi_apache.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsapi.al/mod_php4.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsapi.al/php_apache.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/main.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/internal_functions.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/snprintf.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_sprintf.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/safe_mode.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/fopen-wrappers.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/alloca.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_ini.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/SAPI.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/rfc1867.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_content_types.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/strlcpy.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/strlcat.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/mergesort.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/reentrancy.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_variables.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_ticks.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/network.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_open_temporary_file.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_logos.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libregex.al/regcomp.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libregex.al/regexec.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libregex.al/regerror.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libregex.al/regfree.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libodbc.al/php_odbc.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libodbc.al/velocis.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libpcre.al/php_pcre.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libpcre.al/maketables.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libpcre.al/get.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libpcre.al/study.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libpcre.al/pcre.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libposix.al/posix.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsession.al/session.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsession.al/mod_files.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsession.al/mod_mm.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsession.al/mod_user.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/array.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/base64.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/basic_functions.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/browscap.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/crc32.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/crypt.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/cyr_convert.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/datetime.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/dir.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/dl.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/dns.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/exec.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/file.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/filestat.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/flock_compat.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/formatted_print.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/fsock.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/head.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/html.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/image.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/info.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/iptc.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/lcg.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/link.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/mail.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/math.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/md5.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/metaphone.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/microtime.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/pack.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/pageinfo.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/parsedate.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/quot_print.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/rand.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/reg.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/soundex.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/string.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/scanf.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/syslog.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/type.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/uniqid.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/url.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/url_scanner.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/var.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/output.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/assert.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/strnatcmp.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/levenshtein.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/incomplete_class.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/url_scanner_ex.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/ftp_fopen_wrapper.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/http_fopen_wrapper.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/php_fopen_wrapper.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libstandard.al/credits.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libtsrm.al/TSRM.lo contains an incorrect file suffix
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

i also tried to modify the file 'libtool' as mentionned in bug #4630.But the problem remains.

last information : the compilation is ok when i replace '--with-apxs=...' by '-enable-force-cgi-redirect' in the configuration line.

thanks for the help

Michael

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 04:40 UTC] sniper@php.net
This should be fixed with PHP 4.0.6, please try the 
latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 [2001-06-20 05:37 UTC] mviorney at usa dot net
Hi,
I can't access the mentionned file : 
http://www.php.net/~andi/php-4.0.6RC2.tar.gz


Michael
 [2001-06-20 10:13 UTC] derick@php.net
Try this link:
www.php.net/~andi/php-4.0.6RC4.tar.gz
 [2001-08-31 08:32 UTC] michael dot viorney at laposte dot net
I tried the latest version : php-4.0.6.

Got always the same problem.

MichaeL
 [2001-08-31 08:58 UTC] sniper@php.net
Have you tried using GCC ? Also, could you try with 
latest CVS snapshot: http://snaps.php.net/
as we now use libtool 1.4 it might have fixed some issues
with AIX.

--Jani

 [2001-09-10 05:11 UTC] michael dot viorney at laposte dot net
i have installed libtool 1.4 and have got the same problem.

Michael
 [2002-03-03 02:35 UTC] kalowsky@php.net
One last request, can you please try the latest PHP Release (4.1.2 at this time).  A lot of fixes occured between 4.0.6 and 4.1 series.
 [2002-04-04 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-06-20 07:28 UTC] alexander dot wetzel at web dot de
Hello, 

This bug is still not solved, it seems.
I got it on AIX4.3.3 ml9 with Visual Age C++ 5.0 while compiling php 4.2.1.

I only used:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

and 

make install

I was able to compile apache with mod_perl and mod_ssl quite fine, so its probably not a configuration error.

If you need further information, feel free to mail me.

Error message:
Making all in .
        /bin/sh /tmp/a/php-4.2.1/libtool --silent --mode=link cc  -I. -I/tmp/a/php-4.2.1/ -I/tmp/a/php-4.2.1/main -I/tmp/a/php-4.2.1 -I/usr/local/apache/include -I/tmp/a/php-4.2.1/Zend -I/tmp/a/php-4.2.1/ext/mysql/libmysql -I/tmp/a/php-4.2.1/ext/xml/expat  -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DMOD_SSL=208109 -DMOD_PERL -DUSE_PERL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D_LARGE_FILES -DUSE_HSREGEX -DEAPI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D_LARGE_FILES -I/tmp/a/php-4.2.1/TSRM -prefer-pic   -o libphp4.la -rpath /tmp/a/php-4.2.1/libs -Wl,-bI:/usr/local/apache/libexec/httpd.exp -avoid-version   stub.lo  Zend/libZend.la  sapi/apache/libsapi.la  main/libmain.la  regex/libregex.la  /tmp/a/php-4.2.1/ext/ctype/libctype.la /tmp/a/php-4.2.1/ext/mysql/libmysql.la /tmp/a/php-4.2.1/ext/pcre/libpcre.la /tmp/a/php-4.2.1/ext/posix/libposix.la /tmp/a/php-4.2.1/ext/session/libsession.la /tmp/a/php-4.2.1/ext/standard/libstandard.la /tmp/a/php-4.2.1/ext/xml/libxml.la  TSRM/libtsrm.la -lcrypt -lbind -lm -ldl -lcrypt -ldl
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_language_scanner.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_ini_scanner.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

<deleted many lines>

cc: 1501-218 file /tmp/a/php-4.2.1/ext/xml/.libs/libxml.al contains an incorrect file suffix
cc: 1501-218 file TSRM/.libs/libtsrm.al contains an incorrect file suffix
Target "all-p" is up to date.
Making all in pear
Target "all" is up to date.
Target "all" is up to date.
 [2002-06-20 07:42 UTC] derick@php.net
Can you please try the latest NON stable snapshot from snaps.php.net? We have a new buildsystem which should fix it.

Derick
 [2002-07-01 12:00 UTC] michael dot viorney at laposte dot net
I tried with the following version : php4-200207010600.tar.gz.

I still have the problem.
 [2002-07-02 20:29 UTC] sniper@php.net
After compile..do you have anything in .libs/ ?

 [2002-07-08 10:20 UTC] michael dot viorney at laposte dot net
The ./libs directory is empty at this end of the compilation.
 [2002-07-08 10:22 UTC] michael dot viorney at laposte dot net
Sorry,

don't checked the right directory.

.libs/ directory contains :
libphp4.a
libphp4.exp
libphp4.la->../libphp4.la
libphp4.lai
libphp4.so.0
 [2002-08-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2003-01-20 16:56 UTC] sniper@php.net
I'm bogusing this since this is again the same bug
as is reported in http://bugs.php.net/bug.php?id=14245

Please add any useful comments with extra info to that
report instead. Thank you.

 [2003-01-22 15:04 UTC] brandon at oit dot gatech dot edu
This does not look like quite the same bug to me as #14245,
and I suggest the following might resolve this bug:

Our PHP 4.3.0 build failed to compile sapi/cli/php on our AIX machine,
with over one hundred error messages like:

cc: 1501-218 file ext/ctype/ctype.lo contains an incorrect file suffix

The causes of this are rather subtle:

1. GNU libtool will usually not create static objects under AIX.

2. But the PHP developers want libtool to create static objects.

3. So the PHP developers provide their own ./libtool in the source
   tree which will create them, which they run with "/bin/sh libtool".

4. Unfortunately, while "/bin/sh <file>" usually looks for <file> in
   the current directory before searching through $PATH, on AIX it
   looks through $PATH first; thus the PHP Makefile winds up running
   /usr/local/bin/libtool (or wherever you have it installed) instead.

Thus the solution is to modify the PHP Makefile so that the line

   LIBTOOL = $(SHELL) libtool --silent

instead reads

   LIBTOOL = $(SHELL) ./libtool --silent

Technical notes: When you compile and install libtool, it runs a
script called libtool.m4 which, around line 2363 in the libtool-1.4.3
source, disables AIX static linking with the explanation that:

   "On AIX, shared libraries and static libraries use the same
   namespace, and are all built from PIC."

It disables static linking by setting enable_static=no when it writes
your libtool script; the ./libtool script in the PHP build directory
works precisely because this variable is set to "yes" instead.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 08:01:28 2024 UTC