From: Ronald B. <rb...@ro...> - 2002-11-30 22:00:10
|
Hi Laurent, Op za 30-11-2002, om 14:03 schreef Laurent Pinchart: > Do I need a specific gcc version to compile the zoran driver (ZORAN_VIDEODEV_2 > branch) ? Using gcc 2.95.3 leads to an unresolved '__ucmpdi2' symbol (64-bit > support) on line 5057. No... The kernel (on 32 bit systems) just doesn't support 64-bit handling at all... In my version, this piece of code also gives problems (the part where I compare 64 bit numbers, for VIDIOC_[SG]_STD). Maybe you can help a bit here, I didn't look at this for a few days now. Try changing the comparing of 64 bit numbers to 8-byte memory comparisons, so using __u64 a, b; memcmp(&a, &b, sizeof(__u64)); instead of (a == b);. Totally untested, but it'll probably get rid of the compiler error too... /me is clueless about why the kernel has broken support for 64bit stuff... Guess I should look at BTTV-0.9... Ronald -- Ronald Bultje <rb...@ro...> |