Hi

I was trying to install php4 on alpha machine running NetBSD 1.5.
i configure it with following options :
./configure --with-apxs=/usr/apache/bin/apxs --with-mysql=/usr/local
configure did not produce any errors, but when in the middle of compilation
i've got this error (btw, i searched internet and found out that this error
occure
on Linux/Alpha as well) :

gmake[1]: Leaving directory `/usr/src/php-4.0.4pl1/regex'
Making all in .
gmake[1]: Entering directory `/usr/src/php-4.0.4pl1'
/bin/sh /usr/src/php-4.0.4pl1/libtool --silent --mode=compile
gcc  -I. -I/usr/src/php-4.0.4pl1/ -I/usr/src/php-4.0.4pl1/main -I/usr/src/ph
p-4.0.4pl1 -I/usr/apache/include -I/usr/src/php-4.0.4pl1/Zend -I/usr/local/s
sl/include -I/usr/local/mysql/include/mysql -I/usr/src/php-4.0.4pl1/ext/xml/
expat/xmltok -I/usr/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/src/php-4
.0.4pl1/TSRM  -DNETBSD -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -D_LARG
EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -DXML_BYTE_ORDER=12 -
g -O2  -c stub.c
/bin/sh /usr/src/php-4.0.4pl1/libtool --silent --mode=link
gcc  -I. -I/usr/src/php-4.0.4pl1/ -I/usr/src/php-4.0.4pl1/main -I/usr/src/ph
p-4.0.4pl1 -I/usr/apache/include -I/usr/src/php-4.0.4pl1/Zend -I/usr/local/s
sl/include -I/usr/local/mysql/include/mysql -I/usr/src/php-4.0.4pl1/ext/xml/
expat/xmltok -I/usr/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/src/php-4
.0.4pl1/TSRM  -DNETBSD -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -D_LARG
EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -DXML_BYTE_ORDER=12 -
g -O2   -o libphp4.la -rpath
/usr/src/php-4.0.4pl1/libs -avoid-version -L/usr/local/ssl/lib -L/usr/local/
mysql/lib/mysql  -R /usr/local/ssl/lib -R /usr/local/mysql/lib/mysql stub.lo
Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la
ext/mysql/libmysql.la ext/openssl/libopenssl.la ext/pcre/libpcre.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la
TSRM/libtsrm.la -lmysqlclient -lcrypto -lssl -lresolv -lm -lcrypt -lz -lreso
lv

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
/usr/bin/ld: unrecognized option `-Wl,--whole-archive'
gmake[1]: *** [libphp4.la] Error 1
gmake[1]: Leaving directory `/usr/src/php-4.0.4pl1'
gmake: *** [all-recursive] Error 1


What should i do?
thank you in advance.




-- 
PHP Install 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]

Reply via email to