autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C compiler cannot create executables


From: Ralf Wildenhues
Subject: Re: C compiler cannot create executables
Date: Tue, 18 Apr 2006 16:23:33 +0200
User-agent: Mutt/1.5.11

* Keith MARSHALL wrote on Tue, Apr 18, 2006 at 03:31:18PM CEST:
> Lee Duke wrote:
> >  configure:2062: checking for C compiler default output file name
> >  configure:2065: gcc    conftest.c :/usr/lib >&5
> 
> Hmm.  What is `:/usr/lib', and how has it gotten in there?  All I see
> for this test, with autoconf-2.59 is:
> 
>   configure:1599: checking for C compiler default output file name
>   configure:1602: gcc    conftest.c  >&5
>   configure:1605: $? = 0
> 
> which clearly passes;  it's that spurious `:/usr/lib' that's making
> it fail for you.

Indeed.  I bet an
  unset LIBS

before invoking configure will be an appropriate "fix".  If that's not
the case, it'd be helpful to see the output of
  sh -x ./configure

to find out what sets $LIBS.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]