LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-15-2003, 04:58 PM   #1
gazingdown
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
Can't find modversion.h


Any one know where these are located on a Red Hat 8.0 install?
I need to update my modem drivers and the compile needs to access my include files and it errors on modversion.h It finds one in the include directory but that modversion.h file just says the include files are in another location that I can't find. Tried a search from the Redhat menu for the file and it only finds one (as above).

Anyone help?

Thanks in advance
 
Old 04-15-2003, 06:19 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
kernel headers are in /usr/include/linux

I have a modversions.h there, but no modversion.h
 
Old 04-17-2003, 03:20 PM   #3
mongoose
LQ Newbie
 
Registered: Mar 2003
Location: milwaukee, wi
Distribution: RedHat 8.0
Posts: 22

Rep: Reputation: 15
$ updatedb &

$ locate modversion.h

[root@mongoose home]# locate modversion.h

$ locate modversions.h

[root@mongoose home]# locate modversions.h
/usr/include/linux/modversions.h
/usr/src/linux-2.4.18-27.8.0/include/linux/modversions.h


might have to go into the source file thats including the .h file and hardcode the path into it (not a good thing to do per se, but itll work)

so if i had a file like: E.h:
and it contained:

#include <modversions.h>

i would just change that line to say:

#include </usr/include/linux/modversions.h>


and then everything would compile nicely
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
Unable to install ethereal, I get the error: 'pkg-config --modversion glib-2.0' retur abefroman Linux - Security 5 07-09-2007 11:09 AM
what is modversion.h and why is it standing in my way to freedom? infantpenguin Linux - Newbie 0 01-29-2005 02:40 PM
Where is modversion.h in 2.6? Trying to cross compile a module. jackcomputero Linux - Hardware 0 12-01-2004 01:51 PM
modversion.h was not updated - linux 2.4.20 rainmann Linux - Newbie 1 05-28-2003 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:32 PM.

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