32 bit C compile on hoary fails

John Skaller skaller at users.sourceforge.net
Sun Jul 3 04:56:20 CDT 2005


hello world in 32 bits fails .. seems my system 
is somehow misconfigured, anyone know how to fix this?

skaller at rosella:~$ gcc -m32 hello.c -o hello
/usr/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux/4.0.0/../../../lib c.so when
searching for -lc
/usr/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux/4.0.0/../../../lib c.a when
searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when
searching for - lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching
for -l c
/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

-- 
John Skaller <skaller at users dot sourceforge dot net>
Download Felix: http://felix.sf.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050703/b4ba6b6c/attachment.pgp


More information about the ubuntu-devel mailing list