[Bug 3746] New: HAVE_V4L2 check and avicap32_main.c

Wine Bugs wine-bugs at winehq.org
Wed Nov 2 22:24:10 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=3746

           Summary: HAVE_V4L2 check and avicap32_main.c
           Product: Wine
           Version: 0.9
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-misc
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: savzen at gmail.com


I'm not a c expert or a linux expert. So, I may have the explanation/wording wrong.

The kernel headers that wine uses during the compile are in
"/usr/include/linux/" instead of possibly the
"/lib/modules/version/build/include/linux" directory, which causes the HAVE_V4L2
check to possibly be inaccurate as it is defined in "/usr/include/linux/videodev.h".
http://www.winehq.com/hypermail/wine-devel/2005/05/0176.html

>From what I understand the kernel headers in "/usr/include/linux" should be the
ones that glibc were compiled against, even if the running kernel is different.
http://www.ussg.iu.edu/hypermail/linux/kernel/0007.3/0587.html


In short I would assume that the kernel headers should be taken from the
"/lib/modules/version/build/include/linux" directory using the version of the
running kernel to decide which headers to use. 

Perhaps only certain parts if not all should be compiled against the running
kernel headers while others using the ones that Glibc were compiled against?

make failed orginally for me because of this when compiling avicap32_main.o

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list