[openib-general] configure: error: C compiler cannot create executables

Michael S. Tsirkin mst at mellanox.co.il
Tue Oct 24 02:00:58 PDT 2006


Quoting  vishal <vishal at endace.com>:
> Thread model: posix
> gcc version 4.1.0 (SUSE Linux)
> configure:2471: $? = 0
> configure:2473: gcc -V </dev/null >&5
> gcc: '-V' option must have argument
> configure:2476: $? = 1
> configure:2499: checking for C compiler default output file name
> configure:2502: gcc -m32 -g -O2 -I../libibverbs/include -m32 -g -O2
> -L/usr/lib conftest.c  >&5
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../libc.so when searching for -lc
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../libc.a when searching for -lc
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lc

Look at the compiler command line - it tries to create a 32 bit executable
and does not find the C library for that.
You should have 32 bit devel packages installed.

Vlad, is this in RN somewhere?

-- 
MST




More information about the general mailing list