| Summary: | genpatches-2.6.20* fails on compiling pwc webcam driver | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Natanael Copa <natanael.copa> |
| Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | hardened-sources-2.6.20-r6-pwc.patch | ||
Created attachment 131827 [details, diff]
hardened-sources-2.6.20-r6-pwc.patch
trivial fix
As mentioned in the forum that i linked to, this is probably not related to gresc/hardened at all. Patch belongs more likely in genpatches. thanks (In reply to comment #2) > As mentioned in the forum that i linked to, this is probably not related to > gresc/hardened at all. Patch belongs more likely in genpatches. This is supposed to be fixed in .21, but I incorporated the fix into genpatches-2.6.20. (In reply to comment #3) > (In reply to comment #2) > > As mentioned in the forum that i linked to, this is probably not related to > > gresc/hardened at all. Patch belongs more likely in genpatches. > > This is supposed to be fixed in .21, but I incorporated the fix into > genpatches-2.6.20. You might wanna sent that do Willy Tarreau / LKML for inclusion into the next stable series. The patch is in genpatches, and also in hardened-sources-2.6.20-r10 (stable). (In reply to comment #5) > The patch is in genpatches, and also in hardened-sources-2.6.20-r10 (stable). > I re-emerge hardened sources this morning and the patch was not there. (In reply to comment #6) > I re-emerge hardened sources this morning and the patch was not there. > You're right, it is in genpatches but not in hardened-sources-2.6.20-r10, sorry about that. Will reopen this bug until we have a version for you to upgrade to. The patch has just been added to hardened-sources-2.6.20-r10, sorry for the delay (you might want to wait a little while before syncing so you're sure to get it). |
nc generic # make make[2]: Entering directory `/usr/src/alpine/kernel/generic/work/kout' Using /usr/src/linux-2.6.20-hardened-r6 as source for kernel GEN /usr/src/alpine/kernel/generic/work/kout/Makefile CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h CC [M] drivers/media/video/pwc/pwc-uncompress.o In file included from include2/asm/current.h:4, from /usr/src/linux-2.6.20-hardened-r6/drivers/media/video/pwc/pwc-uncompress.c:29: include2/asm/pda.h:21: error: `NR_CPUS' undeclared here (not in a function) make[6]: *** [drivers/media/video/pwc/pwc-uncompress.o] Error 1 make[5]: *** [drivers/media/video/pwc] Error 2 make[4]: *** [drivers/media/video] Error 2 make[3]: *** [drivers/media] Error 2 make[2]: *** [drivers] Error 2 make[2]: Leaving directory `/usr/src/alpine/kernel/generic/work/kout' make[1]: *** [_all] Error 2 make: *** [/usr/src/alpine/kernel/generic/work/kout/arch/i386/boot/bzImage] Error 2 Have a look at this forum thread: http://forums.grsecurity.net/viewtopic.php?p=6979&sid=767c3a755a25e7daf67087bd411841a1