Croostools cript fails to compile GCC in cygwin. What am i missing?

Ryan Churches ryan.churches@gmail.com
Tue May 17 22:04:00 GMT 2005


I ran the crosstools script in an attempt to build a crosscompiler for
gcc.  after some time it failed.

At some point (I fell asleep) I got a bunch of:

/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-3.3.4-glibc-2.3.3/build-glib
c/elf/librtld.os(.text+0xe660): In function `mmap':
: undefined reference to `errno'
/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-3.3.4-glibc-2.3.3/build-glib
c/elf/librtld.os(.text+0xe69c): In function `__munmap':
: undefined reference to `errno'
/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-3.3.4-glibc-2.3.3/build-glib
c/elf/librtld.os(.text+0xe6de): In function `mprotect':
: undefined reference to `errno'
/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-3.3.4-glibc-2.3.3/build-glib
c/elf/librtld.os(.text+0xe718): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-3.3.4-glibc-2.
3.3/build-glibc/elf/ld.so] Error 1
make[2]: Leaving directory `/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-
3.3.4-glibc-2.3.3/glibc-2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-
3.3.4-glibc-2.3.3/glibc-2.3.3'
make: *** [all] Error 2

i cant seem to figure out what im missing.  i fixed an error similar
to this in my last attempt at building a cross compiler by copying some
files from my gentoo box, but im not sure that was a good solution,
considering how that endded up.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list