lilypond-devel
[Top][All Lists]
Advanced

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

Re: Further GUB problems


From: Jan Nieuwenhuizen
Subject: Re: Further GUB problems
Date: Fri, 03 Nov 2006 20:27:05 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

Erik Sandberg <address@hidden> 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 address@hidden'

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 <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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