[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C compiler cannot create executables
From: |
Lee Duke |
Subject: |
Re: C compiler cannot create executables |
Date: |
Tue, 18 Apr 2006 10:30:47 -0400 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
Ralf,
Thank you very much. The "unset LIBS" seems to have fixed the problem.
Lee
Ralf Wildenhues wrote:
* 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
address@hidden
[2]http://lists.gnu.org/mailman/listinfo/autoconf
References
1. mailto:address@hidden
2. http://lists.gnu.org/mailman/listinfo/autoconf