Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fxusb - Kmpielierungsprobleme
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Sun Dec 08, 2002 9:03 pm    Post subject: fxusb - Kmpielierungsprobleme Reply with quote

Bisher benutze ich Kernel 2.4.19 wo drunter sich das Modul von
AVM kompilieren lässt.

Nun wollte ich auf 2.4.20 updaten bekomm aber leider das Modul
nicht kompiliert.:cry:

Folgend die Fehlermeldung

Code:
main.c: /usr/src/linux/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
In file included from main.c:34:
driver.h:69: parse error before "purb_t"
driver.h:69: warning: no semicolon at end of struct or union
driver.h:70: warning: type defaults to `int' in declaration of `rx_urb'
driver.h:70: warning: data definition has no type or storage class
driver.h:88: parse error before '}' token
driver.h:88: warning: type defaults to `int' in declaration of `dev_context_t'
driver.h:88: warning: type defaults to `int' in declaration of `dev_context_p'
driver.h:88: warning: data definition has no type or storage class
driver.h:107: parse error before "get_context"
driver.h:107: warning: type defaults to `int' in declaration of `get_context'
driver.h:107: warning: data definition has no type or storage class
driver.h:108: parse error before "pdc"
driver.h:126: parse error before "f_usb_capi_ctx"
driver.h:126: warning: type defaults to `int' in declaration of `f_usb_capi_ctx'
driver.h:126: warning: data definition has no type or storage class
main.c: In function `f_usb_probe':
main.c:122: parse error before "pdc"
main.c:150: `pdc' undeclared (first use in this function)
main.c:150: (Each undeclared identifier is reported only once
main.c:150: for each function it appears in.)
main.c:150: parse error before "hmalloc"
main.c:123: warning: unused variable `iface'
main.c:125: warning: unused variable `cfgd'
main.c:152: warning: label `exit2' defined but not used
main.c: At top level:
main.c:156: warning: type defaults to `int' in declaration of `f_usb_capi_ctx'
main.c:156: `pdc' undeclared here (not in a function)
main.c:156: warning: data definition has no type or storage class
main.c:157: parse error before numeric constant
main.c:159: parse error before '&' token
main.c:176: warning: type defaults to `int' in declaration of `cfgd'
main.c:176: `dev' undeclared here (not in a function)
main.c:176: warning: data definition has no type or storage class
main.c:177: parse error before "if"
main.c:183: warning: type defaults to `int' in declaration of `iface'
main.c:183: invalid type argument of `->'
main.c:183: `ifnum' undeclared here (not in a function)
main.c:183: warning: data definition has no type or storage class
main.c:185: parse error before '->' token
main.c:237: warning: type defaults to `int' in declaration of `make_thread'
main.c:237: warning: data definition has no type or storage class
main.c:238: parse error before "if"
main.c: In function `f_usb_disconnect':
main.c:248: parse error before "pdc"
main.c:260: `pdc' undeclared (first use in this function)
main.c:268: warning: assignment makes integer from pointer without a cast
make[1]: *** [main.o] Fehler 1
make: *** [drv] Fehler 2


Thx im vorraus
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Mon Dec 09, 2002 8:17 am    Post subject: Reply with quote

Ganz einfach Lösung :

ins verzeichnis /usr/src/linux (wo Dein Kernel halt ist)

Code:

make clean && make dep && make bzImage


Danach einfach das Modul übersetzen.
So wie es aussieht hast Du Deinen Kernel auch nicht richtig installiert.

gruß,
BeforeGod
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Mon Dec 09, 2002 10:14 am    Post subject: Reply with quote

So einfach ist es halt doch nicht :(

Das komplette System läuft ja bereits mit dem 20er Kernel

Nur dieses externe Modul läuft nicht.

Hatte zur Sicherheit mir die Kernelquellen nochmal von kernel.org gehohlt

nach

Code:
make oldconfig
make menuconfig #Finetuning
make clean && make dep && make bzImage && make modules modules_install
cp arch/i386/boot/bzImage /boot/bzImage20


und reboot gehts trotzdem nich
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Mon Dec 09, 2002 11:04 am    Post subject: Reply with quote

schau mal ob das Verzeichnis /usr/src/linux auf Deinen aktuelle Kernel zeigt!
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Mon Dec 09, 2002 11:16 am    Post subject: Reply with quote

Das wäre ja schön blöd wenn ich das vergessen hätte...:oops:

Ich schau zuhause heut abend mal nach... :roll:
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Wed Dec 11, 2002 10:26 am    Post subject: Reply with quote

Also die Meldung das die Modversion.h fehlt ist weg.

Hatte nach erneutem entpacken der Kernelquellen nicht wieder

die make schritte durchgeführt :oops:

Aber der rest bleibt leider gleich
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum