Unable to compile on 2.6.31 kernel - Patch Submission
Status: Alpha
Brought to you by:
deion
Hi
The current version 1.4.0 won't compile with the 2.6.31 kernel on openSUSE 11.2, attached please find a patch that enables the module to be built. This patch was located on the Ubuntu forum (http://ubuntuforums.org/showthread.php?t=970777&page=3) and have redone suitable for openSUSE building
I have also built the package and kernel modules for openSUSE 11.2 and are available here;
http://software.opensuse.org/search?q=smartcam&baseproject=openSUSE%3A11.2
Version 1.4.0 won't compile for me either, but the patch doesn't work for me in the 2.6.32 kernel.
In function ‘vidioc_s_fmt_cap’:
smartcam.c:174: error: dereferencing pointer to incomplete type
smartcam.c: In function ‘smartcam_write’:
smartcam.c:529: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
That is just some kind of ugly debug string.... so I comment it out. But then we're left with
smartcam.c: In function ‘smartcam_write’:
smartcam.c:529: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
And THAT, horrifically, is because of some kind of macro silliness with wake_up_interruptible_all().
And I don't have time for this kind of nonsense.
Updated module patch for <= kernel 2.6.34
Hi
@stevan_white Nice way to ask for help isn't it??
A simple google would have led to a simple fix.
The patch submitted
http://sourceforge.net/tracker/?func=detail&aid=3097384&group_id=197856&atid=963144