rt2500 treiber installieren

X

x1983

Grünschnabel
Hallo zusammen,
Hab mir vor einigen Tagen den ct-special-network Server mit ipcop (aus der ct 4/2005 http://www.heise.de/ct/ftp/projekte/srv/ )
installieret, funktioniert soweit auch ganz gut
leider bekomm ich die rt2500 Treiber für meine WLAN-Karte nicht
installiert.
Wlan karte ist von MSI PC54G2 mit RaLink rt2500 chip

hab die Treiber nach /usr/src/RT2500-Linux-STA-1.4.6.4/ entpackt,
kernel-source und kernel-headers von der ct cd installiert.
Anschließen führte ich ./Configure aus und gab das Verzeichnis der
kernel-source (/usr/src/kernel-source-2.6.12-ct-1) an
wenn ich dann make all ausführen will bekomm ich diesen Fehler

/usr/src/kernel-source-2.6.12-ct-1/include/linux/elf.h:441: Warnung:
array `_DYNAMIC' assumed to have one element
mlme.h:501: Warnung: array `RateIdTo500Kbps' assumed to have one
element
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:228: error:
storage size of `mmap_sem' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:266: error:
storage size of `default_kioctx' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:274: error:
storage size of `action' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:295: error:
storage size of `shared_pending' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:358: error:
storage size of `rlim' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:645: error:
storage size of `start_time' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:673: error:
storage size of `thread' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/sched.h:685: error:
storage size of `pending' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/stat.h:68: error:
storage size of `atime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/stat.h:69: error:
storage size of `mtime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/stat.h:70: error:
storage size of `ctime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:279: error:
storage size of `ia_atime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:280: error:
storage size of `ia_mtime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:281: error:
storage size of `ia_ctime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/quota.h:223: error:
storage size of `dq_dqb' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:364: error:
storage size of `bd_sem' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:365: error:
storage size of `bd_mount_sem' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:440: error:
storage size of `i_atime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:441: error:
storage size of `i_mtime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:442: error:
storage size of `i_ctime' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:449: error:
storage size of `i_sem' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:450: error:
storage size of `i_alloc_sem' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:586: error:
storage size of `f_owner' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:772: error:
storage size of `s_umount' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:773: error:
storage size of `s_lock' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/fs.h:802: error:
storage size of `s_vfs_rename_sem' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/skbuff.h:140: error:
storage size of `frags' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/netdevice.h:486:
error: storage size of `class_dev' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:598:
error: storage size of `qual' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:560:
error: storage size of `discard' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:561:
error: storage size of `miss' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:594:
error: storage size of `retry' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:596:
error: storage size of `encoding' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:597:
error: storage size of `power' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:603:
error: storage size of `param' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:664:
error: storage size of `max_qual' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:674:
error: storage size of `avg_qual' isn't known
/usr/src/kernel-source-2.6.12-ct-1/include/linux/wireless.h:725:
error: storage size of `freq' isn't known
rtmp.h:1008: error: storage size of `TxRing' isn't known
rtmp.h:1009: error: storage size of `AtimRing' isn't known
rtmp.h:1010: error: storage size of `PrioRing' isn't known
rtmp.h:1011: error: storage size of `RxRing' isn't known
rtmp.h:1012: error: storage size of `BeaconRing' isn't known
rtmp.h:1102: error: storage size of `iw_stats' isn't known
rtmp_main.c:734: Warnung: `RT2500_remove_one' defined but not used
make: *** [rtmp_main.o] Fehler 1

mit lspci wird die wlan karte richtig angezeigt
0000:00:14.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus
Reference Card (rev 01)

cat /proc/pci gibt folgendes aus:
Bus 0, device 20, function 0:
Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference
Card (rev 1).
IRQ 10.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xf3ede000 [0xf3edffff].

ich hoffe es kann mir jemand helfen.
Vielen Dank
x1983
 
Du hast die Kernel-Sources und Header's von der CT-CD genommen? Passen die ueberhaupt zu deinem laufenden Kernel? Warum nimmst du nicht die von deiner Distro, die fuer deinen Kernel sind? Sieht mir naemlich sehr nach falsch verlinkten Headers aus oder nicht vorkompilierten Sources. Hast du in den Sources ein Konfiguration angelegt und die mal durchkompiliert (nicht installiert)?
 
Hab die Kernel-Sources und Kernel-Headers von der ct-cd installiert
uname -r gibt mir auch diesen kernel aus. So wie ich das versteh ist das ein von ct angepasster Kernel.

was mich etwas verundert hat war als ich die Kernel-Sources mit dselect installierte war in /usr/src nur ein tar.bz2 archive das ich dann maluel entpackt hab. Die Kernel-Headers wurden automatisch entpackt
weiss nicht ob das so sein muss bin es nur von suse gewönt dass die automatisch entpackt werden

hab vorhin versucht den Kernel neu zu kompilieren
wenn ich make menueconfig bekomm ich auch Fehler.
 
Dass du erstmal nur einen tarball hast, ist voellig normal. Deine Fehler beim menuconfig kann dir aber niemand erklaeren, wenn du nicht postet, welche Meldungen du bekommst.
 
das ist der fehler bie menuconfig

server:/usr/src/kernel-source-2.6.12-ct-1# make menuconfig
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:105:23: sys/types.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:106:22: sys/stat.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:107:22: sys/mman.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:108:20: unistd.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:109:19: fcntl.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:110:20: string.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:111:20: stdlib.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:112:19: stdio.h: Datei oder Verzeichnis nicht gefunden
In Datei, eingef�t von /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
von /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,

von scripts/basic/fixdep.c:113:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:114:19: ctype.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:115:23: arpa/inet.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c: In Funktion �usage�:
scripts/basic/fixdep.c:129: Warnung: implicit declaration of function `fprintf'
scripts/basic/fixdep.c:129: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:129: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:129: error: for each function it appears in.)
scripts/basic/fixdep.c:130: Warnung: implicit declaration of function `exit'
scripts/basic/fixdep.c: In Funktion �print_cmdline�:
scripts/basic/fixdep.c:135: Warnung: implicit declaration of function `printf'
scripts/basic/fixdep.c: Auf h�hster Ebene:
scripts/basic/fixdep.c:138: error: `NULL' undeclared here (not in a function)
scripts/basic/fixdep.c: In Funktion �grow_config�:
scripts/basic/fixdep.c:151: Warnung: implicit declaration of function `realloc'
scripts/basic/fixdep.c:151: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
scripts/basic/fixdep.c:152: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:153: Warnung: implicit declaration of function `perror'
scripts/basic/fixdep.c: In Funktion �is_defined_config�:
scripts/basic/fixdep.c:169: Warnung: implicit declaration of function `memcmp'
scripts/basic/fixdep.c: In Funktion �define_config�:
scripts/basic/fixdep.c:182: Warnung: implicit declaration of function `memcpy'
scripts/basic/fixdep.c: In Funktion �use_config�:
scripts/basic/fixdep.c:201: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:215: Warnung: implicit declaration of function `tolower'
scripts/basic/fixdep.c:201: Warnung: unused variable `s'
scripts/basic/fixdep.c: Auf h�hster Ebene:
scripts/basic/fixdep.c:220: error: Syntaxfehler before "size_t"
scripts/basic/fixdep.c:221: Warnung: function declaration isn't a prototype
scripts/basic/fixdep.c: In Funktion �parse_config_file�:
scripts/basic/fixdep.c:222: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:222: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:228: Warnung: implicit declaration of function `ntohl'
scripts/basic/fixdep.c:239: Warnung: implicit declaration of function `isalnum'
scripts/basic/fixdep.c: In Funktion �strrcmp�:
scripts/basic/fixdep.c:252: Warnung: implicit declaration of function `strlen'
scripts/basic/fixdep.c: In Funktion �do_config_file�:
scripts/basic/fixdep.c:263: error: storage size of `st' isn't known
scripts/basic/fixdep.c:267: Warnung: implicit declaration of function `open'
scripts/basic/fixdep.c:267: error: `O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:269: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:273: Warnung: implicit declaration of function `fstat'
scripts/basic/fixdep.c:275: Warnung: implicit declaration of function `close'
scripts/basic/fixdep.c:278: Warnung: implicit declaration of function `mmap'
scripts/basic/fixdep.c:278: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:278: error: `PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:278: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:278: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
scripts/basic/fixdep.c:287: Warnung: implicit declaration of function `munmap'
scripts/basic/fixdep.c:263: Warnung: unused variable `st'
scripts/basic/fixdep.c: Auf h�hster Ebene:
scripts/basic/fixdep.c:292: error: Syntaxfehler before "size_t"
scripts/basic/fixdep.c:293: Warnung: function declaration isn't a prototype
scripts/basic/fixdep.c: In Funktion �parse_dep_file�:
scripts/basic/fixdep.c:294: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:295: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:297: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:299: Warnung: implicit declaration of function `strchr'
scripts/basic/fixdep.c:301: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:297: Warnung: unused variable `s'
scripts/basic/fixdep.c: In Funktion �print_deps�:
scripts/basic/fixdep.c:334: error: storage size of `st' isn't known
scripts/basic/fixdep.c:338: error: `O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:340: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:350: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:350: error: `PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:350: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:350: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
scripts/basic/fixdep.c:334: Warnung: unused variable `st'
scripts/basic/fixdep.c: In Funktion �traps�:
scripts/basic/fixdep.c:369: error: `stderr' undeclared (first use in this function)
make[1]: *** [scripts/basic/fixdep] Fehler 1
make: *** [scripts_basic] Fehler 2
server:/usr/src/kernel-source-2.6.12-ct-1#
 

Ähnliche Themen

Akonadi startet nicht mehr

Debian Routing Problem

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Rollei Mini Wifi Camcorder

Windows clients können nicht mehr auf lange laufendes System zugreifen

Zurück
Oben