LinuxQuestions.org
Review your favorite Linux distribution.
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 11-21-2009, 11:11 AM   #1
shaiva
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Rep: Reputation: 0
Question No rule to make target `powerpc-linux-gnu-gcc', needed by 'xxx.plugin.so'


Can u explain the problem.No rule to make target `powerpc-linux-gnu-gcc', needed by 'xxx.plugin.so'.
->Actually we have a project and it has many .so files.
->I introduced one new .so that is xxxplugin.so in makefile .
->When i compile (ofcourse we have powerpc).it gives the above error -->what it means am unable to figure out?can some one help me please?
 
Old 11-21-2009, 01:57 PM   #2
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,303

Rep: Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168
Please clarify a couple of things :

Which OS are you using ? ?
Are you cross compiling ?
Has the software / project got a name ?

If it is an "in house" project, somebody there must know,
why they wrote `powerpc-linux-gnu-gcc' ?

"powerpc-linux-gnu-gcc" is a cross compiler binary, used
to build for target powerpc on a host with a different OS.
A bug in a file / Makefile / configuration scripts ?
.....
 
Old 11-21-2009, 10:05 PM   #3
shaiva
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Original Poster
Rep: Reputation: 0
my replies below

Which OS are you using ?
->Linux
Are you cross compiling ?
->we use the same code for i86 as well as powerpc
Has the software / project got a name ?
->it has the name

we compile specifying the TARGET=powerpc.Since am introducing a file for the first time in the project am facing these issues.Am unable to figur eout the exact problem.Is it with Makefile or am unable to compile my file for powerpc.Please justhelp me in tracing the error.
 
Old 11-21-2009, 11:05 PM   #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,303

Rep: Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168
To cross compile, you will need a dedicated tool - chain.
A tool chain is minimum : binutils, a libc,
the powerpc-linux-gnu-gcc compiler, all specially compiled
to produce code / binaries, which can run on the powerpc
processor. Also meaning : You cannot test the result on
Linux.

The (only) recommended / maintained / updated tool is crosstool-NG
http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool
http://ymorin.is-a-geek.org/download...-1.5.1.tar.bz2
.. updated three weeks ago.

.....

It is advisable to tell which Linux, you are using, every time
a question is asked ... like Fedora 11, RedhatEL5, CentOS 5.4 ...
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
.....
 
Old 11-22-2009, 12:13 AM   #5
shaiva
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks .I will go through the steps you mentioned and will get back to you in case I face any problem.
 
  


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
No rule to make target DAC960.c , needed by ll_rw_blk.o devika.pict Linux - Software 1 03-01-2009 04:13 PM
No rule to make target DAC960.c , needed by ll_rw_blk.o devika.pict Linux - Newbie 1 02-28-2009 11:55 PM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 02:13 AM
No rule to make target `-lwrap', needed by `ftpd' seanog07 SUSE / openSUSE 2 07-14-2006 03:21 AM


All times are GMT -5. The time now is 10:41 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