PDA

View Full Version : I can't compile under FC3


koxo
20th November 2004, 09:02 AM
Hi!

When I try to compile I get these error messages:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.2/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.2/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status

Searching in Google I found if I compile with -m32 option it may works. But there are some sources that don't read CFLAGS variable. Has anybody this problem? Is there any solution?

P.S. Sorry for my English

imdeemvp
20th November 2004, 09:05 AM
I had similiar problem trying to install some apps and I found out that I need to install X software development tools go to >system settings >add/remove apps and select check on X software development tools to install it.

koxo
20th November 2004, 10:10 AM

I have those installed and I can't compile :(.

Oh, I forgot to say I tried to set LD_LIBRARY_PATH (I guess I didn't it rightly) to look for libraries in lib (not lib64) directories and I get the same error messages :(