Ich versuche für den Gnublin den 3.3er Kernel mit samt dem sc16is7x2 Treiber zu kompilieren (möglichst als Modul und nicht statisch). Unter 2.6.33 hatte ich keine Probleme, den Treiber für die Serielle mit zu kompilieren, seit ich auf den 3.3er Kernel gewechselt bin, bricht mir der Kompilier-Vorgang immer ab, Log-Ausschnitt hänge ich unten an. Ich arbeite mit einem Clone von github, genauer gesagt scheint diese Datei das Problem zu sein: https://github.com/embeddedprojects/gnublin-lpc3131-3.3.0/blob/master/linux-3.3.0-lpc313x/drivers/tty/serial/sc16is7x2.c Ist irgendeinem von euch ersichtlich, was hier mein Problem bzw. Fehler sein kann? :-( Ich steige langsam nicht mehr durch, welche Abhängigkeit möglicherweise fehlt oder was es sonst noch sein kann... Viele Grüße und lieben Dank! ########################
1 | CC drivers/tty/serial/sc16is7x2.o |
2 | drivers/tty/serial/sc16is7x2.c: In function 'sc16is7x2_handle_rx': |
3 | drivers/tty/serial/sc16is7x2.c:201:2: error: implicit declaration of function 'tty_insert_flip_string' [-Werror=implicit-function-declaration] |
4 | drivers/tty/serial/sc16is7x2.c: In function 'sc16is7x2_startup': |
5 | drivers/tty/serial/sc16is7x2.c:496:2: error: implicit declaration of function 'create_freezeable_workqueue' [-Werror=implicit-function-declaration] |
6 | drivers/tty/serial/sc16is7x2.c:496:18: warning: assignment makes pointer from integer without a cast [enabled by default] |
7 | drivers/tty/serial/sc16is7x2.c: In function 'sc16is7x2_register_gpio': |
8 | drivers/tty/serial/sc16is7x2.c:894:19: error: 'THIS_MODULE' undeclared (first use in this function) |
9 | drivers/tty/serial/sc16is7x2.c:894:19: note: each undeclared identifier is reported only once for each function it appears in |
10 | drivers/tty/serial/sc16is7x2.c: At top level: |
11 | drivers/tty/serial/sc16is7x2.c:1020:20: error: 'THIS_MODULE' undeclared here (not in a function) |
12 | drivers/tty/serial/sc16is7x2.c:1060:15: error: expected declaration specifiers or '...' before string constant |
13 | drivers/tty/serial/sc16is7x2.c:1061:16: error: expected declaration specifiers or '...' before string constant |
14 | drivers/tty/serial/sc16is7x2.c:1062:20: error: expected declaration specifiers or '...' before string constant |
15 | drivers/tty/serial/sc16is7x2.c:1063:14: error: expected declaration specifiers or '...' before string constant |
16 | cc1: some warnings being treated as errors |
17 | make[3]: *** [drivers/tty/serial/sc16is7x2.o] Error 1 |
18 | make[2]: *** [drivers/tty/serial] Error 2 |
19 | make[1]: *** [drivers/tty] Error 2 |
20 | make: *** [drivers] Error 2 |