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 _______________________________________________ Video4linux-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/video4linux-list
