LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2013, 09:24 AM   #1
salathia
LQ Newbie
 
Registered: Jun 2013
Posts: 7

Rep: Reputation: Disabled
Cannot compute suffix of object files: cannot compile


after installing the dependencies(mpfr, mpc, gmp, elf) of gcc. i was trying to go for gcc-4.5.1 with following commands as

../../Source/gcc-4.5.1/configure \
--build=$BUILDMACH \
--host=$BUILDMACH \
--target=$TARGETMACH \
--prefix=$INSTALLDIR \
--without-headers \
--enable-bootstrap \
--enable-languages=c \
--disable-threads \
--enable-__cxa_atexit \
--disable-libmudflap \
--with-gnu-ld \
--with-gnu-as \
--disable-libssp \
--disable-libgomp \
--disable-nls -\
-disable-shared \

It worked fine for me then

make all-gcc install-gcc

It also worked fine for me then
make all-target-libgcc install-target-libgcc

Here i am facing problem as
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make: *** [configure-target-libgcc] Error 1

and after checking in the config.log file i found some thing like this:
configure:5858: gcc -c -g -O2 -I/home/phytectoolchain/Source/gcc-4.5.1/gmp/include -I/home/phytectoolchain/Source/gcc-4.5.1/mpfr/include -I/home/phytectoolchain/Source/gcc-4.5.1/mpc/include conftest.c >&5
conftest.c:10:19: fatal error: ppl_c.h: No such file or directory
compilation terminated.
.
.
.
configure:6074: result: gcc -E
configure:6094: gcc -E conftest.c
configure:6094: $? = 0
configure:6108: gcc -E conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory

and many more. I also open my gmp folder and search for include directory but it was not there....
I am developing toolchain for ARM on 64-bit host and build machine
 
Old 06-21-2013, 10:10 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
It might help to tell us what distro you're using. In any event it looks like you're missing some dev packages. Intalling the libppl0.12-dev package or whatever your distro calls it should solve the "fatal error: ppl_c.h: No such file or directory" problem.
jdk
 
Old 06-22-2013, 01:01 AM   #3
salathia
LQ Newbie
 
Registered: Jun 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
i am using binutils-2.21.1a, linux-2.6.28.3, mpc-1.0.1, mpfr-3.0.1, gmp-4.3.2, libelf-0.8.13, gcc-4.5.1 so far and i have run the command that is given by you as
sudo apt-get install libppl0.12-dev
and i got an error as
E: Unable to locate package libppl0.12-dev
E: Couldn't find any package by regex 'libppl0.12-dev'
 
Old 06-22-2013, 02:08 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 3 .
Quote:
E: Couldn't find any package by regex 'libppl0.12-dev'
$ sudo apt-get update
$ apt-cache search libppl

$ sudo apt-get install <libppl??>
I.e. libppl0.12-dev is "Ubuntu 13.04 only".
The naming is different for different Ubuntu versions.

Please read post #2 : Which OS are you using ? ?
Finding your OS / version name : $ cat /etc/issue <Enter>
Or : $ cat /etc/*release* <Enter>

-
 
Old 06-22-2013, 02:31 AM   #5
salathia
LQ Newbie
 
Registered: Jun 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
I am using Ubuntu 12.04.2
and today i had installed these packages
libppl-c4 - Parma Polyhedra Library (C interface)
libppl-doc - Parma Polyhedra Library: Documentation
libppl0.11-dev - Parma Polyhedra Library (development)
libppl9 - Parma Polyhedra Library (runtime library)
libpwl-dev - Parma Watchdog Library (Watchdog timers - development)
libpwl5 - Parma Watchdog Library (Watchdog timers - runtime library)


Let me check the tool chain process again so that i confirm that either it is working or not...Please give me some time
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
checking for suffix of object files... configure: error: cannot compute suffix of obj megras Linux - Kernel 1 10-15-2012 08:21 AM
cannot compute suffix of object files rocket42 Linux - Embedded & Single-board computer 3 04-06-2012 03:20 PM
Why cannot compute suffix of object files? bhxs1809 Linux From Scratch 11 03-05-2012 01:04 PM
GCC error cannot compute suffix of object files orcaja Linux - Software 1 08-25-2008 01:55 PM
configure error : cannot compute suffix of object files status1 Linux From Scratch 1 10-14-2006 11:18 AM


All times are GMT -5. The time now is 01:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration