Ich habe mich mal an den ndiswrapper herangewagt, da der "richtige" Linuxtreiber noch kein WEP unterstützt und Linuxant Geld für einen Treiber möchte...
Allerdings bescherte mir "make install" mal wieder eine Unmenge an Fehlermeldungen mit denen ich leider nichts anfangen kann!
Vielleicht kann mir jemand sagen worüber sich der Compiler beschwert und wie ich das loswerde!
Achtung jetzt wird's ein wenig länglich:
linux:~/wlan/ndiswrapper-0.6 # make install
make -C driver install
make[1]: Entering directory `/root/wlan/ndiswrapper-0.6/driver'
cc -DDRV_VERSION=\"0.6\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.21-19
9-default/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-stri
ct-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
In file included from /usr/include/linux/module.h:20,
from wrapper.c:16:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from /usr/include/linux/mm.h:205,
from /usr/include/asm/pci.h:7,
from /usr/include/linux/pci.h:677,
from wrapper.c:25:
/usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclar
ed here (not in a function)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a constan
t
In file included from wrapper.c:27:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclare
d here (not in a function)
/usr/include/linux/netdevice.h:165: error: requested alignment is not a constant
In file included from /usr/include/linux/irq.h:19,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/netdevice.h:489,
from wrapper.c:27:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/netdevice.h:489,
from wrapper.c:27:
/usr/include/linux/irq.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/linux/irq.h:67: error: requested alignment is not a constant
/usr/include/linux/irq.h:69: error: `NR_IRQS' undeclared here (not in a function
)
In file included from /usr/include/linux/irq.h:71,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/netdevice.h:489,
from wrapper.c:27:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a functio
n)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a functio
n)
In file included from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/netdevice.h:489,
from wrapper.c:27:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared her
e (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
wrapper.c:32:28: net/iw_handler.h: No such file or directory
In file included from ndis.h:30,
from wrapper.c:39:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: #error " - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: #error " - make mrproper"
/usr/include/linux/version.h:25:2: #error " - make cloneconfig"
/usr/include/linux/version.h:26:2: #error " - make dep"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:29:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:30:2: #error ""
/usr/include/linux/version.h:31:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:32:2: #error ""
/usr/include/linux/version.h:33:2: #error " instead of"
/usr/include/linux/version.h:34:2: #error ""
/usr/include/linux/version.h:35:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:36:2: #error ""
/usr/include/linux/version.h:37:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:38:2: #error "=====================================
=================="
In file included from wrapper.c:39:
ndis.h:34:40: missing binary operator before token "("
ndis.h:37:26: linux/tqueue.h: No such file or directory
ndis.h:39:1: warning: "INIT_WORK" redefined
In file included from /usr/include/linux/aio.h:5,
from /usr/include/linux/sched.h:182,
from /usr/include/linux/module.h:9,
from wrapper.c:16:
Beitrag zu lang...