http://bugs.winehq.org/show_bug.cgi?id=32181
--- Comment #1 from Qian Hong fracting@gmail.com 2012-11-09 12:10:06 CST --- Hello,
I tested with Ubuntu 10.10 and Ubuntu 12.10, here are the results:
Either 10.10 or 12.10 does not have linux/videodev.h but both of them have linux/videodev2.h $ dpkg -S /usr/include/linux/videodev2.h linux-libc-dev: /usr/include/linux/videodev2.h
Both 10.10 and 12.10 have libv4l1-videodev.h, on 10.10, a symbolic link linux/videodev.h to libv4l1-videodev.h helps qcap.dll.so compiles and links, but on 12.10, the same symbolic link helps qcap.dll.so compiles but not links.
v4l.o: In function `renderer_YUV': /home/fracting/wine1.4-1.4.1/dlls/qcap/v4l.c:504: undefined reference to `YUV_To_RGB24' v4l.o: In function `qcap_driver_init': /home/fracting/wine1.4-1.4.1/dlls/qcap/v4l.c:810: undefined reference to `YUV_Init' /usr/bin/ld: qcap.dll.so: hidden symbol `YUV_Init' isn't defined /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status