Bug #1047: shared make error: "unrecognized: -W1.."
| From: | hroi at get2net dot dk | Date: | Fri, 08 Jan 1999 22:51:09 +0000 |
| Subject: | Bug #1047: shared make error: "unrecognized: -W1.." | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3411@lists.php.net to get a copy of this message | ||
From: hroi@get2net.dk
Operating system: Linux-pgcc-1.1.1 ld-2.9.1
PHP version: 3.0.6
PHP Bug Type: Compile Failure
Bug description: shared make error: "unrecognized: -W1.."
hroi@php-3.0.6$ ./configure --with-apache=../apache_1.3.3 --with-mysql=/usr/local/mysql
--with-imap=/home/hroi/sophia/imap-4.5.BETA --enable-memory-limit --enable-track-vars
--enable-safe-mode --with-exec-dir=/usr/local/share/php-bin --with-gd
--with-shared-apache=../apache_1.3.3
hroi@apache_1.3.3$ ./configure --prefix=/usr/local/httpd --enable-module=ssl
--activate-module=src/modules/perl/libperl.a --enable-module=perl --enable-shared=ssl
--activate-module=src/modules/php3/libphp3.a --enable-shared=php3
hroi@apache_1.3.3$ make
..[millions of lines]..
<=== src/modules/perl
===> src/modules/php3
rm -f libphp3.so
ld -Bshareable -o libphp3.so mod_php3.so-o libmodphp3-so.a -lgdbm
-Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient -lgd
/home/hroi/sophia/imap-4.5.BETA/lib/c-client.a -lttf -lm -ldl -lcrypt -lnsl -lresolv -lm
-lcrypt -rdynamic -L/usr/local/lib /usr/lib/perl5/i386-linux/5.00404/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/i386-linux/5.00404/CORE -lperl -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix
-lcrypt -ldl
ld: unrecognized option `-Wl,-rpath,/usr/local/mysql/lib/mysql'
make[4]: *** [libphp3.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/hroi/sophia/apache_1.3.3/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/hroi/sophia/apache_1.3.3'
make: *** [build] Error 2
I'm positive it's php3's fault. It didn't happen when i left out php3.
The same error occurs when using apxs: unrecognized option -W1..
I'm using redhat-5.2 with the pgcc-1.1.1 compiler
Regards,
Hroi Sigurdsson
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net