[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling a driver



Hello

Mark M (<mark@menem.mine.nu>) wrote:

> I'm trying to compile a newer osst driver to test my onstream
> tapestreamer (I know I should buy a real tape streamet, but hey those
> things cost serious money!)
> 
> Everthing went fine, downloaded the 2.4.18 kernel source, make dep-ed
> the kernel using my current config 2.4.18bf2.4 (some of you are
> feeling my problem coming up now) and cleanly compiled the newer osst
> driver.

Only that you didn't set the EXTRAVERSION in /use/src
kernel-source-2.4.18 to -bf2.4

> But when I tried to load the driver it bums out with something like:
> this driver was compiled for kernel version 2.4.18, but this is
> 2.4.18bf2.4...
> I can get crazy about stuff like this...
> 
> What can I do to compile this driver correctly?

Change the EXTRAVERSION, or use kernel-headers-2.4.18 instead of the
source package for compiling. And maybe you want to replace the
installation kernel with some of the other 2.4.18 packages (like
2.4.18-1-686 or 2.4.18-1-k7).

best regards
        Andreas Janssen

-- 
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976



Reply to: