LinuxQuestions.org
Visit Jeremy's Blog.
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 12-11-2012, 01:36 PM   #1
kirba
LQ Newbie
 
Registered: Nov 2012
Location: Brighton UK
Posts: 24

Rep: Reputation: Disabled
make: *** No rule to make target `all'. Stop.


Hi everyone.
I've been looking for a solution on this for ages now and I can't find anything, and I'm desparate for help...

Let me explain.
I imported a project from gitorious to work on for my uni. It's an openGL project and I am to make a game.
So the project was imported and converted to C/C++ properly. When I try to build it though, I get the following error message on my console window.

Code:
19:25:33 **** Incremental Build of configuration Build (GNU) for project ci224-lecture4 ****
make all 
make: *** No rule to make target `all'.  Stop.

19:25:33 Build Finished (took 74ms)
Also here's a picture of the problems tab.

* I understand that this question might be more related to eclipse but I've been trying to get help from anywhere really. So please if you know anything, ANYthing related is appreciated.

Thanks
G.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2012-12-11 19:26:56.jpg
Views:	28
Size:	250.4 KB
ID:	11396  
 
Old 12-11-2012, 05:26 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,353
Blog Entries: 33

Rep: Reputation: 215Reputation: 215Reputation: 215
Hi, (no configured Makefile) just a guess, try..
Code:
./configure
then

Code:
make all
Another possibility is that your environment is not set up to compile. (?)

Could be a file permission conflict.

Last edited by GlennsPref; 12-11-2012 at 05:30 PM. Reason: looks like homework
 
Old 12-11-2012, 05:38 PM   #3
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
If you look at the screenshot, it's trying to run './configure', but it fails because it can't find SDL - do you have that installed? (it'll be called something like sdl-devel, depending on which distro you're using)
 
2 members found this post helpful.
Old 12-11-2012, 07:57 PM   #4
kirba
LQ Newbie
 
Registered: Nov 2012
Location: Brighton UK
Posts: 24

Original Poster
Rep: Reputation: Disabled
Hi Snark.
Yes I believe it's installed. I am using GNOME.
Could you give me a command to check specificaly, or a command to download it ?
 
Old 12-12-2012, 01:02 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,353
Blog Entries: 33

Rep: Reputation: 215Reputation: 215Reputation: 215
I missed the .configure bit in the pic.. sorry my bad.
 
Old 12-12-2012, 10:10 AM   #6
kirba
LQ Newbie
 
Registered: Nov 2012
Location: Brighton UK
Posts: 24

Original Poster
Rep: Reputation: Disabled
Ok. I sorted it out!
The problem was that I was actually missing the sdl files."sudo yum install sdl*" did the job. I'm so happy that I can finally work!
I KNEW that it was right infront of me, and that it was a tiny thing that was causing the errors (reason for not finding anything online).
I was just looking for this someone to point it out and open my eyes!

Thanks so much, please let me know how to give you rep.
 
Old 12-12-2012, 10:15 AM   #7
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
GNOME isn't your distro - it's your window manager. From the fact you're using "yum", I'd guess that you're using Fedora or CentOS.

Glad you got it sorted!

Normally the best way is to click "Yes" next to the post you found helpful

Regards,
 
1 members found this post helpful.
Old 12-12-2012, 10:18 AM   #8
kirba
LQ Newbie
 
Registered: Nov 2012
Location: Brighton UK
Posts: 24

Original Poster
Rep: Reputation: Disabled
Yep fedora it is. Ok i thought that Yes button had nothing to do with rep.
 
  


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
make:***No rule to make target 'am3517_evm_defconfig'.stop ashwinj4u Linux - Embedded & Single-board computer 1 01-13-2011 08:25 AM
make: *** No rule to make target `install-headers'. Stop. NightHorse Linux - Newbie 9 06-21-2009 05:16 AM
make[1]: *** No rule to make target `modules'. Stop. tjyorkshire Linux - Hardware 26 03-19-2009 09:14 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 07:25 AM


All times are GMT -5. The time now is 07:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration