Has anyone accomplished the above? I get a compile error, whether I use make-kpkg modules_image or a by-hand make in /usr/src/modules/openafs. The Error reads (in part):
In file included from /usr/include/asm/smp.h:11, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:15: error: variable-size type declared outside of a ny function In file included from /usr/include/asm/smp.h:11, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/linux/cpumask.h: In function `next_online_cpu': /usr/include/linux/cpumask.h:56: error: structure has no member named `val' In file included from /usr/include/asm/smp.h:16, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/asm/fixmap.h: At top level: /usr/include/asm/fixmap.h:72: error: `FIX_ACPI_PAGES' undeclared here (not in a function) /usr/include/asm/fixmap.h:72: error: enumerator value for `FIX_ACPI_END' not int eger constant /usr/include/asm/fixmap.h:84: error: parse error before "pgprot_t" In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a fu nction) /usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a fu nction) /usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a f unction) /usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a f unction) /usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a funct ion) /usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a f unction) /usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type' /usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type' /usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a f unction) /usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus ' /usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_b us' /usr/include/asm/mpspec.h:35: error: parse error before "id" /usr/include/asm/mpspec.h:36: error: parse error before "address" /usr/include/asm/mpspec.h:37: error: parse error before "id" /usr/include/asm/mpspec.h:38: error: parse error before "bus_irq" /usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a funct ion) /usr/include/asm/mpspec.h:54: error: variable-size type declared outside of any function In file included from /usr/include/asm/smp.h:20, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/asm/io_apic.h:26: error: parse error before "u32" /usr/include/asm/io_apic.h:28: error: parse error before "u32" /usr/include/asm/io_apic.h:34: error: parse error before '}' token /usr/include/asm/io_apic.h:37: error: parse error before "u32" /usr/include/asm/io_apic.h:39: error: parse error before "u32" /usr/include/asm/io_apic.h:45: error: parse error before '}' token /usr/include/asm/io_apic.h:48: error: parse error before "u32" /usr/include/asm/io_apic.h:50: error: parse error before "u32" /usr/include/asm/io_apic.h:54: error: parse error before '}' token /usr/include/asm/io_apic.h:57: error: parse error before "u32" /usr/include/asm/io_apic.h:62: error: parse error before '}' token /usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs' /usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs' In file included from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory In file included from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/linux/smp.h: In function `on_each_cpu': /usr/include/linux/smp.h:65: error: invalid type argument of `->' /usr/include/linux/smp.h:68: error: invalid type argument of `->' /usr/include/linux/smp.h:68: error: `TIF_NEED_RESCHED' undeclared (first use in this function) In file included from /usr/include/linux/ext2_fs.h:20, from devname.c:90: /usr/include/linux/ext2_fs_sb.h: At top level: /usr/include/linux/ext2_fs_sb.h:48: error: parse error before "u32" /usr/include/linux/ext2_fs_sb.h:50: error: parse error before '*' token /usr/include/linux/ext2_fs_sb.h:55: error: parse error before '}' token make[3]: *** [devname.o] Error 1 make[3]: Leaving directory `/usr/src/modules/openafs/src/vol' make[2]: *** [vol] Error 2 make[2]: Leaving directory `/usr/src/modules/openafs' make[1]: *** [build] Error 2 make[1]: Leaving directory `/usr/src/modules/openafs' make: *** [all] Error 2 ---------------------------------------------------------------------- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]