Re: bttv driver and platform dependency

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



Kevin Liao wrote:
I build the source code of bttv (0.7.94) and insert the module

successfully

on one platform (red hat 7.3 (kernel 2.4.18-3) + VIA C3 800 CPU). But

when I

then try to insert the same binary module directly on the other platform
(red hat 7.3 (kernel 2.4.18-3) + P4 1.4G CPU), the system always shows a

lot

of error messages like "unresolved symbol xxx" and fails to insert the
module. Does anyone has the same experience or know why? Thanks a lot!

Regards,
Kevin

Umm... silly question, but do you mean that you built the bttv module on

the C3-800 and then tried to run it on the P4-1.4?

Someone correct me if I'm wrong, but I think that the kernels for Cyrix

(C3) and P4 processors are different, and a module compiled for one won't
run on the other.

You need to compile the bttv module on the P4.

Steve


Thanks a lot for you advice. I will try it. But one thing I am still curious
about is why the built-in bttv.o in red hat 7.3 can be loaded without any
problem on both C3 and P4 platform? How do they build the driver so that it
can be machine independent?

Regards,
Kevin

You can specify the CPU type to be i386 (generic).
I still don't know if the fingerprinting applies to modules, maybe not.


----------------------------------------
From Mozilla/Linux





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux