LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-03-2004, 10:20 PM   #1
tinyredpea
LQ Newbie
 
Registered: Oct 2004
Location: miami FL, USA
Distribution: suse 9.1 personal
Posts: 13

Rep: Reputation: 0
another newbie with Kernel compile problems


Hi, I just installed SUSE 9.1 and I am trying to install my linksys WPC54G network card. I found out that I need to use ndiswrapper but I need to compile my kernel before I can get ndiswrapper installed. I have kernel 2.6.5-7. The following is what the source I was using instructed me to do:
Installation
============

1. Compile and install
----------------------
As root run

> make install

This should compile both the kernel module and the userspace utilities.
when I type in this command I get this:
linux:/lib/modules/2.6.5-7.108-default # make install
bash: make: command not found

please help me I have tried everything that I know of(which isnt much) any help will be greatly appreciated
thanks
 
Old 10-03-2004, 10:52 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,118

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Have you managed to configure the kernel with make config (or an equivalent) yet (i.e. has any make command worked for you)? If not, make sure that you have make installed -- if you have SuSE 9.1 personal the software development tools are not included, but there are many threads here detailing how to install them. If make worked before but has stopped working, make sure your PATH environment variable contains the directory make is in.
 
Old 10-04-2004, 12:13 PM   #3
nikkkko
Member
 
Registered: Sep 2004
Location: Arles, France
Posts: 74

Rep: Reputation: 15
If you have 9.1 personal you'll need:

gcc
make
binutils
glibc-devel

Don't make life even more difficult for yourself, (like I did), by downloading the source for gcc and trying to compile it yourself - this is hard because gcc is itself the compiler. Chicken and egg. Instead, go to the suse ftp site here and download the appropriate rpm(s) (pre-packaged software) which you install using SuSE's YAST tool. Open the rpm(s) in Konquerer and simply click on 'Yast Install'.
 
Old 10-05-2004, 07:02 PM   #4
tinyredpea
LQ Newbie
 
Registered: Oct 2004
Location: miami FL, USA
Distribution: suse 9.1 personal
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, thanks, I installed all the necessary tools, but now i have another problem when I try any command i get this:
linux:/lib/modules/2.6.5-7.108-default # make install
make: *** No rule to make target `install'. Stop.
linux:/lib/modules/2.6.5-7.108-default # make configure
make: *** No rule to make target `configure'. Stop.
Please help
thanks
 
Old 10-05-2004, 07:08 PM   #5
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
sounds like you are running those make rules in the wrong directory.

The /lib/modules/version dir is where the compiled modules will be.

If you ar3e compiling the kernel you shud be in /usr/src/linux. I may be way off, since I didnt thoroughly read the thread, but I don't recall a Makefile being in the module\s directory.
 
Old 10-05-2004, 07:45 PM   #6
tinyredpea
LQ Newbie
 
Registered: Oct 2004
Location: miami FL, USA
Distribution: suse 9.1 personal
Posts: 13

Original Poster
Rep: Reputation: 0
nope the only file i found in : usr/src was pakages thers no linux in there
 
Old 10-05-2004, 08:32 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
You are going to have to start from the beginning http://64.233.179.104/search?q=cache...suse+9.1&hl=en one of the first things you do is ln -s <new kernel-source> linux
 
Old 10-10-2004, 06:20 PM   #8
tinyredpea
LQ Newbie
 
Registered: Oct 2004
Location: miami FL, USA
Distribution: suse 9.1 personal
Posts: 13

Original Poster
Rep: Reputation: 0
Ok thanks ill give it a try
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compile kernel help for newbie gazza Linux - Software 0 07-07-2004 06:37 PM
Newbie kernel compile error Reefcrazed Linux - Newbie 3 05-07-2004 07:35 AM
Newbie kernel compile problem seanro Slackware 5 02-06-2004 11:04 AM
newbie wants to compile new kernel taoweijia Linux - Newbie 2 01-30-2004 12:37 PM
Newbie Kernel re-compile disaster Neorio Linux - General 7 10-23-2003 02:52 AM


All times are GMT -5. The time now is 09:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration