I'm trying to compile the kernel to get basic functionality on a USB
printer, namely an HP Officejet G85xi.

When compiling modules, I get all sorts of problems with failures. This
time I get the following which seems to indicate the Dummy net driver is
failing. If I remove this, I get some other problem... nothing seems to
work. Can anyone help?

Thanks

Below are the last from dummy.c:34:
/usr/src/linux-2.4.20-20.9/include/asm/processor.h:268:1: warning:
"EISA_bus" redefined In file included from
/usr/src/linux-2.4.20-20.9/include/linux/modversions.h:133,
from :1:
/usr/src/linux-2.4.20-20.9/include/linux/modules/i386_ksyms.ver:101:1:
warning: this is the location of the previous definition
/usr/src/linux-2.4.20-20.9/include/asm/processor.h:270: warning: parameter
names (without types) in function declaration In file included from
dummy.c:34:
/usr/src/linux-2.4.20-20.9/include/linux/module.h:183: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: warning:
function declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:184: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: warning:
function declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:185: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.20-20.9/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:186: warning:
parameter names (without types) in function declaration
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:196: warning: parameter
names (without types) in function declaration make[2]: *** [dummy.o] Error
1
make[2]: Leaving directory `/usr/src/linux-2.4.20-20.9/drivers/net'
make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory
`/usr/src/linux-2.4.20-20.9/drivers' make: *** [_mod_drivers] Error 2
[root@skagit linux-2.4]# from dummy.c:34:
/usr/src/linux-2.4.20-20.9/include/asm/processor.h:268:1: warning:
"EISA_bus" redefined In file included from
/usr/src/linux-2.4.20-20.9/include/linux/modversions.h:133,
from :1:
/usr/src/linux-2.4.20-20.9/include/linux/modules/i386_ksyms.ver:101:1:
warning: this is the location of the previous definition
/usr/src/linux-2.4.20-20.9/include/asm/processor.h:270: warning: parameter
names (without types) in function declaration In file included from
dummy.c:34:
/usr/src/linux-2.4.20-20.9/include/linux/module.h:183: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: warning:
function declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:184: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: warning:
function declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:185: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.20-20.9/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:186: warning:
parameter names (without types) in function declaration
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:196: warning: parameter
names (without types) in function declaration make[2]: *** [dummy.o] Error
1
make[2]: Leaving directory `/usr/src/linux-2.4.20-20.9/drivers/net'
make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory
`/usr/src/linux-2.4.20-20.9/drivers' make: *** [_mod_drivers] Error 2
[root@skagit linux-2.4]#lines of the "make modules" output
__________________________________________________ ____________

from dummy.c:34:
/usr/src/linux-2.4.20-20.9/include/asm/processor.h:268:1: warning:
"EISA_bus" redefined In file included from
/usr/src/linux-2.4.20-20.9/include/linux/modversions.h:133,
from :1:
/usr/src/linux-2.4.20-20.9/include/linux/modules/i386_ksyms.ver:101:1:
warning: this is the location of the previous definition
/usr/src/linux-2.4.20-20.9/include/asm/processor.h:270: warning: parameter
names (without types) in function declaration In file included from
dummy.c:34:
/usr/src/linux-2.4.20-20.9/include/linux/module.h:183: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: warning:
function declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:184: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: warning:
function declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:185: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.20-20.9/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as function returning a
function /usr/src/linux-2.4.20-20.9/include/linux/module.h:186: warning:
parameter names (without types) in function declaration
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187: invalid suffix on
integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
parse error before numeric constant
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:187: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-20.9/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-20.9/include/linux/module.h:196: warning: parameter
names (without types) in function declaration make[2]: *** [dummy.o] Error
1
make[2]: Leaving directory `/usr/src/linux-2.4.20-20.9/drivers/net'
make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory
`/usr/src/linux-2.4.20-20.9/drivers' make: *** [_mod_drivers] Error 2
[root@skagit linux-2.4]#