Compilation failure (Mdk6.1, EGCS/GCC) (resend)

From: Date: Tue, 25 Jan 2000 20:38:55 +0000
Subject: Compilation failure (Mdk6.1, EGCS/GCC) (resend)
Groups: php.version4 
Request: Send a blank email to php-version4+get-9398@lists.php.net to get a copy of this message
(I'm resending this as I got a message from ezmlm saying it faile) I'm running a production-level server using Mandrake 6.1 and I'm trying to get PHP4b3 running on it. I had it running before, but I changed from PGCC to the latest Mandrake7.0 EGCS/GCC (along with their apache1.3.9-17mdk) so I could run both PHP4b3 and PHP3.0.14. PHP3 ran fine and appears to be working A-OK, but PHP4 failed when making it: make all-recursive make[1]: Entering directory `/usr/src/php-4.0b3' Making all in libzend make[2]: Entering directory `/usr/src/php-4.0b3/libzend' make[2]: Leaving directory `/usr/src/php-4.0b3/libzend' Making all in ext make[2]: Entering directory `/usr/src/php-4.0b3/ext' Making all in apache make[3]: Entering directory `/usr/src/php-4.0b3/ext/apache' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext/apache' Making all in db make[3]: Entering directory `/usr/src/php-4.0b3/ext/db' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext/db' Making all in gd make[3]: Entering directory `/usr/src/php-4.0b3/ext/gd' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext/gd' Making all in mysql make[3]: Entering directory `/usr/src/php-4.0b3/ext/mysql' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext/mysql' Making all in pcre make[3]: Entering directory `/usr/src/php-4.0b3/ext/pcre' Making all in pcrelib make[4]: Entering directory `/usr/src/php-4.0b3/ext/pcre/pcrelib' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/usr/src/php-4.0b3/ext/pcre/pcrelib' make[4]: Entering directory `/usr/src/php-4.0b3/ext/pcre' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/usr/src/php-4.0b3/ext/pcre' make[3]: Leaving directory `/usr/src/php-4.0b3/ext/pcre' Making all in session make[3]: Entering directory `/usr/src/php-4.0b3/ext/session' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext/session' Making all in standard make[3]: Entering directory `/usr/src/php-4.0b3/ext/standard' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext/standard' Making all in xml make[3]: Entering directory `/usr/src/php-4.0b3/ext/xml' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext/xml' make[3]: Entering directory `/usr/src/php-4.0b3/ext' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/php-4.0b3/ext' make[2]: Leaving directory `/usr/src/php-4.0b3/ext' Making all in sapi make[2]: Entering directory `/usr/src/php-4.0b3/sapi' Making all in apache make[3]: Entering directory `/usr/src/php-4.0b3/sapi/apache' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/php-4.0b3/sapi/apache' make[3]: Entering directory `/usr/src/php-4.0b3/sapi' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/php-4.0b3/sapi' make[2]: Leaving directory `/usr/src/php-4.0b3/sapi' Making all in regex make[2]: Entering directory `/usr/src/php-4.0b3/regex' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/php-4.0b3/regex' make[2]: Entering directory `/usr/src/php-4.0b3' /bin/sh ./libtool --silent --mode=link gcc -g -O2 -g -O2 -o libphp4.la -rpath /usr/src/php-4.0b3/libs -export-symbols ./php.sym -avoid-version -R /usr/lib/mysql main.lo internal_functions.lo snprintf.lo php3_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo libzend/libzend.la sapi/apache/libphpsapi_apache.la regex/libregex.la ext/apache/libphpext_apache.la ext/db/libphpext_db.la ext/gd/libphpext_gd.la ext/mysql/libphpext_mysql.la ext/pcre/libphpext_pcre.la ext/session/libphpext_session.la ext/standard/libphpext_standard.la ext/xml/libphpext_xml.la -ldl -lgd -lm -lresolv -lnsl -lcrypt -lgdbm - L/usr/lib/mysql -lmysqlclient -lpam /usr/bin/ld:main.lo: file format not recognized; treating as a linker script /usr/bin/ld:main.lo:2 parse error collect2: ld returned 1 exit status make[2]: *** [phplib4.la] Error 1 make[2]: Leaving directory `/usr/src/php-4.0b3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php-4.0b3' make: *** [all-recursive-am] Error 2 Once again, any ideas? Could it be the new Apache RPMs messing it up, or something else? It compiles fine on my local system, which uses the older Mdk6.1 Apache RPMs. Damien Mc Kenna Keene State College student mckenna@crosswinds.net Married to Jen http://www.crosswinds.net/~mckenna ICQ:17066133

« previous php.version4 (#9398) next »