make modules error

Jon Williams yellowdog-newbie@lists.terrasoftsolutions.com
Mon, 16 Aug 2004 11:15:59 -0700


I'm trying to build a custom kernel using YDL 3.0.1 on a G3 iBook.  The
current version I have is  kernel 2.4.22-2a.  I run xconfig, make dep, make
clean, make vmlinux, but when I get to the make modules step, then following
errors occur: 

/usr/src/linux-2.4.22-2a/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function returning a function

/usr/src/linux-2.4.22-2a/include/linux/module.h:187: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.22-2a/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function returning a function

/usr/src/linux-2.4.22-2a/include/linux/module.h:196: warning: parameter
names (without types) in function declaration
make[2]: *** [floppy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.22-2a/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-2a/drivers'
make: *** [_mod_drivers] Error

I tried updating my modutils to 2.4.25-13 and that installed fine, but the
same error still occurs.  Any suggestions?