Diese Website existiert nur weil wir Werbung mit AdSense ausliefern.
Bitte den AdBlocker daher auf dieser Website ausschalten! Danke.

[gelöst] acer_acpi kompilieren auf OpenSuSE 10.2 x86_64

Alles rund um die Systemverwaltung, die Administration und Konfiguration Eures Linuxsystems

Moderator: Moderatoren

Antworten
Alarich
Newbie
Newbie
Beiträge: 33
Registriert: 19. Jul 2006, 16:51

[gelöst] acer_acpi kompilieren auf OpenSuSE 10.2 x86_64

Beitrag von Alarich » 6. Aug 2007, 14:58

Hallo,

ich probiere hier gerade, das Modul acer_acpi auf meinem Acer Aspire 5051AWXMi zu kompilieren. Ich verwende OpenSuSE 10.2 x86_64.

Beim Aufruf von make bekomme ich folgenden Fehler:

Code: Alles auswählen

 su
Passwort:
Roderich:/home/markus/Archive/acer_acpi-0.7 # make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/markus/Archive/acer_acpi-0.7 modules
make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.5-obj/x86_64/default'
make -C ../../../linux-2.6.18.8-0.5 O=../linux-2.6.18.8-0.5-obj/x86_64/default modules
  CC [M]  /home/markus/Archive/acer_acpi-0.7/acer_acpi.o
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:295: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:296: error: expected ‘;’ before ‘acpi_status’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:438: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘has_cap’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘interface_free’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:449: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:453: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:465: error: expected ‘)’ before ‘value’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘AMW0_init’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:538: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:539: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:564: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:601: error: expected ‘)’ before ‘value’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:683: error: unknown field ‘get_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:683: error: ‘AMW0_get_bool’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:683: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:683: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:684: error: unknown field ‘set_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:684: error: ‘AMW0_set_bool’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:684: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:684: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:685: error: unknown field ‘get_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:685: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:685: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:686: error: unknown field ‘set_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:686: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:686: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘WMID_init’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:707: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:708: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:838: error: unknown field ‘get_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:838: error: ‘get_bool_via_u8’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:838: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:838: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:839: error: unknown field ‘set_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:839: error: ‘set_bool_via_u8’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:839: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:839: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:840: error: unknown field ‘get_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:840: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:840: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:841: error: unknown field ‘set_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:841: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:841: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:842: error: unknown field ‘data’ specified in initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:842: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:842: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:897: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘set_bool’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:908: error: ‘struct Interface’ has no member named ‘set_bool’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:909: error: ‘struct Interface’ has no member named ‘set_bool’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘get_u8’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:917: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:918: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘set_u8’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:926: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:929: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:933: error: ‘struct Interface’ has no member named ‘set_u8’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:934: error: ‘struct Interface’ has no member named ‘set_u8’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘read_bool’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:972: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:972: error: (Each undeclared identifier is reported only once
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:972: error: for each function it appears in.)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:972: error: expected ‘;’ before ‘result’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:973: error: implicit declaration of function ‘get_bool’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:973: error: ‘result’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:973: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘acer_acpi_suspend’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1105: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1105: error: expected ‘;’ before ‘value’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1106: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1121: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1122: error: implicit declaration of function ‘has_cap’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1122: error: ‘value’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: In function ‘acer_acpi_resume’:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1144: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1151: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1198: warning: initialization from incompatible pointer type
/home/markus/Archive/acer_acpi-0.7/acer_acpi.c:1199: warning: initialization from incompatible pointer type
make[4]: *** [/home/markus/Archive/acer_acpi-0.7/acer_acpi.o] Fehler 1
make[3]: *** [_module_/home/markus/Archive/acer_acpi-0.7] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.5-obj/x86_64/default'
make: *** [acer_acpi.ko] Fehler 2
Ich habe im Verzeichnis auch schon make mrproper und make cloneconfig ausgeführt. Anschließend noch make modules_prepare. Hat leider nichts gebracht...
Oder ist das Modul unter x86_64 nicht zum Laufen zu bringen? Wäre schade, ich hätte halt auch gern unter Linux suspend to disc...
Wäre für Tipps dankbar..

Danke schon mal,

Alarich

\EDIT: 7.8.07

Ich habe es auch schon mit einem rebuild des Packages von Bugzilla versucht, aber irgendwie scheint mein Laptop von der Version noch nicht unterstützt zu sein...

https://bugzilla.novell.com/show_bug.cgi?id=221646

Gibts vielleicht irgendwo ein neueres Package?

--zweiter Edit 7.8.07
Habe jetzt ein neueres SRC-Paket gefunden. Habe dieses auch erfolgreich mit rpmbuild --rebuild bauen und installieren können.

Bekomme nun aber folgende Meldung:

Code: Alles auswählen

modprobe acer_acpi
FATAL: Error inserting acer_acpi (/lib/modules/2.6.18.8-0.5-default/updates/acer_acpi.ko): No such device
Was mache ich falsch? An was kann das liegen? :cry:
Zuletzt geändert von Alarich am 14. Sep 2007, 12:13, insgesamt 1-mal geändert.

Werbung:
Alarich
Newbie
Newbie
Beiträge: 33
Registriert: 19. Jul 2006, 16:51

Beitrag von Alarich » 7. Aug 2007, 18:17

Zur Info hier die letzten Zeilen der Ausgaben von dmesg, nachdem ich versucht habe, das Modul mit modprobe acer_acpi zu laden:

Code: Alles auswählen

acer_acpi: Acer Laptop ACPI Extras version 0.5
acer_acpi: No WMI interface, unable to load.
Laut Homepage wird aber die Acer Aspire 5050 Serie unterstützt. Ich hoffe, das hilft ein wenig weiter...

Alarich
Newbie
Newbie
Beiträge: 33
Registriert: 19. Jul 2006, 16:51

Beitrag von Alarich » 12. Sep 2007, 12:28

So, mittlerweile ist eine neue Version freigegeben. Leider komme ich auch mit dieser nicht zum Erfolg.

Hier die Ausgabe der Konsole, wenn ich make eingebe:

Code: Alles auswählen

make -C /lib/modules/`uname -r`/build SUBDIRS=/home/markus/Archive/acer_acpi-0.8.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.5-obj/x86_64/default'
make -C ../../../linux-2.6.18.8-0.5 O=../linux-2.6.18.8-0.5-obj/x86_64/default modules
  CC [M]  /home/markus/Archive/acer_acpi-0.8.2/acer_acpi.o
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:298: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:299: error: expected ‘;’ before ‘acpi_status’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:496: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘has_cap’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘interface_free’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:507: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:511: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:523: error: expected ‘)’ before ‘value’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘AMW0_init’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:593: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:593: error: (Each undeclared identifier is reported only once
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:593: error: for each function it appears in.)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:593: error: expected ‘;’ before ‘help’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:594: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:597: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:598: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:616: error: ‘help’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:638: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:681: error: expected ‘)’ before ‘value’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:777: error: unknown field ‘get_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:777: error: ‘AMW0_get_bool’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:777: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:777: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:778: error: unknown field ‘set_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:778: error: ‘AMW0_set_bool’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:778: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:778: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:779: error: unknown field ‘get_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:779: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:779: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:780: error: unknown field ‘set_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:780: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:780: warning: (near initialization for ‘AMW0_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘WMID_init’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:799: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:800: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:928: error: unknown field ‘get_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:928: error: ‘get_bool_via_u8’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:928: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:928: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:929: error: unknown field ‘set_bool’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:929: error: ‘set_bool_via_u8’ undeclared here (not in a function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:929: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:929: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:930: error: unknown field ‘get_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:930: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:930: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:931: error: unknown field ‘set_u8’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:931: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:931: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:932: error: unknown field ‘data’ specified in initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:932: warning: excess elements in struct initializer
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:932: warning: (near initialization for ‘WMID_interface’)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:987: error: expected ‘)’ before ‘*’ token
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘set_bool’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:998: error: ‘struct Interface’ has no member named ‘set_bool’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:999: error: ‘struct Interface’ has no member named ‘set_bool’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘get_u8’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1007: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1008: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘set_u8’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1016: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1019: error: ‘struct Interface’ has no member named ‘get_u8’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1023: error: ‘struct Interface’ has no member named ‘set_u8’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1024: error: ‘struct Interface’ has no member named ‘set_u8’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘read_bool’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1062: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1062: error: expected ‘;’ before ‘result’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1063: error: implicit declaration of function ‘get_bool’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1063: error: ‘result’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1063: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘write_u8’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1114: warning: unused variable ‘status’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘mail_led_set’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1190: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1190: error: expected ‘;’ before ‘tmp’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1191: error: ‘tmp’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘acer_backlight_init’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1238: error: too many arguments to function ‘backlight_device_register’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘show_bool_wireless’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: error: expected ‘;’ before ‘result’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: error: ‘result’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘set_bool_wireless’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: error: expected ‘;’ before ‘tmp’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: error: ‘tmp’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1320: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘show_bool_bluetooth’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: error: expected ‘;’ before ‘result’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: error: ‘result’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘set_bool_bluetooth’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: error: expected ‘;’ before ‘tmp’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: error: ‘tmp’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1321: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘show_bool_threeg’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: error: expected ‘;’ before ‘result’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: error: ‘result’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘set_bool_threeg’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: error: expected ‘;’ before ‘tmp’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: error: ‘tmp’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1322: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘show_bool_fan_temperature_override’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: error: expected ‘;’ before ‘result’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: error: ‘result’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘set_bool_fan_temperature_override’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: error: expected ‘;’ before ‘tmp’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: error: ‘tmp’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1323: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘show_bool_touchpad’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1342: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1342: error: expected ‘;’ before ‘result’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1342: error: ‘result’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1342: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘remove_sysfs’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1370: error: implicit declaration of function ‘has_cap’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘acer_acpi_suspend’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1425: error: ‘bool’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1425: error: expected ‘;’ before ‘value’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1426: warning: ISO C90 forbids mixed declarations and code
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1441: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1442: error: ‘value’ undeclared (first use in this function)
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: In function ‘acer_acpi_resume’:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1462: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1469: error: ‘struct Interface’ has no member named ‘data’
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c: At top level:
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1517: warning: initialization from incompatible pointer type
/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.c:1518: warning: initialization from incompatible pointer type
make[4]: *** [/home/markus/Archive/acer_acpi-0.8.2/acer_acpi.o] Fehler 1
make[3]: *** [_module_/home/markus/Archive/acer_acpi-0.8.2] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.5-obj/x86_64/default'
make: *** [acer_acpi.ko] Fehler 2
Hoffentlich kann jemand damit was anfangen...

Alarich
Newbie
Newbie
Beiträge: 33
Registriert: 19. Jul 2006, 16:51

Beitrag von Alarich » 12. Sep 2007, 14:48

Ich habe soeben noch einmal nachgesehen. Er gibt mir folgende Fehlermeldung aus:

Code: Alles auswählen

WARNING: Symbol version dump /usr/src/linux-2.6.18.8-0.5/Module.symvers
           is missing; modules will have no dependencies and modversions.
Ich habe aber die Pakete

Code: Alles auswählen

linux-kernel-headers-2.6.18.2-3
kernel-default-2.6.18.8-0.5
kernel-source-2.6.18.8-0.5
kernel-syms-2.6.18.8-0.5
installiert. Ein neueres Paket für linux-kernel-headers gibt es nicht... Heul.. Was mache ich falsch :(

Weiß keiner einen Tip?

jengelh
Guru
Guru
Beiträge: 4039
Registriert: 20. Nov 2004, 17:42
Kontaktdaten:

Beitrag von jengelh » 12. Sep 2007, 15:50

Tip: Es liegt nicht an den kernel-headers um warum, erfährst du wenn du nach selbigen Stichwort plus Glibc suchst.

Alarich
Newbie
Newbie
Beiträge: 33
Registriert: 19. Jul 2006, 16:51

Beitrag von Alarich » 12. Sep 2007, 19:53

So, hab jetzt noch mal ein bißchen recherchiert...

Ich fasse jetzt mal kurz zusammen (Untebrecht mich, wenns nicht stimmt):

1. acer_acpi 0.8 unterstützt zwar den Acer 5050, ABER
2. lässt sich nicht auf einem Kernel 2.6.18 kompilieren, sondern erst mit dem neuen 2.6.22 (Warum auch immer -> Grund glibc?)

Auf gut deutsch, ich darf mich vorerst weiter rumärgern.

Also zuerst rmmod aller ath_pci - Module
Dann Schalter schieben
dann modprobe ath_pci
anschließend noch ein rcnetwork restart

Schon läuft die Karte...

Ich würde mir halt gern das "Schalter-Schieben" sparen. Gibt es vielleicht eine andere Lösung außer entweder auf die neue SuSE oder einen neuen Treiber zu warten?

Kann man den rfkill anders ansteuern? :(

Alarich
Newbie
Newbie
Beiträge: 33
Registriert: 19. Jul 2006, 16:51

Beitrag von Alarich » 14. Sep 2007, 12:12

So, ich denke, ich hatte heute kurz eine kleine Unterhaltung mit dem Entwickler von acer_acpi

Ich habe folgenden Patch von ihm bekommen und ihn ausgeführt.

Den Patch gibt es hier
http://code.google.com/p/aceracpi/issue ... ix-v4.diff

acer_acpi ließ sich ohne Probleme kompilieren und mein WLAN funktioniert jetzt, ich kann den Schalter ansteuern.

Ich setze den Thread dann mal auf gelöst...

Rain_Maker

Beitrag von Rain_Maker » 14. Sep 2007, 13:43

Mit dem eingebauten Patch:

acer_acpi-kmp-default-0.8.2_2.6.18.8_0.5-rm.0.i586.rpm

Binary-RPM für kernel-default, 32 Bit.

acer_acpi-0.8.2-rm.0.src.rpm

SRC.RPM zum Rebuild z.B. für 64-Bitter...

Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste