Estou tentando subir uma placa da DLINK, por sinal, uma placa horrivel

01:01.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

Baixei o pacote ndiswrapper do sourceforge.net, descompactei, e fui ler o INSTALL.

O mesmo fala pra rodar make uninstall & make depois como root continuar mas num da porque apresenta o erro abaixo.


#make
make -C driver
make[1]: Entering directory `/usr/local/src/wireless/ndiswrapper-1.18/driver'
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.31/build/include/linux/modversions.h -DUSB_DRIVER_OWNER -freg-struct-return -DDRIVER_VERSION=\"1.18\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.31/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2 -c -o hal.o hal.c
In file included from ntoskernel.h:333,
from hal.c:24:
winnt_types.h:125:2: #error "gcc 3.4 or newer should be used for compiling this module"
In file included from hal.c:24:
ntoskernel.h:688: error: syntax error before "LONG"
ntoskernel.h:689: error: syntax error before "LONG"
ntoskernel.h:690: error: syntax error before "struct"
ntoskernel.h:692: error: syntax error before "struct"
ntoskernel.h:694: error: syntax error before "struct"
ntoskernel.h:720: error: syntax error before "NTSTATUS"
ntoskernel.h:755: error: syntax error before "KIRQL"
ntoskernel.h:756: error: syntax error before "void"
ntoskernel.h:757: error: syntax error before "KIRQL"
ntoskernel.h:758: error: syntax error before "void"
ntoskernel.h:759: error: syntax error before "void"
ntoskernel.h:760: error: syntax error before "void"
ntoskernel.h:812: error: syntax error before "LONG"
ntoskernel.h:813: error: syntax error before "void"
hal.c:122: error: syntax error before "KIRQL"
hal.c:132: error: syntax error before "void"
hal.c:140: error: syntax error before "KIRQL"
hal.c:147: error: syntax error before "void"
hal.c:154: error: syntax error before "void"
hal.c:166: error: syntax error before "void"
make[1]: ** [hal.o] Erro 1
make[1]: Leaving directory `/usr/local/src/wireless/ndiswrapper-1.18/driver'
make: ** [all] Erro 2