Re: C compiler cannot create executables

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

 



* 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux