klausi banausi
Newbie
hallo,
bin linux neuling und muss mich notgedrungen (eine smc wlan karte soll installiert werden) mit ndiswrapper auseinandersetzen - eigentlich ist der installationsvorgang gut dokumentiert - beginnend mit make install passiert bei mir aber folgendes:
klaus@linux:~> cd /home/ndiswrapper-0.7/
klaus@linux:/home/ndiswrapper-0.7> make install
make -C driver install
make[1]: Entering directory `/home/ndiswrapper-0.7/driver'
cc -DDRV_VERSION=\"0.7\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.21-22
6-athlon/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-stric
t-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: Datei oder Verzeichnis nicht gefund
en
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:31:28: net/iw_handler.h: Datei oder Verzeichnis nicht gefunden
In file included from ndiswrapper.h:33,
from ntoskernel.h:17,
from ndis.h:18,
from wrapper.c:38:
/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 ntoskernel.h:17,
from ndis.h:18,
from wrapper.c:38:
ndiswrapper.h:43:40: missing binary operator before token "("
ndiswrapper.h:46:26: linux/tqueue.h: Datei oder Verzeichnis nicht gefunden
ndiswrapper.h:48:1: Warnung: "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:
/usr/include/linux/workqueue.h:44:1: Warnung: this is the location of the previo
us definition
In file included from ntoskernel.h:17,
from ndis.h:18,
from wrapper.c:38:
ndiswrapper.h:53:41: missing binary operator before token "("
In file included from wrapper.c:38:
ndis.h:383: error: field `irq_bh' has incomplete type
ndis.h:396: error: field `xmit_work' has incomplete type
ndis.h:416: error: field `hangcheck_work' has incomplete type
ndis.h:425: error: field `statcollector_work' has incomplete type
ndis.h:442: error: field `packet_recycler' has incomplete type
ndis.h:449: error: field `set_rx_mode_work' has incomplete type
In file included from wrapper.c:39:
iw_ndis.h:23: Warnung: `struct iw_request_info' declared inside parameter list
iw_ndis.h:23: Warnung: its scope is only this definition or declaration, which i s probably not what you want
wrapper.c: In function `hangcheck':
wrapper.c:281: Warnung: implicit declaration of function `schedule_task'
wrapper.c: In function `hangcheck_add':
wrapper.c:300: Warnung: implicit declaration of function `INIT_TQUEUE'
wrapper.c: In function `ndis_init_one':
wrapper.c:968: Warnung: implicit declaration of function `pci_request_regions'
wrapper.c:1000: Warnung: implicit declaration of function `pci_release_regions'
wrapper.c: In function `ndis_remove_one':
wrapper.c:1053: Warnung: implicit declaration of function `flush_scheduled_tasks '
wrapper.c:1566:41: missing binary operator before token "("
wrapper.c: In function `wrapper_init':
wrapper.c:1569: error: too few arguments to function `call_usermodehelper'
wrapper.c: At top level:
wrapper.c:186: Warnung: `ndis_get_link' defined but not used
make[1]: *** [wrapper.o] Fehler 1
make[1]: Leaving directory `/home/ndiswrapper-0.7/driver'
make: *** [install] Fehler 2
klaus@linux:/home/ndiswrapper-0.7>
hat irgendwer da draussen eine ahnung was ich damit machen soll??? - verwend übrigens suse 9.0
danke
bin linux neuling und muss mich notgedrungen (eine smc wlan karte soll installiert werden) mit ndiswrapper auseinandersetzen - eigentlich ist der installationsvorgang gut dokumentiert - beginnend mit make install passiert bei mir aber folgendes:
klaus@linux:~> cd /home/ndiswrapper-0.7/
klaus@linux:/home/ndiswrapper-0.7> make install
make -C driver install
make[1]: Entering directory `/home/ndiswrapper-0.7/driver'
cc -DDRV_VERSION=\"0.7\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.21-22
6-athlon/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-stric
t-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: Datei oder Verzeichnis nicht gefund
en
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:31:28: net/iw_handler.h: Datei oder Verzeichnis nicht gefunden
In file included from ndiswrapper.h:33,
from ntoskernel.h:17,
from ndis.h:18,
from wrapper.c:38:
/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 ntoskernel.h:17,
from ndis.h:18,
from wrapper.c:38:
ndiswrapper.h:43:40: missing binary operator before token "("
ndiswrapper.h:46:26: linux/tqueue.h: Datei oder Verzeichnis nicht gefunden
ndiswrapper.h:48:1: Warnung: "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:
/usr/include/linux/workqueue.h:44:1: Warnung: this is the location of the previo
us definition
In file included from ntoskernel.h:17,
from ndis.h:18,
from wrapper.c:38:
ndiswrapper.h:53:41: missing binary operator before token "("
In file included from wrapper.c:38:
ndis.h:383: error: field `irq_bh' has incomplete type
ndis.h:396: error: field `xmit_work' has incomplete type
ndis.h:416: error: field `hangcheck_work' has incomplete type
ndis.h:425: error: field `statcollector_work' has incomplete type
ndis.h:442: error: field `packet_recycler' has incomplete type
ndis.h:449: error: field `set_rx_mode_work' has incomplete type
In file included from wrapper.c:39:
iw_ndis.h:23: Warnung: `struct iw_request_info' declared inside parameter list
iw_ndis.h:23: Warnung: its scope is only this definition or declaration, which i s probably not what you want
wrapper.c: In function `hangcheck':
wrapper.c:281: Warnung: implicit declaration of function `schedule_task'
wrapper.c: In function `hangcheck_add':
wrapper.c:300: Warnung: implicit declaration of function `INIT_TQUEUE'
wrapper.c: In function `ndis_init_one':
wrapper.c:968: Warnung: implicit declaration of function `pci_request_regions'
wrapper.c:1000: Warnung: implicit declaration of function `pci_release_regions'
wrapper.c: In function `ndis_remove_one':
wrapper.c:1053: Warnung: implicit declaration of function `flush_scheduled_tasks '
wrapper.c:1566:41: missing binary operator before token "("
wrapper.c: In function `wrapper_init':
wrapper.c:1569: error: too few arguments to function `call_usermodehelper'
wrapper.c: At top level:
wrapper.c:186: Warnung: `ndis_get_link' defined but not used
make[1]: *** [wrapper.o] Fehler 1
make[1]: Leaving directory `/home/ndiswrapper-0.7/driver'
make: *** [install] Fehler 2
klaus@linux:/home/ndiswrapper-0.7>
hat irgendwer da draussen eine ahnung was ich damit machen soll??? - verwend übrigens suse 9.0
danke