Help - Search - Members - Calendar
Full Version: Incorrect Version Reporting
Linuxhelp > Support > Technical Support
ukishun
OKay, I dunno if that title seemed appropriate since I'm a noob at Linux. Anyway, I use RedHat Linux 7.3 (yes, I know, its slightly old).

Where do I find my 'version.h' which contains the kernel version? I found one at 'user/include/linux' giving me the version '2.4.9-9'.

However, using the console, if you type 'uname -r', you'll get '2.4.18-3'. Now this posed some problems because as I was installing a sound card driver (after running 'configure'), the 'make' command wouldn't work because it was trying to install in 'user/lib/...' (something, something...I dun really remember). The configure path was '2.4.9-9' but the make path was '2.4.18-3'.

I dun really understand all of this, and I hope any of you can help me out.

Thanks.
Joey
what does the following command spit out:

rpm -qa |grep kernel
ukishun
QUOTE (joey @ May 10 2003, 07:13 AM)
what does the following command spit out:

rpm -qa |grep kernel

Okay, will check. I've also seen error reportings like these in the net, showing RedHat Linux to report kernel version '2.4.18-3', but the GCC Compiler shows '2.4.9-9'.

hmm..or maybe it's my noobnes for not knowing how to completely figure out 'configure' and 'make'.

btw, if this information might help : i'm installing the ALSA driver.
ukishun
QUOTE (joey @ May 10 2003, 07:13 AM)
what does the following command spit out:

rpm -qa |grep kernel

kernel-2.14.18-3...
Joey
was that the only one that came back?

try installing the kernel-source package (up2date -i kernel-source)
ukishun
QUOTE (joey @ May 13 2003, 07:23 AM)
was that the only one that came back?

try installing the kernel-source package (up2date -i kernel-source)

Yeah, that's the only thing it said. Where do I get the kernel-source package?
Joey
if you have RHN set up just type the following as root:

up2date -i kernel-source

it should fetch the package and install it for you.
Corey
As well, check to see if Redhat has a kernel-headers package. This may contain the file in question.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.