nvnet install problem
I just recently installed Debian Sarge, but cannot get the internet running. I found that I don't have the nvnet module, so I went to compile it, when I get this ridiculously long message:
make -C nvnet
make[1]: Entering directory `/usr/src/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O2 -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DCONFIG_PM -falign-functions=4 -I/usr/src/linux-2.4.25/include nvenet.c
In file included from /usr/src/linux-2.4.25/include/linux/kernel.h:13,
from /usr/include/asm/system.h:5,
from /usr/src/linux-2.4.25/include/linux/spinlock.h:6,
from /usr/src/linux-2.4.25/include/linux/module.h:11,
from nvenet.h:20,
from nvenet.c:22:
/usr/src/linux-2.4.25/include/linux/types.h:21: error: parse error before "dev_t"
In file included from /usr/include/asm/math_emu.h:4,
from /usr/include/asm/processor.h:11,
from /usr/src/linux-2.4.25/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.25/include/linux/list.h:6,
from /usr/src/linux-2.4.25/include/linux/module.h:12,
from nvenet.h:20,
from nvenet.c:22:
/usr/include/asm/sigcontext.h:79: error: parse error before '*' token
/usr/include/asm/sigcontext.h:82: error: parse error before '}' token
In file included from /usr/include/asm/processor.h:11,
from /usr/src/linux-2.4.25/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.25/include/linux/list.h:6,
from /usr/src/linux-2.4.25/include/linux/module.h:12,
from nvenet.h:20,
from nvenet.c:22:
/usr/include/asm/math_emu.h:6: error: parse error before '*' token
/usr/include/asm/math_emu.h:7: error: parse error before '*' token
[...edited to keep it short... seriously, it's just pages of stuff like this; mostly parse errors]
nvenet.c: In function `nvenet_change_mtu':
nvenet.c:1439: error: parse error before "unsigned"
nvenet.c:1477: error: parse error before "unsigned"
nvenet.c: In function `nvenet_mac_address':
nvenet.c:1502: error: parse error before "unsigned"
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/nforce/nvnet'
make: *** [nvnet_make] Error 2
I'm thinking it might be an error with the compiler, but I can't be sure. Does anyone know how to fix this?
|