This looks like a 1.3.x error message. Upgrade to 1.4.2 and try again? Cheers, Gary. On Mon, Sep 10, 2001 at 01:14:45PM +0100, Larry Cotton wrote: > > I wrote on Friday : > > **************************************************************************** > **** > Hi > > I'm completely new to libtool, Autoconf, Automake et., but I have recently > down load and biilt php whose build system uses these tools. > > I have also built an php extenstion which I wish to build in to php. > > My problem is that my extension depends on external libraries which have not > been built using libtool. When I try to link them into the php exe i get an > error message something like : > cannot build libtool library from non-libtool objects: > ext/phpwebinterface/libprodssinterface.a > > So I built my external libraries using libtool and copied them accross to my > extension directory with commands similar to : > libtool: link: libtool --mode=compile g++ -c $INCLUDES file.cxx > > libtool --mode=link g++ -static -o libwebprodssinterface.la *.lo > ranlib .libs/libwebprodssinterface.a > chmod 644 .libs/libwebprodssinterface.a > cp .libs/libwebprodssinterface.la $PHP_EXT/phpwebinterface/.libs > cp .libs/libwebprodssinterface.a $PHP_EXT/phpwebinterface/.libs > > but I still get the same error : > libtool: link: 'ext/phpwebinterface/libprodssinterface.la' is not a valid > libtool archive > > or if I link to the library directly : > cannot build libtool library from non-libtool objects: > ext/phpwebinterface/libprodssinterface.a > > Could anyone give me an idea how I can either get my external libraries to > be conpatible or modify the php libtool build stuff to link to standard > object files ? > > Cheers > Larry > > **************************************************************************** > **** > > Anyone know anything about this ? > > Cheers > Larry > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Imerge Limited Tel :- +44 (0)1954 783600 > Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601 > Saxon Way Web :- http://www.imerge.co.uk > Bar Hill > Cambridge > CB3 8SL > United Kingdom > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > _______________________________________________ > Libtool mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/libtool -- ())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org) ( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____ / )= GNU Hacker http://www.gnu.org/software/libtool \' `& `(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/ _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool