Erik Sandberg <[EMAIL PROTECTED]> writes:
> Hm, the problem does not seem to be guile-specific, exactly the same error
> happens for libfreetype too. Here's the error for guile:
There are two strange things here
> i686-linux-gcc
> -I/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/build/lilypond-cvs-head
> -o
> conftest -O2 -finline-functions -g -pipe
> -I/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/system/usr/include
> -L/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/system/usr/lib
> -L/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/system/usr/bin
> -L/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/system/usr/lib/w32api
> -Wl,--as-needed -Wl,--rpath,'$${ORIGIN}/../lib/'
> conftest.c -lguile
> -L/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/system/usr/lib
> -lguile -lgmp -ldl
>>&5
> conftest.c:8:1: warning: "PACKAGE_NAME" redefined
> conftest.c:2:1: warning: this is the location of the previous definition
> /media/hda2/home/erik/lily/gub/new-gub/target/local/system/usr//lib/libgmp.so.3:
>
-lguile should not link to local/system/usr/lib/libgmp, but rather to
linux-x86/system/usr/lib. From the command line above, I do not
understand why the wrong libgmp is used. Do you have a libgmp and
libgmp.la in linux-x86? Does the .la look OK?
> undefined reference to [EMAIL PROTECTED]'
It seems that libgmp.so in local was linked against another libc than
the libc we're linking against now. Can you check the libc.* files
in local/system/usr/lib and linux-64/system/usr/lib, esp. look for any
symlinks pointing to /.
As Han-Wen says, can you try a realclean build?
Jan.
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel