lilypond-devel
[Top][All Lists]
Advanced

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

[GUB] freebsd binutils


From: Graham Percival
Subject: [GUB] freebsd binutils
Date: Tue, 15 Sep 2009 14:24:05 +0100

Trying to build GUB fails on the freebsd binutils; I get:
    checking for C compiler default output file name... configure:
error: in `/main/src/gub/target/freebsd-x86/build/cross/binutils-2.19.1':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.

Looking at config.log, I see these suspicious lines:
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.3.3-5ubuntu4'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
configure:3266: $? = 0
configure:3268: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3271: $? = 1
configure:3294: checking for C compiler default output file name
configure:3297: gcc   -L/main/src/gub/target/freebsd-x86/root/usr/lib
conftest.c  >&5
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/crt1.o: In function `_start':
/build/buildd/glibc-2.9/csu/../sysdeps/i386/elf/start.S:109: undefined
reference to `__libc_csu_fini'
/build/buildd/glibc-2.9/csu/../sysdeps/i386/elf/start.S:110: undefined
reference to `__libc_csu_init'
/build/buildd/glibc-2.9/csu/../sysdeps/i386/elf/start.S:119: undefined
reference to `__libc_start_main'
/main/src/gub/target/freebsd-x86/root/usr/lib/libc.so: undefined
reference to `environ'
/main/src/gub/target/freebsd-x86/root/usr/lib/libc.so: undefined
reference to `__progname'
collect2: ld returned 1 exit status
configure:3300: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3338: error: in
`/main/src/gub/target/freebsd-x86/build/cross/binutils-2.19.1':
configure:3341: error: C compiler cannot create executables
See `config.log' for more details.



So libc wasn't built correctly for the freebsd target?  Any advice
gratefully received.  (this machine is ubuntu, sigh, because the
network card isn't supported in Lenny)
I'm off to bed now.  :)

Cheers,
- Graham




reply via email to

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