LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-20-2003, 07:15 PM   #1
kctang
LQ Newbie
 
Registered: Jun 2003
Location: vancouver
Distribution: don't know
Posts: 2

Rep: Reputation: 0
error while compiling modules under mandrake 9.1


I'm trying to compile a driver for my hpna nic under mandrake 9.1
it gives me error during compilation saying that i shouldn't include "version.h" in the makefile, and that i should cp "vmlinuz.version.h" to some directory and include it in the makefile instead of "version.h"

but I can't find "vmlinuz.version.h" anywhere in the system.

any idea what I have missed?
 
Old 06-20-2003, 10:43 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
first, do you have a dir named /lib/modules/<kernel version>/build?
insert the output of uname -r where it says <kernel version>. This dir should be a link to /usr/src/linux-2.x.xxx-xxmdk which should be the kernel source tree, if you installed the kernel sources. If not, you'll need to.

The message you saw is somewhat generic and isn't necessarily mandrake specific, that is why you can't find the file vmlinuz.version.h.

if you want to see the message you referred to again, take a look at the file /usr/include/linux/version.h. I would not recommend modifying the makefile, I *would* recommend going into the top level dir of your module source and typing make config, or ./configure before typing make all, open the makefile and look at the options it has available, sometimes a make help is useful. There should be a readme or install file provided with the source that outlines step by step commands to use in the proper order.
 
  


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
Error compiling libgnome-2.0.6 in Mandrake 10.2 Spooled Linux - Software 3 08-30-2005 02:23 AM
Error compiling PearPC under Mandrake 10.1 and FC3 mickyg Linux - Software 4 03-07-2005 05:27 PM
psybnc compiling error+mandrake maxt Linux - Software 2 02-21-2005 03:22 AM
Error compiling the original kernel in Mandrake 9 xbaez Mandriva 0 06-20-2004 05:46 PM
Error message while compiling kernel 2.4.19 on mandrake 9.2 ibro Mandriva 0 11-23-2003 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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