ID: 9225
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug
report.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-11 01:35:58] [EMAIL PROTECTED]
I can't reproduce this with latest CVS.
My gcc version:
[root@kossu Zend]# gcc --version
egcs-2.91.66
--Jani
---------------------------------------------------------------------------
[2001-02-12 08:43:23] [EMAIL PROTECTED]
Hiya,
i have these flags for compiling:
CXXFLAGS = CFLAGS= -Os -O6 -march=pentium
when i do:
./configure --with-apache=/usr/src/wico/apache_1.3.17
--with-config-file-path=/usr/local/apache/conf
--enable-sigchild
--disable-pear
--with-bz2
--with-curl=/usr/local/curl
--enable-ftp
--with-gd
--with-mcrypt=/usr/local/mcrypt
--with-mysql=/usr/local/mysql
--disable-session
--enable-sockets
--enable-sysvsem
--enable-sysvshm
--with-zlib
--enable-static &&
make &&
make install
i get this:
Making all in Zend
make[1]: Entering directory `/home/src/wico/php-4.0.4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_language_scanner.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_ini_scanner.c
/bin/sh ../libtool --silent --mode=link gcc -Os -O6 -march=pentium -o libZend_c.la
zend_language_scanner.lo zend_ini_scanner.lo
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_language_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_ini_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_alloc.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_compile.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_constants.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c zend_dynamic_array.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 s -O6 -march=pentium -c ./zend_execute.c
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [zend_execute.lo] Error 1
make[1]: Leaving directory `/home/src/wico/php-4.0.4pl1/Zend'
make: *** [all-recursive] Error 1
watch this line:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 s -O6 -march=pentium -c ./zend_execute.c
changing it to this works:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DXML_BYTE_ORDER=12 -Os -O6 -march=pentium -c ./zend_execute.c
Greetz,
Wico
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9225&edit=2
--
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]