Strona 3 z 5

: 19 stycznia 2008, 15:51
autor: Akkon
emcee pisze:make wywala mi ze nie ma takiej komendy
Więc zainstaluj :-P

Kod: Zaznacz cały

aptitude update 
aptitude install make
Compiz Fusion też sie opiera, ale pracuję nad tym
Tutaj Ci nie pomgę, ale wiem że z Compizem bywa różnie.

: 19 stycznia 2008, 17:41
autor: pavbaranov
Jaką Ty masz tę kartę? Nie ma paczek deb? Oczywiście, można kompilować, ale...

: 19 stycznia 2008, 19:46
autor: emcee
Akkon pisze:
emcee pisze:make wywala mi ze nie ma takiej komendy
Więc zainstaluj :-P

Kod: Zaznacz cały

aptitude update 
aptitude install make
lol... ale ze mnie bot :mrgreen: tylko:

Kod: Zaznacz cały

laptop:/home/emcee/iwlwifi-1.2.23# make
Kernel Makefile not found at '/lib/modules/2.6.22-3-686/source'
chmod: cannot access `compatible/*': No such file or directory
/bin/sh: line 2: compatible/kversion: No such file or directory

Makefile has been modified by generate_compatible, please run `make' again

make: *** [compatible/kversion] Error 1
laptop:/home/emcee/iwlwifi-1.2.23# make
Kernel Makefile not found at '/lib/modules/2.6.22-3-686/source'
chmod: cannot access `compatible/*': No such file or directory
/bin/sh: line 2: compatible/kversion: No such file or directory

Makefile has been modified by generate_compatible, please run `make' again

make: *** [compatible/kversion] Error 1
laptop:/home/emcee/iwlwifi-1.2.23# 


kartę mam jak w temacie tego FAQ ]

[ Dodano: 2008-01-19, 19:58 ]

Kod: Zaznacz cały

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.22-3-686
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.22-3-686 root=/dev/sda5 ro vga=794
initrd          /boot/initrd.img-2.6.22-3-686
savedefault

title           Debian GNU/Linux, kernel 2.6.22-3-686 (single-user mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.22-3-686 root=/dev/sda5 ro single
initrd          /boot/initrd.img-2.6.22-3-686
savedefault
probowalem rozne wartosci :-/

: 19 stycznia 2008, 20:01
autor: pavbaranov
Sorki, ale wygląda na to, że nie masz źródeł kernela - jeśli jeszcze dobrze widzę ;)
W FAQ są 2 karty ;) Co Ci nie chodzi "to co jest tam dalej w FAQ"? (Sorry, ale ciągle trzeba się domyślać, o co Ci chodzi).

: 19 stycznia 2008, 20:50
autor: emcee
[quote="pavbaranov"]Sorki, ale wygląda na to, że nie masz źródeł kernela - jeśli jeszcze dobrze widzę ]

Sekcja "testing the build". Po prostu mi się nie zainstalowało.

Kod: Zaznacz cały

laptop:/home/emcee/iwlwifi-1.2.23# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.


: 19 stycznia 2008, 21:01
autor: AdeBe
Nie zainstalowało Ci się, bo nawet Ci się nie skompilowało, proste...
Musisz zainstalować linux headers.

Kod: Zaznacz cały

aptitude install linux-headers-`uname -r`
Potem znowu próbuj kompilować

: 19 stycznia 2008, 21:24
autor: emcee
@ up - myslalem, ze z pakietów (iwlwifi było w repo) pójdzie

dzięki, ale to samo :-/

: 19 stycznia 2008, 22:14
autor: AdeBe
W repo masz tylko firmware do iwlwifi. Moduł do obsługi musisz sam skompilować.
Po drugie: jak to samo? Make wyrzuca to samo? A na pewno headery się dobrze zainstalowały? Co ci wyrzuca

Kod: Zaznacz cały

aptitude show linux-headers-`uname -r`
:?:

: 19 stycznia 2008, 22:30
autor: emcee
Make wyrzuca to samo.

Kod: Zaznacz cały

laptop:/home/emcee/iwlwifi-1.2.23# aptitude show linux-headers-`uname -r`
Package: linux-headers-2.6.22-3-686
New: yes
State: installed
Automatically installed: yes
Version: 2.6.22-6
Priority: optional
Section: devel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Uncompressed Size: 1040k
Depends: linux-headers-2.6.22-3 (= 2.6.22-6), linux-kbuild-2.6.22, gcc-4.1
Provides: linux-headers, linux-headers-2.6
Description: Header files for Linux 2.6.22 on PPro/Celeron/PII/PIII/P4
 This package provides the architecture-specific kernel header files for Linux kernel
 2.6.22 on Pentium Pro/Celeron/Pentium II/Pentium III/Pentium 4 machines, generally used
 for building out-of-tree kernel modules.  These files are going to be installed into
 /usr/src/linux-headers-2.6.22-3-686, and can be used for building modules that load
 into the kernel provided by the linux-image-2.6.22-3-686 package.

Tags: admin::kernel, devel::lang:c, devel::library, implemented-in::c, role::devel-lib

: 19 stycznia 2008, 23:56
autor: AdeBe
Dobra, chyba już czaję o co chodzi. Spróbuj dodatkowo zainstalować:

Kod: Zaznacz cały

aptitude install linux-source-2.6.22
i wtedy spróbować kompilacji.
Jeśli nadal nie będzie chciało, to

Kod: Zaznacz cały

ln -s /usr/src/linux-source-2.6.22 /lib/modules/2.6.22-3-686/source
i jeszcze raz :-D