Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Problém se zavedením acer_acpi  (Přečteno 1667 krát)

Luďas

  • Návštěvník
  • Příspěvků: 1
Problém se zavedením acer_acpi
« kdy: 04 Listopadu 2008, 23:05:40 »
Zdravím, nejde mi nainstalovat modul acer_acpi, řeším to už 3 dny a stále se nemůžu dobádat k řešení. Mám ubuntu 8.10 a jádro 2.6.27-7. Za každou radu budu vděčný, tady je výpis:

ludas@ludas-laptop:~$ sudo apt-get install linux-headers-$(uname -r) build-essential
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Čtu stavové informace... Hotovo
linux-headers-2.6.27-7-generic je již nejnovější verze.
linux-headers-2.6.27-7-generic nastaven jako instalovaný ručně.
E: Nemohu najít balík build-essential
ludas@ludas-laptop:~$ wget http://aceracpi.googlecode.com/files/acer_acpi-0.11.1.tar.bz2
--2008-11-04 22:57:11--  http://aceracpi.googlecode.com/files/acer_acpi-0.11.1.tar.bz2
Resolving aceracpi.googlecode.com... 74.125.47.82
Connecting to aceracpi.googlecode.com|74.125.47.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18518 (18K) [application/x-bzip2]
Saving to: `acer_acpi-0.11.1.tar.bz2'

100%[======================================>] 18 518      57,8K/s   in 0,3s   

2008-11-04 22:57:12 (57,8 KB/s) - `acer_acpi-0.11.1.tar.bz2' saved [18518/18518]

ludas@ludas-laptop:~$ tar -xvjf acer_acpi-0.11.1.tar.bz2
acer_acpi-0.11.1/
acer_acpi-0.11.1/.gitignore
acer_acpi-0.11.1/ChangeLog
acer_acpi-0.11.1/INSTALL
acer_acpi-0.11.1/Makefile
acer_acpi-0.11.1/NEWS
acer_acpi-0.11.1/README
acer_acpi-0.11.1/acer_acpi.c
acer_acpi-0.11.1/wmi-acer.c
acer_acpi-0.11.1/wmi-acer.h
ludas@ludas-laptop:~$ cd acer_acpi-0.11.1
ludas@ludas-laptop:~/acer_acpi-0.11.1$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/ludas/acer_acpi-0.11.1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /home/ludas/acer_acpi-0.11.1/wmi-acer.o
gcc: -pg and -fomit-frame-pointer are incompatible
make[2]: *** [/home/ludas/acer_acpi-0.11.1/wmi-acer.o] Error 1
make[1]: *** [_module_/home/ludas/acer_acpi-0.11.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [wmi-acer.ko] Error 2
ludas@ludas-laptop:~/acer_acpi-0.11.1$ sudo make install
make -C /lib/modules/`uname -r`/build SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:104: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:306: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2486:
scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:501: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/confdata.c: In function ‘conf_write_autoconf’:
scripts/kconfig/confdata.c:739: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/confdata.c:740: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2487:
scripts/kconfig/expr.c: In function ‘expr_print_file_helper’:
scripts/kconfig/expr.c:1090: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'.  Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [wmi-acer.ko] Error 2
ludas@ludas-laptop:~/acer_acpi-0.11.1$ sudo modprobe acer_acpi
FATAL: Module acer_acpi not found.
ludas@ludas-laptop:~/acer_acpi-0.11.1$

------------------------------------------------------------------------
výpis je podle tohoto návodu: http://wiki.ubuntu.cz/Acer ACPI

nettezzaumana

  • Host
Re: Problém se zavedením acer_acpi
« Odpověď #1 kdy: 04 Listopadu 2008, 23:08:12 »
zkontroluj zdroje a nainstaluj si balik build-essential .. dokud ho nebudes mit tak nic nezkompilujes

 

Provoz zaštiťuje spolek OpenAlt.