On 2010-06-29 11:25, Dag-Erling Smørgrav wrote:
> Anton Shterenlikht <me...@bristol.ac.uk> writes:
>> http://seis.bris.ac.uk/~mexas/ia64-lzma-problem.txt
> 
> This confirms my suspicion that ld is picking up the wrong liblzma:
> 
>> attempt to open /usr/local/lib/liblzma.a succeeded
> 
> but I still can't figure out why.  Can you do the following:

Because the ld command line includes /usr/local/lib twice, and *before*
/usr/obj/usr/src/tmp/usr/lib:

-L/usr/local/lib -L/usr/local/lib -L/usr/obj/usr/src/tmp/usr/lib 
-L/usr/obj/usr/src/tmp/usr/lib

The question is, where do those -L/usr/local/lib's come from. :)

Maybe because Anton is calling /usr/bin/cc instead of
/usr/obj/usr/src/tmp/usr/bin/cc ?

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to