[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems building cross-compile environment
From: |
jiyou quwei |
Subject: |
Problems building cross-compile environment |
Date: |
Thu, 11 Dec 2008 15:34:46 +0800 |
Hi,
I'm trying to build a GNU/Hurd system from sources.I'm using the
instructions from
http://www.gnu.org/software/hurd/hurd/building/cross-compiling.html
and http://nic-nac-project.de/~schwinge/tmp/cross-gnu. But I don't run
the scripts.I type the commands by my self.When I'm compiling
glibc-2.7,I get these errors:
rt/../sysdeps/unix/clock_settime.c:113: undefined reference to `CPUCLOCK_WHICH'
I comment these lines in clock_settime.c
if (CPUCLOCK_WHICH (clock_id) == CLOCK_PROCESS_CPUTIME_ID
|| CPUCLOCK_WHICH (clock_id) == CLOCK_THREAD_CPUTIME_ID)
retval = hp_timing_settime (clock_id, tp);
else
Then I can compile it.
But when I compile gcc-4.4 trunk (the second time),I get these errors
checking for shl_load... configure: error: Link tests are not allowed
after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
I try to find out why,in config.log I see these
gcc-build/./gcc/libgcc_s.so: undefined reference to `__multf3'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__fixunstfsi'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__subtf3'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__divtf3'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__copysigntf3'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__addtf3'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__lttf2'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__floatsitf'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__netf2'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__floatunsitf'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__eqtf2'
gcc-build/./gcc/libgcc_s.so: undefined reference to `__fabstf2'
I don't know what to do.Has anyone solved this?
Thanks
- Problems building cross-compile environment,
jiyou quwei <=