As a humble newbie im trying to recompile the kernel for the first time. (or
trying to get it to work for the first time:). Im just trying to install the
module for USB modem support as a module. when i get to doing the 'make
module' i get this
make[2]: *** Warning: File `/boot/kernel.h' has modification time in the
future (2002-01-22 20:34:50 > 2002-01-22 11:54:03)
gcc -D__KERNEL__ -I/usr/src/linux-2.4.2/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.2/include/linux/modversions.h -c -o dummy.o dummy.c
In file included from /usr/src/linux-2.4.2/include/linux/spinlock.h:35,
from /usr/src/linux-2.4.2/include/linux/module.h:11,
from dummy.c:34:
/usr/src/linux-2.4.2/include/asm/spinlock.h:8: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/asm/spinlock.h:8: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/asm/spinlock.h:8: parse error before `1b7d4074'
/usr/src/linux-2.4.2/include/asm/spinlock.h:9: `printk_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4.2/include/asm/spinlock.h:9: warning: function declaration
isn't a protot
ype
In file included from dummy.c:34:
/usr/src/linux-2.4.2/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:173: parse error before `62dada05'
/usr/src/linux-2.4.2/include/linux/module.h:173:
`inter_module_register_R_ver_str' declared
as function returning a function
/usr/src/linux-2.4.2/include/linux/module.h:173: warning: function
declaration isn't a prot
otype
/usr/src/linux-2.4.2/include/linux/module.h:174: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:174: missing white space after
number `7a9e845'
/usr/src/linux-2.4.2/include/linux/module.h:174: parse error before `7a9e845'
/usr/src/linux-2.4.2/include/linux/module.h:174:
`inter_module_unregister_R_ver_str' declar
ed as function returning a function
/usr/src/linux-2.4.2/include/linux/module.h:174: warning: function
declaration isn't a prot
otype
/usr/src/linux-2.4.2/include/linux/module.h:175: `inter_module_get_R_ver_str'
declared as f
unction returning a function
/usr/src/linux-2.4.2/include/linux/module.h:175: warning: parameter names
(without types) i
n function declaration
/usr/src/linux-2.4.2/include/linux/module.h:176:
`inter_module_get_request_R_ver_str' decla
red as function returning a function
/usr/src/linux-2.4.2/include/linux/module.h:176: warning: parameter names
(without types) i
n function declaration
/usr/src/linux-2.4.2/include/linux/module.h:177: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:177: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:177: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.2/include/linux/module.h:177: parse error before `6b99f7d8'
/usr/src/linux-2.4.2/include/linux/module.h:177: `inter_module_put_R_ver_str'
declared as f
unction returning a function
/usr/src/linux-2.4.2/include/linux/module.h:177: warning: function
declaration isn't a prot
otype
/usr/src/linux-2.4.2/include/linux/module.h:186:
`try_inc_mod_count_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4.2/include/linux/module.h:186: warning: parameter names
(without types) i
n function declaration
make[2]: *** [dummy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.2/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2/drivers'
make: *** [_mod_drivers] Error 2
__________________________________________________________
I dont understand how this can happen or what i can do. All the modules seem
to get wrecked after this as well. Any help greatly appreciated!!
M.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug