Re: using videodevX under PPC computer

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



Ilan Finci wrote:
Hi,
I'm trying to move to v4l2 on a PPC machine I have (I currently go v4l working there). I'm using kernel 2.4.16 and videodevX-20011221.tgz.

I've compiled the kernel with video4linux enabled as a module, then booted using this kernel, compiled the videodevX sources. The problem is that when I do "make install" I get a message about unresolved symbols. When I try to insmod the module I get an error that 2 symbols are not resolved: /lib/modules/2.4.16/kernel/drivers/media/video/videodevX.o: unresolved symbol __udivdi3 /lib/modules/2.4.16/kernel/drivers/media/video/videodevX.o: unresolved symbol __umoddi3

I see in videodevX.c that the function v4l2_math_div6432(...) I see that for intel cpus, there is an assembly code, and for others, a use of the '/' and '%', can this be the problem? Are they defined in the kernel?

This is the problem. / and % will work on 64 bit machines (I think?), but not on 32 bit machines... The / can be replaced by do_div(), but not the mod. Anybody have any ideas?

-justin







[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