SuSE 10.1: Railink Chipsatz Probleme

obec

obec

Foren As
Hallo,
habe einen USB WLAn Stick mit Railinkchipsatz.
Bei der Installation des Treibers von dieser Website:http://www.ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.6.tar.gz
kamen bei dem Befehl
make
folgende Problem auf:
Hier die Konsolenausgaben:
linux:/home/knex/bin/HAMA/RT73_Linux_STA_Drv1.0.3.6/Module # make
cc -D__KERNEL__ -I/usr/src/linux-2.4.18-3/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-3/include/linux/modversions.h -Wall -Wstrict-prototypes -Wno-trigraphs -c -o rtmp_main.o rtmp_main.c
cc1: error: /usr/src/linux-2.4.18-3/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/asm/percpu.h:4,
from /usr/include/asm/processor.h:24,
from /usr/include/asm/thread_info.h:17,
from /usr/include/linux/thread_info.h:21,
from /usr/include/linux/preempt.h:10,
from /usr/include/linux/spinlock.h:52,
from /usr/include/linux/capability.h:45,
from /usr/include/linux/sched.h:7,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/asm-generic/percpu.h:8: error: ‘CONFIG_NR_CPUS’ undeclared here (not in a function)
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/linux/jiffies.h:33:3: error: #error You lose.
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:248:46: error: division by zero in #if
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/linux/jiffies.h: In function ‘jiffies_to_msecs’:
/usr/include/linux/jiffies.h:253: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:253: error: (Each undeclared identifier is reported only once
/usr/include/linux/jiffies.h:253: error: for each function it appears in.)
/usr/include/linux/jiffies.h:259:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘jiffies_to_usecs’:
/usr/include/linux/jiffies.h:264: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:272:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘msecs_to_jiffies’:
/usr/include/linux/jiffies.h:277: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:285:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘usecs_to_jiffies’:
/usr/include/linux/jiffies.h:290: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘timespec_to_jiffies’:
/usr/include/linux/jiffies.h:309: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:315: error: ‘SHIFT_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘jiffies_to_timespec’:
/usr/include/linux/jiffies.h:328: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘timeval_to_jiffies’:
/usr/include/linux/jiffies.h:350: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:354: error: ‘SHIFT_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘jiffies_to_timeval’:
/usr/include/linux/jiffies.h:366: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘jiffies_to_clock_t’:
/usr/include/linux/jiffies.h:380: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘clock_t_to_jiffies’:
/usr/include/linux/jiffies.h:391: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘jiffies_64_to_clock_t’:
/usr/include/linux/jiffies.h:411: error: ‘CONFIG_HZ’ undeclared (first use in this function)
In file included from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:23,
from /usr/include/asm/semaphore.h:41,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/linux/prefetch.h: In function ‘prefetch_range’:
/usr/include/linux/prefetch.h:64: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared (first use in this function)
In file included from /usr/include/linux/rwsem.h:27,
from /usr/include/asm/semaphore.h:42,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/asm/rwsem.h: In function ‘__down_read’:
/usr/include/asm/rwsem.h:105: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__down_write’:
/usr/include/asm/rwsem.h:157: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__up_read’:
/usr/include/asm/rwsem.h:194: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__up_write’:
/usr/include/asm/rwsem.h:220: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__downgrade_write’:
/usr/include/asm/rwsem.h:245: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/asm/semaphore.h: In function ‘down’:
/usr/include/asm/semaphore.h:105: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/semaphore.h: In function ‘down_interruptible’:
/usr/include/asm/semaphore.h:130: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/semaphore.h: In function ‘down_trylock’:
/usr/include/asm/semaphore.h:155: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/semaphore.h: In function ‘up’:
/usr/include/asm/semaphore.h:179: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:5,
from /usr/include/linux/sched.h:34,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/linux/mmzone.h: At top level:
/usr/include/linux/mmzone.h:41: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
/usr/include/linux/mmzone.h:41: error: requested alignment is not a constant
/usr/include/linux/mmzone.h:64: error: requested alignment is not a constant
/usr/include/linux/mmzone.h:249: error: requested alignment is not a constant
In file included from /usr/include/linux/sched.h:37,
from /usr/include/linux/module.h:10,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/linux/rcupdate.h:69: error: requested alignment is not a constant
/usr/include/linux/rcupdate.h:72: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:23,
from rt_config.h:63,
from rtmp_main.c:40:
/usr/include/asm/module.h:62:2: error: #error unknown processor family
In file included from rt_config.h:64,
from rtmp_main.c:40:
/usr/include/linux/version.h:2:2: error: #error "======================================================="
/usr/include/linux/version.h:3:2: error: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: error: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: error: #error ""
/usr/include/linux/version.h:6:2: error: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: error: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: error: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: error: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: error: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: error: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: error: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: error: #error ""
/usr/include/linux/version.h:14:2: error: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: error: #error ""
/usr/include/linux/version.h:16:2: error: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: error: #error ""
/usr/include/linux/version.h:18:2: error: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: error: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: error: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: error: #error ""
/usr/include/linux/version.h:22:2: error: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: error: #error " - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: error: #error " - make mrproper"
/usr/include/linux/version.h:25:2: error: #error " - make cloneconfig"
/usr/include/linux/version.h:26:2: error: #error " - make dep"
/usr/include/linux/version.h:27:2: error: #error ""
/usr/include/linux/version.h:28:2: error: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:29:2: error: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:30:2: error: #error ""
/usr/include/linux/version.h:31:2: error: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:32:2: error: #error ""
/usr/include/linux/version.h:33:2: error: #error " instead of"
/usr/include/linux/version.h:34:2: error: #error ""
/usr/include/linux/version.h:35:2: error: #error " -I/usr/include/linux"
/usr/include/linux/version.h:36:2: error: #error ""
/usr/include/linux/version.h:37:2: error: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:38:2: error: #error "======================================================="
In file included from /usr/include/asm/fixmap.h:27,
from /usr/include/asm/pgtable.h:17,
from /usr/include/linux/mm.h:38,
from /usr/include/asm/pci.h:7,
from /usr/include/linux/pci.h:650,
from rt_config.h:73,
from rtmp_main.c:40:
/usr/include/asm/acpi.h:31:28: error: acpi/pdc_intel.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/asm/pci.h:7,
from /usr/include/linux/pci.h:650,
from rt_config.h:73,
from rtmp_main.c:40:
/usr/include/linux/mm.h: In function ‘lowmem_page_address’:
/usr/include/linux/mm.h:517: error: ‘CONFIG_PAGE_OFFSET’ undeclared (first use in this function)
In file included from /usr/include/asm/pci.h:42,
from /usr/include/linux/pci.h:650,
from rt_config.h:73,
from rtmp_main.c:40:
/usr/include/asm/io.h: In function ‘virt_to_phys’:
/usr/include/asm/io.h:78: error: ‘CONFIG_PAGE_OFFSET’ undeclared (first use in this function)
/usr/include/asm/io.h: In function ‘phys_to_virt’:
/usr/include/asm/io.h:96: error: ‘CONFIG_PAGE_OFFSET’ undeclared (first use in this function)
In file included from /usr/include/linux/if_ether.h:110,
from /usr/include/linux/netdevice.h:29,
from rt_config.h:74,
from rtmp_main.c:40:
/usr/include/linux/skbuff.h:31:26: error: net/checksum.h: Datei oder Verzeichnis nicht gefunden
In file included from rt_config.h:74,
from rtmp_main.c:40:
/usr/include/linux/netdevice.h: At top level:
/usr/include/linux/netdevice.h:374: error: requested alignment is not a constant
/usr/include/linux/netdevice.h:391: error: requested alignment is not a constant
/usr/include/linux/netdevice.h:405: error: requested alignment is not a constant
/usr/include/linux/netdevice.h:423: error: requested alignment is not a constant
In file included from /usr/include/linux/irq.h:22,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/netdevice.h:534,
from rt_config.h:74,
from rtmp_main.c:40:
/usr/include/asm/irq.h:16:25: error: irq_vectors.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/netdevice.h:534,
from rt_config.h:74,
from rtmp_main.c:40:
/usr/include/linux/irq.h:83: error: requested alignment is not a constant
/usr/include/linux/irq.h:85: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:94,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/netdevice.h:534,
from rt_config.h:74,
from rtmp_main.c:40:
/usr/include/asm/hw_irq.h:30: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/netdevice.h:534,
from rt_config.h:74,
from rtmp_main.c:40:
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from rtmp_main.c:40:
rt_config.h:99:34: error: asm-i386/atomic.h: Datei oder Verzeichnis nicht gefunden
In file included from rt_config.h:189,
from rtmp_main.c:40:
rtmp.h:110:41: error: missing binary operator before token "("
rtmp.h:2756:40: error: missing binary operator before token "("
rtmp_main.c:89: warning: initialization from incompatible pointer type
rtmp_main.c:90: warning: initialization from incompatible pointer type
rtmp_main.c: In function ‘MlmeThread’:
rtmp_main.c:1565: error: too few arguments to function ‘daemonize’
rtmp_main.c: In function ‘RTUSBCmdThread’:
rtmp_main.c:1633: error: too few arguments to function ‘daemonize’
rtmp_main.c: In function ‘usb_rtusb_probe’:
rtmp_main.c:1703: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
rtmp_main.c:1704: warning: implicit declaration of function ‘usb_dec_dev_use’
rtmp_main.c:1711: warning: assignment from incompatible pointer type
rtmp_main.c:1737: warning: initialization from incompatible pointer type
rtmp_main.c:1768: error: ‘struct usb_interface’ has no member named ‘act_altsetting’
rtmp_main.c:1769: error: ‘struct usb_interface_descriptor’ has no member named ‘endpoint’
rtmp_main.c: In function ‘usb_rtusb_disconnect’:
rtmp_main.c:1816: error: ‘MOD_IN_USE’ undeclared (first use in this function)
rtmp_main.c:1817: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
make: *** [rtmp_main.o] Fehler 1
linux:/home/knex/bin/HAMA/RT73_Linux_STA_Drv1.0.3.6/Module #
linux:/home/knex/bin/HAMA/RT73_Linux_STA_Drv1.0.3.6/Module #
kernel-sources und make, gcc sind installiert.
Ich glaub ich hab noch nie so viele Probleme auf einmal gesehen.

Wäre dankbar für Hilfe

Gruß

obec
 

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Samba 4.1.9 mit Bind 9.9.4

xrandr: cant open display

Akonadi startet nicht mehr

Zurück
Oben