LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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


Reply
  Search this Thread
Old 04-04-2012, 02:09 AM   #1
rocket42
LQ Newbie
 
Registered: Mar 2012
Location: Hanoi,Vietnam
Posts: 23

Rep: Reputation: Disabled
Red face 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!
 
Old 04-04-2012, 02:41 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
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.
 
Old 04-06-2012, 02:34 AM   #3
rocket42
LQ Newbie
 
Registered: Mar 2012
Location: Hanoi,Vietnam
Posts: 23

Original Poster
Rep: Reputation: Disabled
Exclamation

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!
 
Old 04-06-2012, 02:20 PM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why cannot compute suffix of object files? bhxs1809 Linux From Scratch 11 03-05-2012 12:04 PM
glibc in capter 6 -- error: cannot compute suffix of object files Yoyo302 Linux From Scratch 23 05-21-2010 08:28 AM
CLFS 5.9 - Glibc compile: suffix of object files, cannot compile Noddegamra Linux From Scratch 3 04-27-2009 12:49 AM
GCC error cannot compute suffix of object files orcaja Linux - Software 1 08-25-2008 12:55 PM
configure error : cannot compute suffix of object files status1 Linux From Scratch 1 10-14-2006 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration