3. depending on your kernel version and if the kernel is x86 or
x86_64 (check output of 'uname -a') do:
- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):
# ./v4l/tbs-x86_r3.sh
- for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x):
# ./v4l/tbs-x86.sh
- for any x86_64 kernel (x86 64 bit installations of Linux):
# ./v4l/tbs-x86_64.sh
Проверяю:
root@home-server:/home/remalex# uname -a
Linux home-server 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Из этого следует что мне нудно вводить команду ./v4l/tbs-x86_64.sh, ввожу:
root@home-server:~/tbs/linux-tbs-drivers# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
Вроде пока все норм. Следующий пункт из мануала:
4. build and install the driver:
# make && make install
Ввожу:
root@home-server:~/tbs/linux-tbs-drivers# make && make install
make -C /root/tbs/linux-tbs-drivers/v4l
make[1]: Вход в каталог `/root/tbs/linux-tbs-drivers/v4l'
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make[2]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make -C firmware
make[2]: Entering directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
CC ihex2fw
make[2]: gcc: Command not found
make[2]: *** [ihex2fw] Error 127
make[2]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make[1]: *** [firmware] Ошибка 2
make[1]: Выход из каталога `/root/tbs/linux-tbs-drivers/v4l'
make: *** [all] Ошибка 2
Ошибки и соответственно ничего не устанавливается, как быть, помогите плиз.
PS: Немного по-другому писалось в предыдущий раз:
root@home-server:~/tbs/linux-tbs-drivers# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
root@home-server:~/tbs/linux-tbs-drivers# make && make install
make -C /root/tbs/linux-tbs-drivers/v4l
make[1]: Вход в каталог `/root/tbs/linux-tbs-drivers/v4l'
No version yet, using 3.2.0-24-generic
make[1]: Выход из каталога `/root/tbs/linux-tbs-drivers/v4l'
make[1]: Вход в каталог `/root/tbs/linux-tbs-drivers/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.2.0
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at
http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Выход из каталога `/root/tbs/linux-tbs-drivers/v4l'
make[1]: Вход в каталог `/root/tbs/linux-tbs-drivers/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.2.0-24-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make[2]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make -C firmware
make[2]: Entering directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
CC ihex2fw
make[2]: gcc: Command not found
make[2]: *** [ihex2fw] Error 127
make[2]: Leaving directory `/root/tbs/linux-tbs-drivers/v4l/firmware'
make[1]: *** [firmware] Ошибка 2
make[1]: Выход из каталога `/root/tbs/linux-tbs-drivers/v4l'
make: *** [all] Ошибка 2