Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-13-2001, 03:10 PM   #1
LQ Newbie
Registered: Jul 2001
Posts: 7

Rep: Reputation: 0
make files

tried to run mae on a module for and adsl modem called sarlib.

when I run make I get reply

no rule to make target /usr/src/linux/.config

any ideas i used to know how to correct this but have forgotten.
Old 07-13-2001, 04:22 PM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Where are you running make from - what dir? It sounds like its expecting to find a kernel config file that ain't there to me.


Old 07-13-2001, 05:02 PM   #3
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Did your type it like this make /usr/src/linux/.config?
Then it's wrong.

You should only have the change to the directory containing the Makefile and then type make without arguments.
This makes the command make to look for a file called Makefile in the current working directory.
This is the file containing information on the actual making/compilation of the program.
Old 07-13-2001, 05:58 PM   #4
LQ Newbie
Registered: Jul 2001
Posts: 7

Original Poster
Rep: Reputation: 0
the make file contains the dir string.

I just ran 'make' and that is what happened.

if that is wrong idea's as to what it should point to?
Old 07-13-2001, 07:40 PM   #5
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
were there any configure scripts that you had to run before you tried make? i had this error when i was first learning how to compile packages, and didn't know to run the configure script first.

just making sure
Old 07-14-2001, 08:00 AM   #6
LQ Newbie
Registered: Jul 2001
Posts: 7

Original Poster
Rep: Reputation: 0
I Have jsut found that the MakeFile that was include had '.h'
missing off the end of the file I was looking for. it should have been /usr/...../config.h
they forgot the .h

but cheers for the help guys


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 files disruptive Programming 5 12-02-2005 10:33 PM
.tar files help won't make kwid21 Linux - Newbie 35 08-19-2005 03:56 AM
make rpm files linuxtesting2 Linux - General 3 04-14-2004 03:57 PM
Make files for vcdimager sbadelt Linux - Software 1 06-09-2003 07:27 AM
Make files rao Programming 3 07-18-2002 02:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:08 PM.

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