LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2006, 07:31 AM   #1
korneez
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Rep: Reputation: 0
building gcc 3.0 on gcc 4.0


Hi!
I am trying to build gcc 3.0 in fc4 with gcc 4.0.
After configure when i try to run the make command i get the following error message

make[1]: *** [cp/decl.o] Error 1
make[1]: Leaving directory `/root/applications/gcc-3.0-build/gcc'
make: *** [all-gcc] Error 2


can anybody guide me about the solution in easy steps...
Thanks in advance..
 
Old 09-06-2006, 10:41 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Please post more of the output.
The 5 or 10 lines preceding this would be very helpful.
 
Old 09-10-2006, 04:07 PM   #3
korneez
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Building gcc

make[1]: Leaving directory `/gcc/build/zlib'
make[1]: Entering directory `/gcc/build/fastjar'
make[1]: Leaving directory `/gcc/build/fastjar'
make[1]: Entering directory `/gcc/build/gcc'
(cd intl && make all)
make[2]: Entering directory `/gcc/build/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/gcc/build/gcc/intl'
(cd po && make all)
make[2]: Entering directory `/gcc/build/gcc/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/gcc/build/gcc/po'
gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Icp -I/gcc/gcc-3.0/gcc -I/gcc/gcc-3.0/gcc/cp -I/gcc/gcc-3.0/gcc/config -I/gcc/gcc-3.0/gcc/../include /gcc/gcc-3.0/gcc/cp/decl.c -o cp/decl.o
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘push_binding_level’:
/gcc/gcc-3.0/gcc/cp/decl.c:528: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘pop_binding_level’:
/gcc/gcc-3.0/gcc/cp/decl.c:584: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘suspend_binding_level’:
/gcc/gcc-3.0/gcc/cp/decl.c:599: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c:621: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘resume_binding_level’:
/gcc/gcc-3.0/gcc/cp/decl.c:634: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘pushdecl_with_scope’:
/gcc/gcc-3.0/gcc/cp/decl.c:4294: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c:4296: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘init_decl_processing’:
/gcc/gcc-3.0/gcc/cp/decl.c:6405: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘grokdeclarator’:
/gcc/gcc-3.0/gcc/cp/decl.c:9932: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c:9935: error: invalid lvalue in assignment
/gcc/gcc-3.0/gcc/cp/decl.c: In function ‘start_function’:
/gcc/gcc-3.0/gcc/cp/decl.c:13472: error: invalid lvalue in assignment
make[1]: *** [cp/decl.o] Error 1
make[1]: Leaving directory `/gcc/build/gcc'
make: *** [all-gcc] Error 2


These are the errors i get.I don't know why?
Thanks for help in advance...
 
  


Reply



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
building gcc slackware jakiel Linux - Newbie 5 01-30-2007 07:19 PM
Building gcc under FC4 miggles Linux - Software 3 08-08-2006 02:24 AM
error in Building gcc-4.0.2 newcomer4 Linux - Software 2 01-31-2006 02:44 AM
building gcc under cygwins Laplace Linux - General 0 11-12-2003 01:40 AM
Building GCC natesch Linux - Newbie 4 05-09-2002 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:25 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