Mailing List archive

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

[linux-dvb] Re: Redhat 9.0 compilation problems



Hello Marcel,

I just upgraded from redhat 8.0 to redhat 9.0 and found out that the
> dvb driver no more compiles. This is probaly thanx to the guys of
> redhat that added lots of 2.5 stuff to their distribution.

As you already have noticed, the vendor kernels often have "features" that break the compilation of drivers, that are compiled "outside" the kernel.

Please note that the developers cannot test the driver under all distributions. It's good when the users (ie. you and me) do this and share their results with the rest of the mailing list.

So, do you use the binary image from RedHat or did you compile your own kernel from the kernel sources from RedHat?

I tried to change all appearances (except in av7110*.c) of #if LINUX_VERSION_CODE < KERNEL_VERSION(2.5.0) to
#if LINUX_VERSION_CODE < KERNEL_VERSION(2.4.20)
(I saw and expierenced at the em8300/dxr3 mailinglist that it helps).
I you don't know exactly what you are doing, then this is a waste of time.

Result is a compiling dvb driver, but when I do make insmod
I get messages like module videodev, input etc not found.
Most likely the module loader cannot match the functions symbols, ie. it looks for "videodev_register", but the kernel only has a function called "__foo__bar__videodev_register". Have a look at /proc/ksyms

I'm certain that I've compiled those with the kernel.
When I do a manual insmod videodev.o, it says the kernel hasn't the right version.
When you have compiled the modules into the kernel, where do you get the videodev.o from? From the kernel source directory?

Has anybody redhat 9.0 with a working dvb driver and how to get this working.
You have two options:

1) Get a fresh kernel from kernel.org and try to find out how to install that one under your RedHat system. Of course this won't help the other users out there, who are not experienced enough to install a kernel on their own.

2) Install all necessary kernel-source RPMs from RedHat and try to fix the compile script. If you don't get along, ask on the list again and post the *exact* compilation error you get. You might also try to use "dvb-kernel" CVS driver instead of "DVB", because it uses a different build system.

If you choose 2), it's likely that the compilation problems can be fixed. RedHat does not use voodoo, but you have to understand what they have changed in the kernel and in the compilation process.

Thanx in advance,
Marcel Rokers, NL
CU
Michael.




--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index