LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 05-11-2007, 11:45 PM   #1
bman22
Member
 
Registered: May 2007
Distribution: OpenSuSE 11.0, OpenSuSE 11.1
Posts: 32

Rep: Reputation: 15
Make command error in openSuse 10.2


I am trying to compile the MADWIFI drivers in openSusE and it is telling me that /lib/modules/2.6.18.2-34-default/build/.config is missing and then stops. It then tells me to edit the makefile.inc and put in the correct destination of my kernels .config file. Does anyone know where this is in kernel ver. 2.6.18.2-34?

Any help would be greatly appriciated as i am attempting to set up a server without an internet connection right now!
 
Old 05-12-2007, 12:13 AM   #2
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 30
Hi,

First, in the Yast package manager, make certain that your kernel headers are installed.

Go to the /boot directory. There'll be a file called config-2.6.18.2-34 or something like it. As root, copy that to your kernel source directory as .config (usually '/usr/src/linux', it's the same as '/lib/modules/2.6.18.2-34-default/build/').

Then, also as root, go to the source directory and prepare the source for the new module. Use the command "make modules_prepare".

Now go back to your madwifi install. If there's another error, let us know.

Sam

Last edited by samstar; 05-12-2007 at 12:15 AM.
 
Old 07-03-2007, 08:06 PM   #3
rosco99
LQ Newbie
 
Registered: Sep 2006
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by samstar
Hi,

First, in the Yast package manager, make certain that your kernel headers are installed.

Go to the /boot directory. There'll be a file called config-2.6.18.2-34 or something like it. As root, copy that to your kernel source directory as .config (usually '/usr/src/linux', it's the same as '/lib/modules/2.6.18.2-34-default/build/').

Then, also as root, go to the source directory and prepare the source for the new module. Use the command "make modules_prepare".

Now go back to your madwifi install. If there's another error, let us know.

Sam
Do you mean "copy file" as config-2.6.18.2-34.config?
Is that what you mean by Make certain your kernel headers are installed?
 
Old 07-04-2007, 02:57 PM   #4
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 30
Hi there,

To clarify, the config file I told you to copy is not kernel headers. The file represents the default configuration of your distribution's kernel. Don't worry about copying it yet unless you get further errors.

Also, to clarify further, the directory you mentioned (/lib/modules/2.6.18.2-34-default/build/) is a link to your kernel source files, located in /usr/src/linux.

At the minimum, you should have the 'kernel-headers' package installed if you want to compile drivers (modules) for your system. If that's not enough, you can also install the package 'kernel-sources'. Then try compiling your madwifi modules again.

If it still gives an error, and asks for your '.config' file, just copy your '/boot/config-2.6.18.2-34.config' to '/usr/src/linux/.config'.

Tell us if you still have problems,
Sam
 
  


Reply

Tags
error, make, suse


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
OpenSuSE: Compiling arcmsr Module for Areca Make Error makuro Linux - Hardware 0 12-08-2006 03:32 AM
error in make check command of glibc(6.11) sharmashikha Linux From Scratch 2 08-16-2006 02:27 AM
error during make command while trying to re build kernel venkatesh111 Linux - Networking 1 04-16-2006 01:37 PM
error during make modules command venkatesh111 Programming 1 03-23-2006 04:03 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM


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