View previous topic :: View next topic |
Author |
Message |
Darkstar274 n00b
Joined: 16 Feb 2004 Posts: 40 Location: Frozen Hell - Connecticut
|
Posted: Thu Dec 30, 2004 1:07 am Post subject: patch-2.5.9 when emerging system |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Dec 30, 2004 2:48 am Post subject: Re: patch-2.5.9 when emerging system |
|
|
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 |
|
|
Darkstar274 n00b
Joined: 16 Feb 2004 Posts: 40 Location: Frozen Hell - Connecticut
|
Posted: Thu Dec 30, 2004 3:00 am Post subject: Re: patch-2.5.9 when emerging system |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Thu Dec 30, 2004 3:06 am Post subject: Re: patch-2.5.9 when emerging system |
|
|
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 |
|
|
Darkstar274 n00b
Joined: 16 Feb 2004 Posts: 40 Location: Frozen Hell - Connecticut
|
Posted: Thu Dec 30, 2004 3:10 am Post subject: I'm an idiot!!! |
|
|
I'm sorry I wasted webspace and your time....CFLAGS was it.......I feel stupid now. I should have put -march=pentium4...*slaps head* _________________ Throw a rock at a penguin, it bounces off. Throw a rock at a window..... |
|
Back to top |
|
|
|