WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

 
 
Themen-Optionen Ansicht
Alt 23.04.2003, 05:50   #1
The_Lord_of_Midnight
Gesperrt
 
Registriert seit: 26.10.1999
Beiträge: 19.154

Mein Computer

Böse redhat as 2.1: 3c90x.c:2191: warning: cast from pointer to integer of different size

Bin wieder einmal beim Installieren von Redhat Linux Advanced Server 2.1.
Konfiguration:
Asus A7N8X Deluxe, Nvidia Nforce 2 Chipsatz

Das Problem ist die Onboard-Netzwerkkarte. Laut Windows wäre es ein 3c920b-Emb integrated fast ethernet controller.
die linux-treiber-cd beinhaltet einen treiber 3c90x.c + 3c90x.h.

derselbe treiber ist auch unter http://support.3com.com/infodeli/too...uxdownload.htm
zu finden: 3c90x-102.tar.gz

laut installationsanleitung soll man den treiber compilieren:
gcc -c 3c90x.c -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/$(uname -r)/build/include -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=486 -DMODULE -D__KERNEL__ -DMODVERSIONS

dabei bekomme ich folgende fehlermeldungen:
In file included from 3c90x.h:22,
from 3c90x.c:1:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
3c90x.c: In function `tc90x_FreeAdapterResources':
3c90x.c:2191: warning: cast from pointer to integer of different size
3c90x.c: In function `tc90x_AllocateSharedMemory':
3c90x.c:2901: warning: cast to pointer from integer of different size

das ist das listing:
total 314
-rwxr-xr-x 1 root root 244953 Aug 17 2001 3c90x.c
-rwxr-xr-x 1 root root 51218 Aug 2 2001 3c90x.h
-rwxr-xr-x 1 root root 460 Apr 23 03:34 compile.sh
-rwxr-xr-x 1 root root 256 Jul 13 2001 compile_SMP
-rwxr-xr-x 1 root root 246 Jul 13 2001 compile_UP
-rw-r--r-- 1 root root 788 Apr 23 03:48 err.txt
-rwxr-xr-x 1 root root 1313 Aug 2 2001 install3c90x
-rw-r--r-- 1 root root 114 Apr 23 03:28 list.txt
-rw-r--r-- 1 root root 0 Apr 23 03:49 ls.txt
-rwxr-xr-x 1 root root 12648 Aug 15 2001 readme

so jetzt leg i mi nieder und hoffe, das jemand einen hint hat.
The_Lord_of_Midnight ist offline   Mit Zitat antworten
 


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 10:18 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag