Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-04-2012, 02:09 AM
|
#1
|
LQ Newbie
Registered: Mar 2012
Location: Hanoi,Vietnam
Posts: 23
Rep: 
|
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!
|
|
|
04-04-2012, 02:41 AM
|
#2
|
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168
|
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.
Last edited by jhwilliams; 04-04-2012 at 02:42 AM.
|
|
|
04-06-2012, 02:34 AM
|
#3
|
LQ Newbie
Registered: Mar 2012
Location: Hanoi,Vietnam
Posts: 23
Original Poster
Rep: 
|
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!
|
|
|
04-06-2012, 02:20 PM
|
#4
|
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168
|
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:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|