cannot compute suffix of object files
2 everyone!
I am cross_developing the embedded system: - target: ARM - workstation: Ubuntu11.4 I already install bootstrap compiler in directory $PREFIX/bin. and I also already add this directory to $PATH. when I build glibc using the following commands: CC=arm-linux-gcc ../glibc-2.15/configure --prefix="/usr" it appear the following error: ... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... arm-linux-gcc checking for suffix of object files... configure: error: in `/home/hung/control-project/build-tools/build-glibc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details pleased to help me solve this problem! thank in advance! |
As per the GCC FAQ, that's a pretty catch-all error. What you should try to do is look in config.log for the last reported error. It could be getting caused by a variety of issues - missing dependency headers, wrong version of a dependency, wrong ld, gcc, g++, etc.
|
I already have install GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
I looked file config.log and seen the following error: .... configure:3108: $? = 0 configure:3122: gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3122: $? = 1 .... -------------------------- I donīt know this error. Pleased to show me why and means to solve it. thanks in advance! |
That particular one isn't a problem. It is part of a test that checks for a non-existant header. In other words, getting a "fatal error" there is a test PASS.
http://lists.gnu.org/archive/html/au.../msg00009.html |
All times are GMT -5. The time now is 02:44 AM. |