[geeks] C compiler won't create executables ..WTF?
Mike Nicewonger
twmaster at twmaster.com
Thu May 23 16:34:57 CDT 2002
On Thursday 23 May 2002 05:33 pm, you wrote:
> Mike Nicewonger wrote:
> > gcc 3.1.1 Linux (RH7.1)
> >
> > checking whether the C compiler (gcc ) works... no
> > configure: error: installation or configuration problem: C compiler
> > cannot create executables.
>
> What does config[ure].log tell you? It may list missing libraries or
> something.
I installed gcc-2.95.4 instead of 3.1.1
contents of log:
int main() {
strerror()
; return 0; }
configure:1216: checking for gcc
configure:1329: checking whether the C compiler (gcc ) works
configure:1345: gcc -o conftest conftest.c 1>&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1340 "configure"
#include "confdefs.h"
main(){return(0);}
Mike N
More information about the geeks
mailing list