C compiler error

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Fri Feb 08, 2008 1:50 am

C compiler error

Postby bfgxcreed » Fri Feb 08, 2008 2:02 am

I am getting this error a LOT in every program i try to ./configure, make, make test, and make install. It returns an error that says "C compiler cannot create exeutables". see pic below.


I am going to guess that this is a fairly simple fix, I am just too new to the linux scene to figure it out. I have tried to look up the problem on the net and even the book I own, but i cant find the solution. The log file is much too long to post here, if you need the file, or a snippet, that can be arranged.

Thanks in advance

Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: C compiler error

Postby Husse » Sat Feb 09, 2008 3:28 pm

It could help installing libc6-dev from Synaptic
Also possibly LDFLAGS should be empty. If not try " unset LDFLAGS " in a terminal - no guarantees given (the worst that could happen is that you have to reboot)
Don't fix it if it ain't broken, don't break it if you can't fix it

Return to “Newbie Questions”