ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Disregard, fixed, Re: Problem building libxml++.spec


From: Stuart Hughes
Subject: Re: [Ltib] Disregard, fixed, Re: Problem building libxml++.spec
Date: Mon, 20 Jul 2009 14:08:08 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Mike,

It's something that has to be manually put into the spec file as required.

Regards, Stuart

Mike Goins wrote:
Does ltib automatically remove .la files under some circumstances?
Or is this something we just add to the spec file as discovered?



On Mon, Jul 20, 2009 at 4:33 AM, Stuart Hughes<address@hidden> wrote:
Hi Mike,

Thanks for tracking this down and letting the list know.  I've added this
clause to the spec file in Savannah CVS.

Regards, Stuart

Mike Goins wrote:
Found both problems.  Now I know why this is in some spec files:
find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" -exec rm -rf {}
\;


On Fri, Jul 17, 2009 at 2:21 PM, Mike Goins<address@hidden>
wrote:
I have been trying to build libxml++ (that I submitted, even) on
another machine but having trouble (yes, the same machine that had the
.rpmmacros issue).     libxml++.spec files are identical.   Happens
with both latest ltib and the Freescale version.   It seems that
libtool is picking up the native libxml2.so on the build machine.

Here is the call to libtool and subsequent g++ call that is successful:

/bin/sh ../libtool --tag=CXX --mode=link g++  -g -O2   -o
libxml++-1.0.la -rpath /usr/lib -version-info 1:4:0 attribute.lo
dtd.lo document.lo noncopyable.lo keepblanks.lo
parsers/libparsers.la exceptions/libexceptions.la nodes/libnodes.la
io/libio.la -L/home/mike/adtec/ltib-mpc837xerdb-20081113/rootfs/usr/lib
-lxml2
g++ -shared -nostdlib

/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/powerpc-linux-gnu/libc/usr/lib/crti.o

/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.2.3/crtbeginS.o
 .libs/attribute.o .libs/dtd.o .libs/document.o .libs/noncopyable.o
.libs/keepblanks.o -Wl,--whole-archive parsers/.libs/libparsers.a
exceptions/.libs/libexceptions.a nodes/.libs/libnodes.a
io/.libs/libio.a -Wl,--no-whole-archive
-L/home/mike/adtec/ltib-mpc837xerdb-20081113/rootfs/usr/lib -lxml2
-L/home/mike/adtec/ltib-mpc837xerdb-20081113/rootfs/usr/lib/

-L/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.2.3

-L/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.2.3/../../../../powerpc-linux-gnu/lib

-L/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/powerpc-linux-gnu/libc/lib

-L/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/powerpc-linux-gnu/libc/usr/lib
-lstdc++ -lm -lc -lgcc_s

/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.2.3/crtendS.o

/opt/freescale/usr/local/gcc-4.2.171-eglibc-2.5.171/powerpc-linux-gnu/powerpc-linux-gnu/libc/usr/lib/crtn.o
 -Wl,-soname -Wl,libxml++-1.0.so.1 -o .libs/libxml++-1.0.so.1.0.4



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]