lilypond-devel
[Top][All Lists]
Advanced

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

Re: Further GUB problems


From: Erik Sandberg
Subject: Re: Further GUB problems
Date: Fri, 3 Nov 2006 15:46:29 +0100
User-agent: KMail/1.9.5

On Friday 03 November 2006 14:52, Jan Nieuwenhuizen wrote:
> Erik Sandberg <address@hidden> writes:
> > they return what they should return:
> >
> > $ target/linux-x86/system/usr/cross/bin/i686-linux-guile-config link
> > -L/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/system/usr/lib
> > -lguile -lgmp
>
> Grand.
>
> > but apparently this doesn't help
>
> Relevant config.log snippet please?

Hm, the problem does not seem to be guile-specific, exactly the same error 
happens for libfreetype too. Here's the error for guile:

configure:8527: result: yes
configure:8555: checking for libguile.h
configure:8563: result: yes
configure:8577: checking for scm_boot_guile in -lguile
configure:8612: 
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:
 
undefined reference to address@hidden'
collect2: ld returned 1 exit status
configure:8618: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.9.28"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "/usr/share"
| #define 
BUILD_PACKAGE_DATADIR 
"/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/build/lilypond-cvs-head/out/share/lilypond"
| #define LIBDIR "/usr/lib"
| #define 
BUILD_PACKAGE_LIBDIR 
"/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/build/lilypond-cvs-head/out/lib/lilypond"
| #define NDEBUG 1
| #define HAVE_STL_DATA_METHOD 1
| #define HAVE_LIBDL 1
| #define HAVE_DLOPEN 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FLEXLEXER_H 1
| #define HAVE_FLEXLEXER_YY_CURRENT_BUFFER 1
| #define LOCALEDIR "/usr/share/locale"
| #define HAVE_GETTEXT 1
| #define HAVE_LIBGUILE_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char scm_boot_guile ();
| int
| main ()
| {
| return scm_boot_guile ();
|   ;
|   return 0;
| }
configure:8652: result: no
configure:8667: checking for scm_boot_guile
configure:8723: 
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 
-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:
 
undefined reference to address@hidden'
collect2: ld returned 1 exit status
configure:8729: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.9.28"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "/usr/share"
| #define 
BUILD_PACKAGE_DATADIR 
"/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/build/lilypond-cvs-head/out/share/lilypond"
| #define LIBDIR "/usr/lib"
| #define 
BUILD_PACKAGE_LIBDIR 
"/media/hda2/home/erik/lily/gub/new-gub/target/linux-x86/build/lilypond-cvs-head/out/lib/lilypond"
| #define NDEBUG 1
| #define HAVE_STL_DATA_METHOD 1
| #define HAVE_LIBDL 1
| #define HAVE_DLOPEN 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FLEXLEXER_H 1
| #define HAVE_FLEXLEXER_YY_CURRENT_BUFFER 1
| #define LOCALEDIR "/usr/share/locale"
| #define HAVE_GETTEXT 1
| #define HAVE_LIBGUILE_H 1
| /* end confdefs.h.  */
| /* Define scm_boot_guile to an innocuous variant, in case <limits.h> 
declares scm_boot_guile.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define scm_boot_guile innocuous_scm_boot_guile
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char scm_boot_guile (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef scm_boot_guile
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char scm_boot_guile ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_scm_boot_guile || defined __stub___scm_boot_guile
| choke me
| #endif
| 
| int
| main ()
| {
| return scm_boot_guile ();
|   ;
|   return 0;
| }
configure:8763: result: no

-- 
Erik




reply via email to

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