编译boot gcc出现的问题
时间:2007-05-17 来源:loughsky
../../gcc-3.4.3/gcc/config/i386/linux.h:217:20: signal.h: No such file or directory
../../gcc-3.4.3/gcc/config/i386/linux.h:218:26: sys/ucontext.h: No such file or directory
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/home/e11963/szw/intel/control-project/daq-module/build-tools/build-boot-gcc/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home/e11963/szw/intel/control-project/daq-module/build-tools/build-boot-gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/e11963/szw/intel/control-project/daq-module/build-tools/build-boot-gcc/gcc'
make: *** [bootstrap] Error 2 解决: Gerhard Jaeger <[email protected]>
SYSGO AG Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de --- gcc-3.4.3/gcc/config/rs6000/linux.h.orig 2004-10-03 05:43:56.000000000 +0200
+++ gcc-3.4.3/gcc/config/rs6000/linux.h 2005-02-09 14:36:33.000000000 +0100
@@ -104,6 +104,8 @@
/* Do code reading to identify a signal frame, and set the frame
state data appropriately. See unwind-dw2.c for the structs. */ +#ifndef inhibit_libc
+
#ifdef IN_LIBGCC2
#include <signal.h> @@ -187,3 +189,5 @@ enum { SIGNAL_FRAMESIZE = 64 };
(FS)->retaddr_column = CR0_REGNO; \
goto SUCCESS; \
} while (0)
+
+#endif /* inhibit_libc */
../../gcc-3.4.3/gcc/config/i386/linux.h:218:26: sys/ucontext.h: No such file or directory
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/home/e11963/szw/intel/control-project/daq-module/build-tools/build-boot-gcc/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home/e11963/szw/intel/control-project/daq-module/build-tools/build-boot-gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/e11963/szw/intel/control-project/daq-module/build-tools/build-boot-gcc/gcc'
make: *** [bootstrap] Error 2 解决: Gerhard Jaeger <[email protected]>
SYSGO AG Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de --- gcc-3.4.3/gcc/config/rs6000/linux.h.orig 2004-10-03 05:43:56.000000000 +0200
+++ gcc-3.4.3/gcc/config/rs6000/linux.h 2005-02-09 14:36:33.000000000 +0100
@@ -104,6 +104,8 @@
/* Do code reading to identify a signal frame, and set the frame
state data appropriately. See unwind-dw2.c for the structs. */ +#ifndef inhibit_libc
+
#ifdef IN_LIBGCC2
#include <signal.h> @@ -187,3 +189,5 @@ enum { SIGNAL_FRAMESIZE = 64 };
(FS)->retaddr_column = CR0_REGNO; \
goto SUCCESS; \
} while (0)
+
+#endif /* inhibit_libc */
相关阅读 更多 +