LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-29-2004, 02:34 AM   #1
rapidmaniac
LQ Newbie
 
Registered: Apr 2004
Location: 127.0.0.1
Distribution: Debian/Mandrake
Posts: 7

Rep: Reputation: 0
Error - GCC


Hello everyone,

I'm quite new to linux therefore please bear with me. While compiling GCC i encountered an error. I cannot install glibc as my gcc is not up2date, hence my installing of the gcc.

Quote:
real:/gcc-3.3# ./configure
Configuring for a i686-pc-linux-gnulibc1 host.
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
(Any other directories should still work fine.)
Created "Makefile" in /gcc-3.3 using "mt-frag"
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Can anyone help me?
 
Old 04-29-2004, 02:52 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
What distribution do you use? You should be able to just grab the gcc and other development packages from the installation CD's or from the distribution site (FTP server or whatever). Oh, and libcrt1.o is usually part of the glibc development package.


Håkan
 
Old 04-29-2004, 07:09 AM   #3
rapidmaniac
LQ Newbie
 
Registered: Apr 2004
Location: 127.0.0.1
Distribution: Debian/Mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
Correct but, the gcc version is not updated and is not accepted by glibc. I use debian.
 
Old 04-29-2004, 07:22 AM   #4
rapidmaniac
LQ Newbie
 
Registered: Apr 2004
Location: 127.0.0.1
Distribution: Debian/Mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
Someone told me not to compile it from source/update version as it will break many programs. Guess i'm stuck here.
 
Old 04-29-2004, 07:26 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
What gcc version do you need? If you do an apt-cache search gcc-3 you should probably see that you have access to at least a 3.0.x release of gcc if you run Woody/stable. If you run Sarge/testing you will probably be able to grab 3.2 or 3.3.


Håkan
 
Old 04-29-2004, 10:53 AM   #6
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Knoppix,lenova yoga 3, Samsung s6 -android
Posts: 307

Rep: Reputation: 30
Maybe you can find the answer at this link:
http://search.rpmseek.com/search.html

Just type in gcc and Debs extention in the drop down box and it should give you what you are looking for.
 
Old 04-29-2004, 06:15 PM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
With all due respect, http://packages.debian.org does an excellent job for Debian packages.


Håkan
 
  


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
in gcc compiler error: parse error before string constsnt cynthia_thomas Linux - Networking 1 10-20-2005 01:29 AM
gcc compiler error maheshbmane Programming 3 09-02-2005 09:23 PM
Error ./Configure GCC 3.4.4 D1G1T477 Linux - General 1 06-21-2005 10:29 AM
Gcc compiler error Yoda Sabre Linux - Software 9 08-16-2004 03:53 PM
gcc 33 error rahul_jain_9684 Linux From Scratch 1 07-30-2003 11:15 AM

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

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