Hallo,
ich versuche auf einem Asus Centrino Wlan Notebook das Wlan unter Suse 9.0 in den Betrieb zu bekommen.
Eines vorweg: Ich bin ziemlicher Linux-Neuling.
Mir sind zwar die Grundlagen der Programmierung klar, aber mit den Paketen unter Linux blicke ich absolut nicht durch...
So habe ich z.B. lange nicht verstanden, warum "make" nicht funktioniert, ich dachte es sei ein Sytembefehl wie "dir". Natürlich gehen alle Anletungen davon aus, dass jeder weiß, dass man das installieren muss...
Zu meinem Problem:
Unter www.linux-infopage.de habe ich gelesen, dass man ein Programm / Modul / ? namens ndiswrapper installieren muss, um den Centrino Wlan Chip zum laufen zu kriegen.
Ich habe also nach der Anletung dort den Ndiswrapper und den Treiber für die Wlan-Karte gezogen.
In der Anleitung da steht nur dummerweise:
1. Was man runterladen soll ... -> OK
2. Wie man es entpackt...-> OK
3. ...make install.... ??? Geht nicht, siehe unten
4. Jetzt machen Sie... -> JA WIE DEN?
Als Linux Einsteiger sehe ich nur, dass da was nicht geht, aber was will er denn von mir ?
Da ich auch ein bisschen Perl schreibe, würde ich sagen, da fehlt irgendwo eine Klammer, oder ein ; ...
Hat irgendwer eine Idee? Bin damit ziemlich am Verzweiflen.
Und dann schimpfen alle auf Windows. Bei Windows steht wehnigstens immer: "Geht nicht, WEIL..."
Bei Linux muss man sich offenbar an "Geht nicht, such doch selber" gewöhnen...*kotz*
Danke im voraus.
mfg
trequ
ich versuche auf einem Asus Centrino Wlan Notebook das Wlan unter Suse 9.0 in den Betrieb zu bekommen.
Eines vorweg: Ich bin ziemlicher Linux-Neuling.
Mir sind zwar die Grundlagen der Programmierung klar, aber mit den Paketen unter Linux blicke ich absolut nicht durch...
So habe ich z.B. lange nicht verstanden, warum "make" nicht funktioniert, ich dachte es sei ein Sytembefehl wie "dir". Natürlich gehen alle Anletungen davon aus, dass jeder weiß, dass man das installieren muss...
Zu meinem Problem:
Unter www.linux-infopage.de habe ich gelesen, dass man ein Programm / Modul / ? namens ndiswrapper installieren muss, um den Centrino Wlan Chip zum laufen zu kriegen.
Ich habe also nach der Anletung dort den Ndiswrapper und den Treiber für die Wlan-Karte gezogen.
In der Anleitung da steht nur dummerweise:
1. Was man runterladen soll ... -> OK
2. Wie man es entpackt...-> OK
3. ...make install.... ??? Geht nicht, siehe unten
4. Jetzt machen Sie... -> JA WIE DEN?
Als Linux Einsteiger sehe ich nur, dass da was nicht geht, aber was will er denn von mir ?
Code:
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-215-default/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-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' undeclared here (not in a function)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a constant
In file included from wrapper.c:27:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared 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 function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
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 here (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: No such file or directory
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/{linux,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 from 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 files - 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 exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/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 the 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/include"
/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 accordingly."
/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: No such file or directory
ndiswrapper.h:48: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:
/usr/include/linux/workqueue.h:44:1: warning: this is the location of the previous 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: warning: `struct iw_request_info' declared inside parameter list
iw_ndis.h:23: warning: its scope is only this definition or declaration, which is probably not what you want
wrapper.c: In function `hangcheck':
wrapper.c:281: warning: implicit declaration of function `schedule_task'
wrapper.c: In function `hangcheck_add':
wrapper.c:300: warning: implicit declaration of function `INIT_TQUEUE'
wrapper.c: In function `ndis_init_one':
wrapper.c:968: warning: implicit declaration of function `pci_request_regions'
wrapper.c:1000: warning: implicit declaration of function `pci_release_regions'
wrapper.c: In function `ndis_remove_one':
wrapper.c:1053: warning: 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: warning: `ndis_get_link' defined but not used
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/home/ndiswrapper-0.7/driver'
make: *** [install] Error 2
linux:/home/ndiswrapper-0.7 #
Da ich auch ein bisschen Perl schreibe, würde ich sagen, da fehlt irgendwo eine Klammer, oder ein ; ...
Hat irgendwer eine Idee? Bin damit ziemlich am Verzweiflen.
Und dann schimpfen alle auf Windows. Bei Windows steht wehnigstens immer: "Geht nicht, WEIL..."
Bei Linux muss man sich offenbar an "Geht nicht, such doch selber" gewöhnen...*kotz*
Danke im voraus.
mfg
trequ