gcc install question
Hi All,
I am trying to install the latest version of gcc (3.3.2). I have updated binutils and think all the prerequisites have been met. However when I am making it I get following set of errors before it dies. Does anyone have any ideas? Thanks, Bill /root/temp/gcc-3.3.2/boehm-gc/os_dep.c:20:30: linux/version.h: No such file or directory In file included from /usr/include/linux/types.h:5, from /usr/include/asm/signal.h:4, from /root/temp/gcc-3.3.2/boehm-gc/os_dep.c:27: /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory In file included from /root/temp/gcc-3.3.2/boehm-gc/os_dep.c:27: /usr/include/asm/signal.h:21: error: conflicting types for `sigset_t' /usr/include/signal.h:48: error: previous declaration of `sigset_t' /usr/include/asm/signal.h:137: error: parse error before '.' token /usr/include/asm/signal.h:141: error: parse error before '}' token /usr/include/asm/signal.h:143: error: redefinition of `struct sigaction' /usr/include/asm/signal.h:144: error: parse error before '.' token /usr/include/asm/signal.h:147: error: conflicting types for `sa_mask' /usr/include/asm/signal.h:138: error: previous declaration of `sa_mask' /usr/include/asm/signal.h:148: error: parse error before '}' token /usr/include/asm/signal.h:171: error: redefinition of `struct sigaltstack' /usr/include/asm/signal.h:183: error: conflicting types for `sigaddset' /usr/include/signal.h:209: error: previous declaration of `sigaddset' /usr/include/asm/signal.h:188: error: conflicting types for `sigdelset' /usr/include/signal.h:212: error: previous declaration of `sigdelset' /root/temp/gcc-3.3.2/boehm-gc/os_dep.c: In function `GC_dirty_init': /root/temp/gcc-3.3.2/boehm-gc/os_dep.c:2389: warning: passing arg 1 of `sigaddset' from incompatible pointer type make[3]: *** [os_dep.lo] Error 1 make[3]: Leaving directory `/root/temp/gcc-3.3.2.build/i686-pc-linux-gnu/boehm-gc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/temp/gcc-3.3.2.build/i686-pc-linux-gnu/boehm-gc' make[1]: *** [all-target-boehm-gc] Error 2 make[1]: Leaving directory `/root/temp/gcc-3.3.2.build' make: *** [bootstrap-lean] Error 2 |
Have you updated your include files without recompiling glibc?
|
I am pretty new to linux. All I have done is download the tarball, checked the prerequites. Here I realized I had an old version of binutils so I downloaded, made, and installed this. I then just made an objdir for gcc and ran configure and then make.
Is there something I'm suppose to edit/compile which I didn't? Thanks for your help. Bill |
All times are GMT -5. The time now is 01:07 AM. |