can't make modules/8139too.c

Rich Biasi yellowdog-general@lists.terrasoftsolutions.com
Thu Mar 25 10:53:02 2004


I'm taking my first shot at building the kernel. The kernel build
completes just fine, but when I try to 'make modules' I get a pile of
errors from /include/asm/processor.h (see below...).

What I'm really trying to do is build the kernel module for the RealTek
8139, 8139too.c, so I can use my realtek nic card. If anyone knows how
to just build that module please let me know...

TIA...
Rich

In file included from
/usr/src/linux-2.4.20-8d/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-8d/include/linux/list.h:6,
                 from
/usr/src/linux-2.4.20-8d/include/linux/module.h:12,
                 from floppy.c:148:
/usr/src/linux-2.4.20-8d/include/asm/processor.h:606: invalid suffix on
integer constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:606: parse error before
numeric constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:606: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-8d/include/asm/processor.h:609: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.20-8d/include/asm/processor.h:615: invalid suffix on
integer constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:615: parse error before
numeric constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:615: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-8d/include/asm/processor.h:623: invalid suffix on
integer constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:623: parse error before
numeric constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:623:
`start_thread_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8d/include/asm/processor.h:623: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.20-8d/include/asm/processor.h:629: invalid suffix on
integer constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:629: parse error before
numeric constant
/usr/src/linux-2.4.20-8d/include/asm/processor.h:629:
`kernel_thread_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8d/include/asm/processor.h:629: warning: function
declaration isn't a prototype