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 07-13-2001, 02:10 PM   #1
Darkstone
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, 03:22 PM   #2
jharris
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.

cheers

Jamie...
 
Old 07-13-2001, 04:02 PM   #3
ugge
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, 04:58 PM   #4
Darkstone
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, 06:40 PM   #5
isajera
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, 07:00 AM   #6
Darkstone
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.

i.ee it should have been /usr/...../config.h
they forgot the .h

but cheers for the help guys
 
  


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


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