LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2004, 01:17 PM   #1
bdirks
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
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
 
Old 02-11-2004, 01:20 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Have you updated your include files without recompiling glibc?
 
Old 02-11-2004, 01:53 PM   #3
bdirks
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 10:20 PM
gcc question 0micron Linux - Software 4 02-19-2003 03:02 AM
question about Gcc and install chrisr99 Linux - Software 0 06-20-2002 08:04 AM
gcc question tyler_durden Programming 1 01-14-2002 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration