Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 fix compile errors in smartcam.c on Linux kernel 2.6.35

open
nobody
None
5
2010-10-28
2010-10-28
leniviytorrent
No

This patch is used in Arch Linux now. It fixes the following compilation errors:
CC [M] smartcam.o
smartcam.c: In function ‘vidioc_s_fmt_cap’:
smartcam.c:174:9: error: dereferencing pointer to incomplete type
smartcam.c: In function ‘smartcam_write’:
smartcam.c:533:2: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
smartcam.c:533:2: note: each undeclared identifier is reported only once for each function it appears in
smartcam.c: At top level:
smartcam.c:563:2: warning: initialization from incompatible pointer type
smartcam.c:599:15: error: ‘VID_TYPE_CAPTURE’ undeclared here (not in a function)
smartcam.c:601:2: warning: initialization from incompatible pointer type
make[1]: *** [smartcam.o] Error 1

Discussion

  • leniviytorrent
    leniviytorrent
    2010-10-28

    the patch

     
    Attachments