Menu

#4 patch compile against kernel 2.6.32

open
nobody
None
5
2010-04-29
2010-04-29
Anonymous
No

Index: a/vloopback/vloopback.c

RCS file: flashcam/Flashcam/vloopback/vloopback.c,v
retrieving revision 1.2
diff -r1.2 vloopback.c
164a165,170
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
> // why is it only me having had this problem?
> // sched.h was introduced in c4b92fc after tag v2.6.18-3749-gc4b92fc
> // used to import kill_pid
> #include <linux/sched.h>
> #endif
1031,1032c1037,1038
< #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) && defined(CONFIG_COMPAT)
< compat_ioctl: v4l_compat_ioctl32,
---
> #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) && defined(CONFIG_COMPAT)
> compat_ioctl: v4l_compat_ioctl32, // removed in 58f2507 which is before tag 2.6.27rc2

See commets. I don't understand why these issues didn't appear earlier because those changes have been made in previous kernels.
Yet the code contains comparison against kernel 2.6.31 ?
I don't understand flashcam yet. So I didn't verify that everything works correctly. But I can modprobe vloopback now
Marc Weber

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.