[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libtool 2.1a] testsuite: 5 15 failed
From: |
Gerrit P. Haase |
Subject: |
Re: [libtool 2.1a] testsuite: 5 15 failed |
Date: |
Fri, 01 Jul 2005 21:44:48 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 |
Chris Oxenreider wrote:
I have made a copy of /uer/bin/libtool and placed it in the PHPBUILD
directory afer configuring PHP with:
../configure --without-mysql \
--enable-track-vars \
--with-config-file-path=/usr/local/lib \
--with-apxs=/usr/sbin/apxs \
--enable-shared \
--without-xml \
--without-sapi
Then I ran 'make'.... Below is the output where the errors have occured.
address@hidden LDFLAGS="-no-undefined" make
/bin/sh /home/c.g.oxenrider/working/phpstuff/php-5.0.4/libtool --silent
--preserve-dup-deps --mode=link gcc -g -O2 -rpath
/home/c.g.oxenrider/working/phpstuff/
php-5.0.4/libs -no-undefined -avoid-version -module ...
Yep, there it is ^^^^
[...object files...]
main/internal_functions.lo -lcrypt -lcrypt -lresolv -lm -lxml2 -lz
-liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt
-lxml2 -lz -liconv -lm -lcrypt -o libphp5.la
Creating library file: .libs/libphp5.dll.a
sapi/apache/.libs/mod_php5.o: In function `sapi_apache_ub_write':
/home/c.g.oxenrider/working/phpstuff/php-5.0.4/sapi/apache/mod_php5.c:102: undefined reference to `_ap_rwrite'
[...more undefined references...]
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
So, this is what I stated elsewhere, once you have the right libtool and
-no-undefined added the mess begins.
You're obviously missing one or more libraries on the link line.
Probably these are libapr, libapr-util and libhttpd.
Gerrit
--
=^..^=
- Re: [libtool 2.1a] testsuite: 5 15 failed,
Gerrit P. Haase <=