LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-01-2008, 09:55 PM   #16
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Original Poster
Rep: Reputation: 30

Quote:
Originally Posted by John VV View Post
then when you cd to the folder with makefile in it and run " make " it should build or through an error
I do not understand that is what this post is abought the error it gave me.

no rule to make rhine_main.o needed by rhinefet.o
 
Old 09-02-2008, 12:59 AM   #17
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
oops my apologies somehow i mistook the error for just "no rule to make " then continued with my mistake in wrongly remembering it as this common error
" make: *** No targets specified and no makefile found. Stop."

---------------------
rhine_main.o needed by rhinefet.o
this is why i hate pre-made makefile files , they are generic and may not build on all *nix platforms .
ok back to the beginning you did run " make install " and that gave you the error
and looking at the age of the files
Code:
 2004-12-26 07:11 kcompat.h
2005-02-02 05:55 linux.txt
 2004-12-26 07:11 Makefile
  2292 2005-02-02 01:29 rhine_cfg.h
 2005-01-13 03:27 rhine.h
 2005-02-02 01:29 rhine_main.c
  2004-12-26 07:11 rhine_proc.c
 2004-12-26 07:11 rhine_proc.h
 10084 2004-12-26 07:11 rhine_wol.c
 2004-12-26 07:11 rhine_wol.h
gcc 4.1 may not build them ,if that is what is installed on your system .You may need to install gcc 3.4 ( should be called something like "compat-gcc-34-c++", or "compat-gcc-34"

I get an error about a include not being found "linux/config.h" and a bunch of gcc4.1 errors about noncompliance to the new strict rules in 4.1
 
Old 09-02-2008, 02:09 PM   #18
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by John VV View Post
oops my apologies somehow i mistook the error for just "no rule to make " then continued with my mistake in wrongly remembering it as this common error
" make: *** No targets specified and no makefile found. Stop."

---------------------
rhine_main.o needed by rhinefet.o
this is why i hate pre-made makefile files , they are generic and may not build on all *nix platforms .
ok back to the beginning you did run " make install " and that gave you the error
and looking at the age of the files
gcc 4.1 may not build them ,if that is what is installed on your system .You may need to install gcc 3.4 ( should be called something like "compat-gcc-34-c++", or "compat-gcc-34"

I get an error about a include not being found "linux/config.h" and a bunch of gcc4.1 errors about noncompliance to the new strict rules in 4.1
OK, as long as we are finally on the same page. Can I do a command like gcc info or smething. Is there someway I can pipe the error to a text file. I seem to remember hearing something like that. I want slack but maybe I should start with something that looks for my cards. Looking at my drivers in the system I have all the drivers there that I need but I get an error when I try to install them. I am right in thinking that since I did an install everything that all the source code is in my comp somewhere's? Can I build my drivers from that. Would that have everything camptable for my system.


Quote:
this is why i hate pre-made makefile files
Does that mean you write your own make files. I remember when the hardware makers was going from dos to windows. There were not drivers for my dos stuff "Mainly modems" I learned that most drivers needed only a few lines changed to make them work 'sortof" I remember this smart modem. It was the first modem with voice. I loved that thing I got it working in 95 but about once a month I would boot the machine and my hacked driver would be gone. I would have to redo it. Any way my point is maybe by changing a few things We can avoid rebuilding the whole file. I am going to turn on debug and run make again. But it would help if I could send it to a txt file.
 
Old 09-03-2008, 07:47 PM   #19
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Original Poster
Rep: Reputation: 30
Thumbs up

Ok, I have been reading the book I bought about make. I have not worked my way thruogh it all but I covered the section on prerquistes and one in that make is the kernal version has to be 2.6 which mine is not. I think if I use vpath directives an Include directive Then write an auto dependecy script I will be off to a better start. The header file and src file is in 8.1. I saw it but did not know what I was looking at. Not sure that I need the dependency script but if I do it right it won't hurt and I need the practice. A lot of the stuff should be the same like I should have four modes So for I have not found any reason to have it just for the 2.6 kernel but if so maybe the dependency script will solve any problems there. If anything jumps out at you that I am missing or mastaken on. let me know. Any advise or pointers will be nice. I am hoping if I run into something unexpected you will still be around to help me. Is there a forum that you know of just for make? Man that program is great. If I understand it right it can be setup to handle any programing language. Thanks for the help let me play with this and I will post the results.
 
  


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
get this error when runnign make ***** "no rule to make target 'config'. stop" procfs Linux - General 4 05-12-2013 11:25 AM
No rule to make bootstrap error - LFS LiveCD olcal Linux From Scratch 10 02-09-2012 04:04 AM
automake error: no rule to make target all jwstric2 Programming 2 10-18-2011 03:48 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 12:19 PM
Error: *** No rule to make target 'all'. Stop aa2bi Linux - Newbie 6 06-08-2004 01:55 PM


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