Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure: error: cannot run C compiled programs.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
EvilGnome
n00b
n00b


Joined: 13 May 2005
Posts: 33

PostPosted: Tue Sep 19, 2006 4:23 am    Post subject: configure: error: cannot run C compiled programs. Reply with quote

Please help -- when emerging certain packages, i get the error
Code:
checking whether the C compiler works... configure: error: cannot run C compiled programs.


Here's my emerge info: http://www.seas.upenn.edu/~kluger/emergeinfo

Thank you in advance for your guidance.
_________________
[IMG]http://www.lastsig.com/user/EvilGnomeAndy/10.png[/IMG]
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 614
Location: Munich, Germany

PostPosted: Tue Sep 19, 2006 6:26 am    Post subject: Reply with quote

Use sane CFLAGS.

-fvisibility-inlines-hidden for C is a very bad idea. Not sure about the others.
_________________
Black Holes are created when God divides by zero!
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Tue Sep 19, 2006 6:28 am    Post subject: Reply with quote

Please post the last 50 or so lines from the configure.log, as instructed by the error messages you got.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
EvilGnome
n00b
n00b


Joined: 13 May 2005
Posts: 33

PostPosted: Tue Sep 19, 2006 6:56 am    Post subject: Reply with quote

Alright, I removed -fvisibility-inlines-hidden (hasn't helped, but I'll keep it out), and here's my config.log for wine: http://www.seas.upenn.edu/~kluger/config
_________________
[IMG]http://www.lastsig.com/user/EvilGnomeAndy/10.png[/IMG]
Back to top
View user's profile Send private message
EvilGnome
n00b
n00b


Joined: 13 May 2005
Posts: 33

PostPosted: Fri Sep 22, 2006 1:52 am    Post subject: Reply with quote

anyone?
_________________
[IMG]http://www.lastsig.com/user/EvilGnomeAndy/10.png[/IMG]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum