LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-08-2004, 04:35 PM   #1
dancin
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
vmlinuz.version.h problem compiling D-Link PCI ethernet adapter driver


G'day,

I am trying to install a D-Link PCI ethernet adapter onto my Mandrake 9.1 system running kernel version 2.4.21.

The cd comes with linux drivers that are compatible with kernel version 2.2.xx and 2.4.xx and the instructions say to compile the driver with a comand like:

gcc -DMODULE -Wall -Wstrict-prototypes - 06 -c dfe528.c

When I try to run this comile I get some errors saying (among other things):

You should not include /usr/include/{linux,asm}/ header files directly for compilation of kernel modules.

It then advises to:
Copy /boot/vmlinuz.version.h to
/lib/modules/'uname -r'/build/include/linux/version.h
then change the compiler options to include the revised file.

This is where I get the problem. During the copy it says:
cp: cannot stat '/boot/vmlinuz.version.h' : No such file or directory

I'm hoping that this is something obvious that i have missed, is someone can point it out to me I would be much obliged.

Thanks,
 
Old 08-08-2004, 08:40 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
The file is actually /usr/src/linux/include/linux/version.h in my system
 
Old 08-09-2004, 02:47 PM   #3
dancin
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Cedrik,

You are correct, my file was in /usr/src/linux-2.4.21-0.13mdk/include/linux/version.h

But it turns out that I don't need to compile this driver, there is a compatible driver already compiled with the kernel. The driver that worked for my dlink card was 8139too.

Cheers,
 
  


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
D-link DWL-510 PCI Wireless Adapter superdude_876 Linux - Hardware 3 10-27-2005 01:26 AM
D-Link DWL-520+ Wireless PCI adapter timmytytim Linux - Hardware 1 12-26-2004 12:58 PM
SATA drive/PCI adapter link keslinpd Linux - Hardware 0 09-22-2004 02:42 PM
Intel 21041-Based PCI Ethernet Adapter Temujin_12 Linux - Hardware 5 08-05-2004 02:31 PM
D-Link Airplus Pci Adapter and Suse 9.0 joshsterm Linux - Wireless Networking 1 02-14-2004 03:12 AM


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

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