Avatar billede sj.netomia Nybegynder
10. november 2008 - 12:28 Der er 4 kommentarer og
1 løsning

fejlmeddelse emerge -va acpi4asus

Hej Eksperter.

Jeg får denne fejlmeddelse når jeg laver en emerge -va acpi4asus jeg har unmasked pakken.

~ # emerge -va acpi4asus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-laptop/acpi4asus-0.41  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-laptop/acpi4asus-0.41 to /
* acpi4asus-0.41.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
* checking ebuild checksums ;-) ...                                      [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                    [ ok ]
* checking acpi4asus-0.41.tar.bz2 ;-) ...                                [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
*    /usr/src/linux
* Found kernel object directory:
*    /lib/modules/2.6.25-gentoo-r7/build
* Found sources for kernel version:
*    2.6.25-gentoo-r7
* Checking for suitable kernel configuration options...                  [ ok ]
>>> Unpacking source...
>>> Unpacking acpi4asus-0.41.tar.bz2 to /var/tmp/portage/app-laptop/acpi4asus-0.41/work
* Applying cvs.patch ...                                                [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41 ...
* Preparing asus-laptop module
Kernel configuration :
CONFIG_BACKLIGHT_CLASS_DEVICE : [Y]
CONFIG_LEDS_CLASS : [M]
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver modules
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7'
  CC [M]  /var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.o
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:210: warning: initialization from incompatible pointer type
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c: In function 'asus_hotk_notify':
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:734: error: implicit declaration of function 'acpi_bus_generate_event'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c: In function 'asus_led_exit':
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1083: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1083: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1084: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1084: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1085: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1085: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1086: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1086: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1087: error: 'struct led_classdev' has no member named 'class_dev'
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1087: error: 'struct led_classdev' has no member named 'class_dev'
make[2]: *** [/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
make: *** [default] Error 2
*
* ERROR: app-laptop/acpi4asus-0.41 failed.
* Call stack:
*              ebuild.sh, line  49:  Called src_compile
*            environment, line 3140:  Called linux-mod_src_compile
*            environment, line 2409:  Called die
* The specific snippet of code:
*              eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                      CROSS_COMPILE=${CHOST}-                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"                                          ${BUILD_FIXES}        ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*  The die message:
*  Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KDIR=/usr/src/linux 
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-laptop/acpi4asus-0.41/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-laptop/acpi4asus-0.41/temp/environment'.
*

* Messages for package app-laptop/acpi4asus-0.41:

*
* ERROR: app-laptop/acpi4asus-0.41 failed.
* Call stack:
*              ebuild.sh, line  49:  Called src_compile
*            environment, line 3140:  Called linux-mod_src_compile
*            environment, line 2409:  Called die
* The specific snippet of code:
*              eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                      CROSS_COMPILE=${CHOST}-                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"                                          ${BUILD_FIXES}        ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*  The die message:
*  Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KDIR=/usr/src/linux 
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-laptop/acpi4asus-0.41/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-laptop/acpi4asus-0.41/temp/environment'.
*


Jeg vil gerne have ACPI til at virke på min nye notebook. det er en
ASUS Z37S Notebook

Jeg får en fejlmeddelse hver gang jeg laver en halt, vil gerne have den til at slukke automatisk.

Kan i hjælpe ?

Der er 120 points for et rigtigt svar.
Avatar billede lassebm Nybegynder
10. november 2008 - 12:47 #1
Jeg ville prøve gentoos eget forum. Det er jo nok den distro med bedste hjælpe/support forum :)
Avatar billede langbein Nybegynder
10. november 2008 - 19:31 #2
Har ingen erfaring med Gentoo, men synes det ser ut som om den sier noe slikt som om den ikke kan kompillere enten fordi den ikke har en komplett kildekode eller av andre grunner. Ut i fra 0,0 Gentoo erfaring så ville jeg sjekke om configurerings filen for aktuelle repositories har adressen til en repository som inneholder den riktige kildekoden. Mon den skulle ligge innefor directory /etc/ ett eller annet sted ?
Avatar billede langbein Nybegynder
10. november 2008 - 19:37 #3
Avatar billede sj.netomia Nybegynder
11. november 2008 - 00:42 #4
tak for svarene, men det har desværre ikke hjulpet.

Jeg har lavet en emerge --sync og det hjælper ikke.
Avatar billede sj.netomia Nybegynder
12. november 2008 - 13:16 #5
jeg har fået det til at virke uden ACPI4ASUS, ved at rode en del med indstillinger i menuconfig (kernel)
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester