32 bit C compile on hoary fails
John Skaller
skaller at users.sourceforge.net
Sun Jul 3 05:11:49 CDT 2005
On Sun, 2005-07-03 at 19:56 +1000, John Skaller wrote:
> hello world in 32 bits fails .. seems my system
> is somehow misconfigured, anyone know how to fix this?
Arggg .. should have said I'm running and amd64
otherwise the data is meaningless. Sorry..
> 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/371b7ed5/attachment.pgp
More information about the ubuntu-devel
mailing list