Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
patch-2.5.9 when emerging system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Darkstar274
n00b
n00b


Joined: 16 Feb 2004
Posts: 40
Location: Frozen Hell - Connecticut

PostPosted: Thu Dec 30, 2004 1:07 am    Post subject: patch-2.5.9 when emerging system Reply with quote

Problems emerging patch-2.5.9. I can't give you guys the exact error message because I can't transfer the text file over.

Here is the error:

configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.
Checking for i386-pc-linux-gnu-gcc...gcc
checking for C compiler default output...configure: error: C compiler cannot create executables. make: *** No targets specified and no makefile found. Stop

!!! ERROR: sys-devel/patch-2.5.9 failed.
Function src_compile, Line 38, Exit code 2
emake failed.

that's news to me? Any help would be greatly appreciated. Forgive the message if it's weird...I'm using links2 to post this...lol
_________________
Throw a rock at a penguin, it bounces off. Throw a rock at a window.....
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Dec 30, 2004 2:48 am    Post subject: Re: patch-2.5.9 when emerging system Reply with quote

Darkstar274 wrote:
checking for C compiler default output...configure: error: C compiler cannot create executables.

Can you post the CFLAGS= line from your /etc/make.conf ? (you may have a typo there)
Back to top
View user's profile Send private message
Darkstar274
n00b
n00b


Joined: 16 Feb 2004
Posts: 40
Location: Frozen Hell - Connecticut

PostPosted: Thu Dec 30, 2004 3:00 am    Post subject: Re: patch-2.5.9 when emerging system Reply with quote

cyrillic wrote:
Darkstar274 wrote:
checking for C compiler default output...configure: error: C compiler cannot create executables.

Can you post the CFLAGS= line from your /etc/make.conf ? (you may have a typo there)


my CFLAGS are: -march=i686-pc-linux-gnu -O2 -pipe -fomit-frame-pointer
_________________
Throw a rock at a penguin, it bounces off. Throw a rock at a window.....
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Thu Dec 30, 2004 3:06 am    Post subject: Re: patch-2.5.9 when emerging system Reply with quote

Darkstar274 wrote:
my CFLAGS are: -march=i686-pc-linux-gnu -O2 -pipe -fomit-frame-pointer

WHAT made you set -march=i686-pc-linux-gnu ??? :-)

Set it to your own processor architecture, such as pentium3, athlon-xp, etc.

And one last thing to note: The comments in make.conf are most definitely not for show only. Read them carefully and set the CFLAGS correctly. In the comments you will find a list of all valid -march= architectures.
Back to top
View user's profile Send private message
Darkstar274
n00b
n00b


Joined: 16 Feb 2004
Posts: 40
Location: Frozen Hell - Connecticut

PostPosted: Thu Dec 30, 2004 3:10 am    Post subject: I'm an idiot!!! Reply with quote

I'm sorry I wasted webspace and your time....CFLAGS was it.......I feel stupid now. I should have put -march=pentium4...*slaps head* :-D
_________________
Throw a rock at a penguin, it bounces off. Throw a rock at a window.....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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