32 bit C compile on hoary fails
Matthias Klose
doko at ubuntu.com
Mon Jul 4 10:13:37 CDT 2005
Please install ia32-libs-dev
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?
>
> 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
>
More information about the ubuntu-devel
mailing list