On Mon, 2003-09-22 at 13:54, Hemmann, Volker Armin wrote:
> On Monday 22 September 2003 17:36, Michael W. Holdeman wrote:
<snip>
> > checking for C compiler default output... configure: error: C compiler
> > cannot create executables

> yes, check your CFLAGS, bet you made a mistake. This is the 'standard' error 
> message, when gcc hits an 'unknown' option.
> 
> Glück Auf
> Volker

Just for future reference, configure errors often show up in the
config.log file in the work directory for the package you are building.
For example, the gettex-0.11.5 work dir is in
/var/tmp/portage/gettext-0.11.5-r1/work/gettext-0.11.5 by default. This
directory wont be cleaned up if there is a build error, so you should
still have it. Take a look at the config.log file for the information
following the line: "configure:1817: checking for C compiler default
output," hopefully there will be a bit of information about the error.

Here's what the error will look like if one of your CFLAGS are wrong:

configure:1817: checking for C compiler default output
configure:1820: gcc -ftracer -mfpmath=sse -mpni -march=pentium4 -O2
-pipe -fomit-frame-pointer -fVERYWRONG   conftest.c  >&5
cc1: error: unrecognized option `-fVERYWRONG'
configure:1823: $? = 1
configure: failed program was:
#line 1801 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
configure:1846: error: C compiler cannot create executables

Good Luck,

Doug

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to