PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Realtek Rtl 8180 PCMIA



speeder
11.02.04, 21:43
Hallo!

Und zwar habe ich folgendes Problem beim installieren der Rtl 8180 W-LAN Karte. Kernelrelease habe ich angepasst und Sourcen sind auch installiert. Den Treiber für GCC Version 3.x habe ich von Realtek Seite runtergeladen.
Dann mit "make" versucht zu installieren:

gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.21-166-athlon/include -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -DRTL8180_DRV_ON_PC -DENABLE_DBG_PRINT -c -o r8180_pci_init.o r8180_pci_init.c
In file included from /usr/include/linux/module.h:20,
from r8180_pci_init.c:21:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from /usr/include/linux/mm.h:205,
from /usr/include/linux/skbuff.h:26,
from /usr/include/linux/netdevice.h:147,
from r8180_pci_init.c:29:
/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 r8180_pci_init.c:29:
/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 r8180_pci_init.c:29:
/usr/include/asm/irq.h:16:25: irq_vectors.h: Datei oder Verzeichnis nicht gefunden
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 r8180_pci_init.c:29:
/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 r8180_pci_init.c:29:
/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 r8180_pci_init.c:29:
/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
In file included from r8180_pci_init.c:40:
r8180_type.h:62:1: Warnung: "ENABLE_DBG_PRINT" redefined
<command line>:11:1: Warnung: this is the location of the previous definition
In file included from r8180_pci_init.c:40:
r8180_type.h:149: error: conflicting types for `timer_t'
/usr/include/linux/types.h:31: error: previous declaration of `timer_t'
make: *** [r8180_pci_init.o] Fehler 1



Ich benutze Suse 9.0 mit Kernel 2.4.21-166-athlon.

Ich habe schon vieles probiert komme aber einfach nicht weiter.

speeder
21.02.04, 20:05
Weiß denn niemand eine Antwort? Bitte helft mir!!!

dile
21.02.04, 20:20
ich hab genau das gleiche Problem
auch unter Suse 9.0 allerdings mit dem standard Kernel 2.4.21-166

dile
21.02.04, 20:27
die Fehlermeldung error unknown processor family --> liegt an einem Fehler in der
Makefile --> nachdem ich dort das Kernelrelease richtig eingetragen hab funktioniert das






#-----------------------------------------------
#Specify kernel version and include path
#-----------------------------------------------
KERNELRELEASE=2.4.21-166
INCLUDEPATH=-I /usr/src/linux-$(KERNELRELEASE)/include/
INSTALLPATH=/lib/modules/$(KERNELRELEASE)/kernel/drivers/net/wireless


ich bekomme aber immer noch r8180_type.h:149: error: conflicting types for `timer_t'

frock
21.02.04, 20:31
Original geschrieben von dile
die Fehlermeldung error unknown processor family --> liegt an einem Fehler in der
Makefile --> nachdem ich dort das Kernelrelease richtig eingetragen hab funktioniert das






#-----------------------------------------------
#Specify kernel version and include path
#-----------------------------------------------
KERNELRELEASE=2.4.21-166
INCLUDEPATH=-I /usr/src/linux-$(KERNELRELEASE)/include/
INSTALLPATH=/lib/modules/$(KERNELRELEASE)/kernel/drivers/net/wireless


ich bekomme aber immer noch r8180_type.h:149: error: conflicting types for `timer_t'


du bist nicht allein...hoffentlich tröstet dich das etwas, bei deinem neuen problem hänge ich auch.

ich hatte die karte mal am laufen, und zwar vor dem kernel update, danach war sise wieder tot.

Gruß Frockert

dile
22.02.04, 17:27
hab es mit make jetzt hinbekommen siehe

http://www.linuxforen.de/forums/showthread.php?s=&threadid=124203&highlight=wlan+realtek