This happened to me when I tried to compile a 2.4.18 Mandrake kernel on Mandrake 8.1 a little while back. I had downloaded and installed the kernel-source and kernel-headers RPMs from cooker (I think they were version 2.4.18-something and 2.4.17-something, respectively, at the time). I was baffled, until I removed the kernel-headers I had gotten from cooker and replaced them with the "production" RPM (which was 2.4.8-something then) and I no longer got the errors. Compile went smoothly.
I can't say whether that was the right thing to do, but that's what I did. :) - Kathy On Tue, 2002-03-26 at 10:16, Andrew Carlson wrote: > Is anyone else having problems with this? Here is the output of my > module compile: > > P.S. It happens on more than one module, from more than one subsystem. > > In file included from /usr/src/linux-2.4.18-6mdk/include/asm/spinlock.h:6, > from /usr/src/linux-2.4.18-6mdk/include/linux/spinlock.h:39, > from /usr/src/linux-2.4.18-6mdk/include/linux/module.h:11, > from ide-scsi.c:34: > /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: parse error before `577f4bff' > /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: `do_BUG_R_ver_str' declared as >function returning a function > /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: warning: function declaration >isn't a prototype > In file included from /usr/src/linux-2.4.18-6mdk/include/linux/spinlock.h:39, > from /usr/src/linux-2.4.18-6mdk/include/linux/module.h:11, > from ide-scsi.c:34: > /usr/src/linux-2.4.18-6mdk/include/asm/spinlock.h:10: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/spinlock.h:10: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/spinlock.h:10: parse error before `1b7d4074' > /usr/src/linux-2.4.18-6mdk/include/asm/spinlock.h:11: `printk_R_ver_str' declared as >function returning a function > /usr/src/linux-2.4.18-6mdk/include/asm/spinlock.h:11: warning: function declaration >isn't a prototype > In file included from /usr/src/linux-2.4.18-6mdk/include/linux/prefetch.h:13, > from /usr/src/linux-2.4.18-6mdk/include/linux/list.h:6, > from /usr/src/linux-2.4.18-6mdk/include/linux/module.h:12, > from ide-scsi.c:34: > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:51: warning: parameter names >(without types) in function declaration > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:51: field >`loops_per_jiffy_R_ver_str' declared as a function > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:72: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:72: parse error before `0657d037' > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:72: warning: function declaration >isn't a prototype > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:252: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:252: parse error before `7413793a' > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:252: warning: function >declaration isn't a prototype > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:256: warning: parameter names >(without types) in function declaration > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:459: missing white space after >number `7e9' > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:459: parse error before `7e9' > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:459: `kernel_thread_R_ver_str' >declared as function returning a function > /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:459: warning: function >declaration isn't a prototype > In file included from ide-scsi.c:34: > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:183: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:183: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:183: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:183: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:183: parse error before `62dada05' > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:183: >`inter_module_register_R_ver_str' declared as function returning a function > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:183: warning: function declaration >isn't a prototype > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:184: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:184: missing white space after >number `7a9e845' > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:184: parse error before `7a9e845' > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:184: >`inter_module_unregister_R_ver_str' declared as function returning a function > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:184: warning: function declaration >isn't a prototype > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:185: `inter_module_get_R_ver_str' >declared as function returning a function > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:185: warning: parameter names >(without types) in function declaration > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:186: >`inter_module_get_request_R_ver_str' declared as function returning a function > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:186: warning: parameter names >(without types) in function declaration > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:187: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:187: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:187: nondigits in number and not >hexadecimal > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:187: parse error before `6b99f7d8' > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:187: `inter_module_put_R_ver_str' >declared as function returning a function > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:187: warning: function declaration >isn't a prototype > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' >declared as function returning a function > /usr/src/linux-2.4.18-6mdk/include/linux/module.h:196: warning: parameter names >(without types) in function declaration > In file included from /usr/src/linux-2.4.18-6mdk/include/linux/fs.h:19, > from /usr/src/linux-2.4.18-6mdk/include/linux/capability.h:17, > from /usr/src/linux-2.4.18-6mdk/include/linux/binfmts.h:6, > from /usr/src/linux-2.4.18-6mdk/include/linux/sched.h:9, > from /usr/src/linux-2.4.18-6mdk/include/linux/mm.h:4, > from ide-scsi.c:38: > /usr/src/linux-2.4.18-6mdk/include/linux/dcache.h: In function `dget': > /usr/src/linux-2.4.18-6mdk/include/linux/dcache.h:247: warning: implicit declaration >of function `do_BUG_R577f4bff' > make[2]: *** [ide-scsi.o] Error 1 > make[1]: *** [_modsubdir_scsi] Error 2 > make: *** [_mod_drivers] Error 2 > > > ---- > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
