On Thursday 12 November 2009 15:43:20 Garrett Cooper wrote:
> On Mon, Nov 9, 2009 at 9:39 AM, Subrata Modak wrote:
> > On Mon, 2009-11-09 at 07:49 -0500, Mike Frysinger wrote:
> >> On Monday 09 November 2009 06:17:09 Subrata Modak wrote:
> >> > I get the following failure with todayƛ CVS. ./configure has been done
> >> > before make:
> >> >
> >> > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
> >> > -I/ltp-intermediate-20091109/testcases/kernel/include
> >> > -I/ltp-intermediate-20091109/testcases/kernel/containers/mqns/../libcl
> >> >one -I../../../../include -I../../../../include
> >> >  -L/ltp-intermediate-20091109/testcases/kernel/containers/mqns/../libc
> >> >lone -L../../../../lib  mqns_01.c   -lltp -lclone -lpthread -lrt -o
> >> > mqns_01
> >> > /ltp-intermediate-20091109/testcases/kernel/containers/mqns/../libclon
> >> >e/li bclone.a(libclone.o): In function `do_clone_tests':
> >> >  /ltp-intermediate-20091109/testcases/kernel/containers/libclone/libcl
> >> >one.c
> >> >
> >> > :25: undefined reference to `ltp_clone_quick' collect2: ld returned 1
> >> > : exit status
> >>
> >> should be fixed now.  static lib linking order is picky.
> >
> > Thanks Mike. building fine now.
> 
> When you switch that back though, it fails to compile on Gentoo. Hence
> that's why I did `-lclone $(LDLIBS) -lpthread -lrt'.

huh ?  i test everything on gentoo, and this has been working for me.  if ltp 
requires pthread/rt, that should be fixed in common code.  the issue here is 
that libclone needs libltp symbols, and that's it.

> Some autoconf tests need to be created to detect broken linkers like
> this because it's really annoying doing this tug-of-war with the
> library ordering...

i dont think so ... start by posting the actual error messages you're seeing.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to