Skip to main content

Thread: Error compiling gcc 4.4.1


hello,

trying compile gcc 4.4.1. downloaded core package , package c++ language(gcc-g++-4.4.1.tar.bz2). unpacked first core package , second 1 in same directory. ./configure command run cflags=-m64 parameter.

when issued make command @ point:

/usr/local/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching -lc
/usr/local/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching -lc
/usr/local/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching -lc
/usr/local/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching -lc
/usr/local/x86_64-unknown-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[5]: *** [libgcc_s.so] error 1
make[5]: leaving directory `/media/data/work/gcc-4.4.1/x86_64-unknown-linux-gnu/32/libgcc'
make[4]: *** [multi-do] error 1
make[4]: leaving directory `/media/data/work/gcc-4.4.1/x86_64-unknown-linux-gnu/libgcc'
make[3]: *** [all-multi] error 2
make[3]: leaving directory `/media/data/work/gcc-4.4.1/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] error 2
make[2]: leaving directory `/media/data/work/gcc-4.4.1'
make[1]: *** [stage1-bubble] error 2
make[1]: leaving directory `/media/data/work/gcc-4.4.1'
make: *** [all] error 2

running ubuntu 9.04 x64 , installed binutils gnu..

your libc incompatible
maybe version wrong or has been compiled 32 bit


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Error compiling gcc 4.4.1


Ubuntu

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support