Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-06-2010, 12:08 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 1
Rep:
|
I am getting an error as gcc: c-parse.c: No such file or directory
I need clarification to the following error message of gcc in Fedora 13
gcc: c-parse.c: No such file or directory
Which gcc version has this file and does gcc-3.4 support the same. What gcc version should I use and how to upgrade the same in Fedora 13
|
|
|
|
06-06-2010, 12:24 AM
|
#2
|
|
Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,861
Rep: 
|
Uh - this error has nothing to do with "upgrades".
You need to find "c-parse.c".
And then tell gcc where to find it 
|
|
|
|
06-06-2010, 01:55 PM
|
#4
|
|
Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,861
Rep: 
|
knudfl -
Good call.
But we want to make sure the OP doesn't get confused:
1. The problem is that "gcc" can't find the source file "c-parse.c".
2. I thought maybe it was in another directory.
You suggested that maybe it wasn't even created yet.
Either could be true.
3. But the OP thought that it was somehow part of "gcc", and that upgrading gcc might solve the problem.
Pradheep2 -
You CANNOT solve the problem by "upgrading" gcc.
You must FIND (or create!) "c-parse.c".
|
|
|
|
06-07-2010, 11:13 AM
|
#5
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,626
|
Examples , "c-parse.c" : The gcc source code ..
1) gcc-3.3.3/gcc/c-parse.c c-parse.in c-parse.y
2) gcc-3.4.6 : the same as 1).
3) gcc-4.2.0/gcc/c-parser.c
Are you trying to compile an old gcc ?
No bison or yacc ? Or using a wrong version of gcc,
may be. The first example gcc-3.3.3 requires e.g.
gcc-3.3.6 to compile. No go with gcc-3.4.6 .
And gcc-3.2.x : Not possible to compile on a modern
Linux. AFAIK.
..
# yum install gcc-c++ compat-gcc-34-c++
.. will provide the gcc-4.4.4 and gcc-3.4.6 compilers in Fedora 13.
All versions can be installed at the same time !
..
Last edited by knudfl; 06-07-2010 at 02:53 PM.
|
|
|
|
06-12-2010, 05:13 AM
|
#6
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,626
|
.. And furthermore, packages with the most other compat gcc / g++
are available too for Fedora 13 ...
These are, what I have installed in Fedora 10 - 11 - 12 - 13 :
gcc33 / gcc33-c++ : version 3.3.3
and gcc41 / gcc41-c++ : 4.1.x ( Both versions are Suse compat )
gcc3.3 / gcc3.3-c++ : 3.3.6 ( PCLinuxOS compat )
So there is usually no need for compiling a new gcc.
..
Last edited by knudfl; 06-15-2010 at 02:54 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:29 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|