http://bugs.winehq.org/show_bug.cgi?id=32181
Bug #: 32181 Summary: linux/videodev.h header is deprecated and unavailable on newer kernels Product: Wine Version: 1.5.16 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: scott@open-vote.org Classification: Unclassified
There are places in Wine where linux/videodev.h is included, however this file is not available on newer systems. I think it's a deprecated library, but I'm not sure about what the proper transition is supposed to be.
I think the options are: - port to the newer libv4l2 header, ie linux/videodev2.h - update includes to build with the older library (ie libv4l-videodev.h)
Some quick googling shows that Wine isn't the only app affected, but that other projects have made a transition in their source (rather than, say, relying on distro symlinks).
http://bugs.winehq.org/show_bug.cgi?id=32181
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
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
http://bugs.winehq.org/show_bug.cgi?id=32181
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=32181
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #2 from roger@mailinator.com --- is this valid...?
https://bugs.winehq.org/show_bug.cgi?id=32181
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- http://source.winehq.org/git/wine.git/?a=search&h=253a587e471a653e1b5ed5...
fixed?
https://bugs.winehq.org/show_bug.cgi?id=32181
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8d4f636d543362ef901e2233cc9 | |f9149f5f14bb4 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com --- https://source.winehq.org/git/wine.git/commitdiff/8d4f636d543362ef901e2233cc...
https://bugs.winehq.org/show_bug.cgi?id=32181
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.52.