Repository 32bit  Forum
Repository 64bit  Wiki

CHIUSO Problemi compilazione modulo kernel OMNIBOOK-2

Forum dedicato alla programmazione.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il linguaggio di programmazione usato.
2) Se possibile portare un esempio del risultato atteso.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.

CHIUSO Problemi compilazione modulo kernel OMNIBOOK-2

Messaggioda scartozzo » dom set 21, 2008 16:11

Buongiorno,

Utilizzo Slackware 12.1 su un notebook toshiba satellite M40X.
Vorrei utilizzare i tasti funzione e multimediali nonchè le altre opzioni.
Ho quindi scaricato il pacchetto omnibook-2.20070211.tar.gz.
Una volta scompattato in /usr/src ed entrato nella directory appena creata (omnibook-2.20070211) eseguo la compilazione con il comando "make".
Purtroppo mi restituisce il seguente errore:

Codice: Seleziona tutto
root@contri:/usr/src/omnibook-2.20070211# make
make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/usr/src/omnibook-2.20070211 modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
  CC [M]  /usr/src/omnibook-2.20070211/init.o
In file included from /usr/src/omnibook-2.20070211/init.c:26:
/usr/src/omnibook-2.20070211/laptop.h:25: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:34: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:43: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:52: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:61: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:70: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:79: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:88: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:97: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:106: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:115: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:124: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:133: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:142: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:151: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:160: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:170: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:179: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:190: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:199: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:208: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:217: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:226: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:235: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:245: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:254: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:262: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:270: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:278: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:287: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:295: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:303: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:311: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:320: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:329: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:338: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:347: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:356: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:365: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:374: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:383: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:392: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:401: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:410: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:419: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:428: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:437: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:446: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:455: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:464: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:473: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:482: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:491: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:500: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:509: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:518: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:527: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:536: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:545: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:554: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:563: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:572: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:581: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:590: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:599: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:608: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:617: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:626: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:635: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:644: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:653: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:662: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:671: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:680: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:689: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:698: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:707: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:716: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:725: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:734: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:743: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:752: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:761: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:770: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:779: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:788: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:797: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:812: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:821: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:830: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:839: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:848: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:857: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:866: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:875: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:884: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:893: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:902: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:911: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:920: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:929: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:938: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:947: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:956: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:965: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:974: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:983: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:992: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/laptop.h:1001: warning: initialization from incompatible pointer type
/usr/src/omnibook-2.20070211/init.c: In function 'dmi_matched':
/usr/src/omnibook-2.20070211/init.c:141: warning: assignment discards qualifiers from pointer target type
  CC [M]  /usr/src/omnibook-2.20070211/lib.o
  CC [M]  /usr/src/omnibook-2.20070211/ec.o
  CC [M]  /usr/src/omnibook-2.20070211/kbc.o
  CC [M]  /usr/src/omnibook-2.20070211/pio.o
  CC [M]  /usr/src/omnibook-2.20070211/compal.o
  CC [M]  /usr/src/omnibook-2.20070211/acpi.o
/usr/src/omnibook-2.20070211/acpi.c:76: warning: initialization from incompatible pointer type
  CC [M]  /usr/src/omnibook-2.20070211/nbsmi.o
/usr/src/omnibook-2.20070211/nbsmi.c:396: warning: initialization from incompatible pointer type
  CC [M]  /usr/src/omnibook-2.20070211/ac.o
  CC [M]  /usr/src/omnibook-2.20070211/battery.o
  CC [M]  /usr/src/omnibook-2.20070211/blank.o
  CC [M]  /usr/src/omnibook-2.20070211/bluetooth.o
  CC [M]  /usr/src/omnibook-2.20070211/cooling.o
  CC [M]  /usr/src/omnibook-2.20070211/display.o
  CC [M]  /usr/src/omnibook-2.20070211/dock.o
  CC [M]  /usr/src/omnibook-2.20070211/dump.o
  CC [M]  /usr/src/omnibook-2.20070211/fan.o
  CC [M]  /usr/src/omnibook-2.20070211/fan_policy.o
  CC [M]  /usr/src/omnibook-2.20070211/hotkeys.o
  CC [M]  /usr/src/omnibook-2.20070211/info.o
  CC [M]  /usr/src/omnibook-2.20070211/lcd.o
/usr/src/omnibook-2.20070211/lcd.c:37: error: unknown field 'owner' specified in initializer
/usr/src/omnibook-2.20070211/lcd.c:37: warning: initialization makes integer from pointer without a cast
/usr/src/omnibook-2.20070211/lcd.c:38: error: unknown field 'get_brightness' specified in initializer
/usr/src/omnibook-2.20070211/lcd.c:38: warning: initialization makes integer from pointer without a cast
/usr/src/omnibook-2.20070211/lcd.c:39: error: unknown field 'update_status' specified in initializer
/usr/src/omnibook-2.20070211/lcd.c:39: warning: initialization makes integer from pointer without a cast
/usr/src/omnibook-2.20070211/lcd.c: In function 'omnibook_get_backlight':
/usr/src/omnibook-2.20070211/lcd.c:48: error: 'struct backlight_device' has no member named 'class_dev'
/usr/src/omnibook-2.20070211/lcd.c: In function 'omnibook_set_backlight':
/usr/src/omnibook-2.20070211/lcd.c:58: error: invalid type argument of '->'
/usr/src/omnibook-2.20070211/lcd.c:61: error: 'struct backlight_device' has no member named 'class_dev'
/usr/src/omnibook-2.20070211/lcd.c: In function 'omnibook_brightness_init':
/usr/src/omnibook-2.20070211/lcd.c:131: warning: passing argument 4 of 'backlight_device_register' from incompatible pointer type
make[2]: *** [/usr/src/omnibook-2.20070211/lcd.o] Error 1
make[1]: *** [_module_/usr/src/omnibook-2.20070211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [omnibook.ko] Error 2
root@contri:/usr/src/omnibook-2.20070211# make install
make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/usr/src/omnibook-2.20070211 modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
  CC [M]  /usr/src/omnibook-2.20070211/lcd.o
/usr/src/omnibook-2.20070211/lcd.c:37: error: unknown field 'owner' specified in initializer
/usr/src/omnibook-2.20070211/lcd.c:37: warning: initialization makes integer from pointer without a cast
/usr/src/omnibook-2.20070211/lcd.c:38: error: unknown field 'get_brightness' specified in initializer
/usr/src/omnibook-2.20070211/lcd.c:38: warning: initialization makes integer from pointer without a cast
/usr/src/omnibook-2.20070211/lcd.c:39: error: unknown field 'update_status' specified in initializer
/usr/src/omnibook-2.20070211/lcd.c:39: warning: initialization makes integer from pointer without a cast
/usr/src/omnibook-2.20070211/lcd.c: In function 'omnibook_get_backlight':
/usr/src/omnibook-2.20070211/lcd.c:48: error: 'struct backlight_device' has no member named 'class_dev'
/usr/src/omnibook-2.20070211/lcd.c: In function 'omnibook_set_backlight':
/usr/src/omnibook-2.20070211/lcd.c:58: error: invalid type argument of '->'
/usr/src/omnibook-2.20070211/lcd.c:61: error: 'struct backlight_device' has no member named 'class_dev'
/usr/src/omnibook-2.20070211/lcd.c: In function 'omnibook_brightness_init':
/usr/src/omnibook-2.20070211/lcd.c:131: warning: passing argument 4 of 'backlight_device_register' from incompatible pointer type
make[2]: *** [/usr/src/omnibook-2.20070211/lcd.o] Error 1
make[1]: *** [_module_/usr/src/omnibook-2.20070211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [omnibook.ko] Error 2


Qualcuno può aiutarmi a risolvere il problema?

Grazie.
Avatar utente
scartozzo
Packager
Packager
 
Messaggi: 249
Iscritto il: mar feb 08, 2005 0:00
Località: Torino
Nome Cognome: Flavio Gallucci
Kernel: 3.10.10
Desktop: fluxbox
Distribuzione: blfs-7.4

Torna a Programmazione

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite