LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-07-2007, 05:20 PM   #1
RedAlert
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Failed to install gcc-2.95.3 in Fedora 3


Hi,
Fedora comes with gcc-3.4.2. For my project, I have to install the older version, gcc-2.95.3. The following occurs during the installation:

make[2]: Entering directory `/root/ftp/gcc-2.95.3/gcc/ch'
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -
I./../../include decl.c
decl.c: In function `start_struct':
decl.c:4451: error: argument "code" doesn't match prototype
ch-tree.h:736: error: prototype declaration
make[2]: *** [decl.o] Error 1
make[2]: Leaving directory `/root/ftp/gcc-2.95.3/gcc/ch'
make[1]: *** [cc1chill] Error 2
make[1]: Leaving directory `/root/ftp/gcc-2.95.3/gcc'
make: *** [all-gcc] Error 2

Can you guys help me to solve out this problem?

Thank you very much!
 
Old 01-07-2007, 05:49 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Install the compat libs;

yum install compat-gcc compat-libstdc++ compat-libgcc

FYI: it would be really a good idea to update your project the 2.9X version of gcc is to old to be useful in a modern environment. Even the kernel sources now suggests at least gcc 3.2
 
  


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
Fedora 4 install failed to detect ethernet, sound cards rhipps Fedora - Installation 1 11-03-2006 09:33 AM
How to install gcc 3.3.3 on fedora core 1 ravi_yaddula Linux - Software 2 10-10-2006 09:40 AM
Install GCC 4 on fedora 4 abhijeetudas Linux - Software 2 01-31-2006 09:18 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare Suse/Novell 3 11-29-2004 02:13 PM
gcc-3.3.3 install trouble for fedora core 1 linusbox Linux - Software 1 03-25-2004 04:42 PM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration