LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-02-2003, 07:08 AM   #1
closet geek
Member
 
Registered: Apr 2003
Location: England
Posts: 146

Rep: Reputation: 15
modversions.h not there


hey, I have a wireless network, the drivers I need to install on linux to get the ma101 adapter working work in Mandrake 9.1 yet not in debian woody.

I have kernel-source installed in both (it needs to be there) yet in debian when I type make the driver comlpains of no "modversions.h" file in usr/locale/linux

anyone know why this file isn't their and/or how to rectify this?

cg
 
Old 06-02-2003, 07:36 AM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
don't know why it wants them in /usr/locale/linux, mine are in:

/usr/src/linux-2.4.20/include/linux/modversions.h
/usr/src/linux-2.4.20/include/config/modversions.h
/usr/include/linux/modversions.h

try
Code:
locate modversions.h
to find out where yours is then try symlinking it to /usr/locale/linux

Alex
 
Old 06-02-2003, 12:51 PM   #3
closet geek
Member
 
Registered: Apr 2003
Location: England
Posts: 146

Original Poster
Rep: Reputation: 15
thanks for the reply, I got a feeling it's something to do with apt-get.

when I apt-get install kernel-source it says it has installed it but all it does is place kernel-source.tar.gz into usr/src/

whereas installing kernel-source in mandrake untars the file & places modversions.h everywhere it's supposed to be (usr/include/linux/ I got it wrong in my initial post )

Manually untarring the kernel-source & copying modversions.h doesn't help, the drivers just complain of loads of missing files... is it apt's fault? or mine (much more likely!)

cg
 
Old 06-02-2003, 01:30 PM   #4
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
its possible that the drivers want the sources that go with the kernel that running, but im not sure

sorry i have little else to help with...

Alex
 
Old 06-02-2003, 02:00 PM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
i bet that script to compile the drivers can take an option
for where the kernel source is. even if i can't, edit the
script to where the source is.
open it and search and replace /usr/locale with /usr/src.
you could also make a symlink from /usr/src/linux to
/usr/locale/linux if you don't want to edit the script.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
modversions.h JanDeMan Linux - Newbie 3 06-14-2004 06:48 AM
modversions.h and my sanity! stcinifeic Mandriva 1 05-28-2004 05:12 PM
Kernel 2.6.0: what's up with modversions.h? jagmarz Linux - Software 4 02-08-2004 08:30 AM
modversions.h not found marlinux Linux - General 2 11-09-2003 01:01 AM
can't find modversions.h talonnb Linux - Newbie 2 08-03-2003 04:43 AM


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