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

Notices


Reply
  Search this Thread
Old 08-05-2010, 07:03 PM   #1
willie83
LQ Newbie
 
Registered: Aug 2010
Distribution: openSUSE 11.3 running KDE
Posts: 2

Rep: Reputation: 0
Question How to load linux-kernel-devel


Hi all,
Complete n00b here. I am running openSUSE 11.3 and trying to load drivers for a network card. When I try to make install, I am getting this error:

Code:
Makefile:69: *** Linux kernel source not found in any of these locations:
Makefile:70:                
Makefile:71: *** Install the appropriate kernel development package, e.g.
Makefile:72: *** kernel-devel, for building kernel modules and try again.
How do I install the kernel-devel?

Thanks
 
Old 08-05-2010, 08:59 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I don't use SuSE, but i suspect that yast install kernel-devel or something similar should work. I also think that SuSE has a "Package Manager" or similarly named tool available from the GUI menu(s) which you can use to search for and install software. (See the "sticky" posts at the top of the main SUSE/Novell sub-forum page for repository location information. You may need to set up the repository search locations to get YAST to work properly.)

You might also want to look for the driver you're attempting to compile. There may be a binary version you can install and thereby avoid needing to do the compilation. (Unless, of course, you want to make changes in the driver.)
 
Old 08-06-2010, 04:29 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Install the "kernel-source" and "kernel-syms" packages.

sudo zypper install kernel-source kernel-syms

"zypper info -t pattern devel_kernel" shows these packages:
Code:
S | Name                           | Type    | Dependency
--+--------------------------------+---------+-----------
i | patchutils                     | package |           
i | quilt                          | package |           
i | gitk                           | package |           
  | kernel-docs                    | package |           
i | cscope                         | package |           
i | kernel-syms                    | package |           
i | kernel-source                  | package |           
i | diffstat                       | package |           
i | patterns-openSUSE-devel_kernel | package |           
i | indent                         | package |           
i | git-core                       | package |           
i | git-email                      | package |           
  | kernel-debug                   | package |
You probably don't need the packages with git in their name, and the quilt package, as you aren't a kernel developer submitting patches. You may need the linux-kernel-headers package as well.

Last edited by jschiwal; 08-06-2010 at 04:45 AM.
 
Old 08-06-2010, 12:42 PM   #4
willie83
LQ Newbie
 
Registered: Aug 2010
Distribution: openSUSE 11.3 running KDE
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks guys, that got me closer. Now I am getting this response:

Code:
Makefile:116: *** Linux kernel source not configured - missing autoconf.h.
What next?
 
Old 08-08-2010, 12:30 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I guess you need the kernel devel package. For my kernel, it is the kernel-desktop-devel package.
Code:
zypper se kernel | grep devel
i | devel_kernel                   | Linux Kernel Development                                        | pattern
i | kernel-debug-devel             | Development files necessary for building kernel modules         | package
i | kernel-default-devel           | Development files necessary for building kernel modules         | package
i | kernel-desktop-devel           | Development files necessary for building kernel modules         | package
  | kernel-pae-devel               | Development files necessary for building kernel modules         | package
  | kernel-rt-devel                | Development files necessary for building kernel modules         | package
  | kernel-rt_debug-devel          | Development files necessary for building kernel modules         | package
  | kernel-rt_trace-devel          | Development files necessary for building kernel modules         | package
  | kernel-trace-devel             | Development files necessary for building kernel modules         | package
  | kernel-vanilla-devel           | Development files necessary for building kernel modules         | package
i | kernel-xen-devel               | Development files necessary for building kernel modules         | package
i | patterns-openSUSE-devel_kernel | Meta package for pattern devel_kernel                           | package

Last edited by jschiwal; 08-08-2010 at 12:31 AM.
 
  


Reply



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
Difference between 'kernel sources' & 'kernel-devel' shea1roh Red Hat 3 01-08-2010 03:23 PM
what is linux-kernel-devel? mistertylersmith Linux - Kernel 4 04-12-2009 11:46 AM
Qt libraries not found during compile - but libqt3-devel and libqt4-devel installed! prasadbrg Mandriva 5 12-02-2008 05:58 AM
Can't install kernel-devel for older kernel cletcher Linux - Software 1 05-05-2008 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:48 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
Open Source Consulting | Domain Registration