php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1047 shared make error: "unrecognized: -W1.."
Submitted: 1999-01-08 17:51 UTC Modified: 1999-02-07 12:53 UTC
From: hroi at get2net dot dk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.6 OS: Linux-pgcc-1.1.1 ld-2.9.1
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: hroi at get2net dot dk
New email:
PHP Version: OS:

 

 [1999-01-08 17:51 UTC] hroi at get2net dot dk
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-07 12:53 UTC] rasmus
Fixed in CVS - will be in 3.0.7
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 12:01:33 2024 UTC