Page 1 of 1

TBS 6981 help

PostPosted: Wed Sep 08, 2010 5:15 am
by spacedvb
problem installing driver

when type make && make install , i get this massage in shell under LINUX Centos

[root@iptvserver linux-s2api-tbs6981]# make && make install
make -C /root/tbs/linux-s2api-tbs6981/v4l
make[1]: Entering directory `/root/tbs/linux-s2api-tbs6981/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32.9streamer-1/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/root/tbs/linux-s2api-tbs6981/v4l'
make: *** [all] Error 2


Any help will be appricite

Re: TBS 6981 help

PostPosted: Wed Sep 08, 2010 6:08 am
by cody
you need to have Linux kernel sources installed in your system - that should be the reason why "Error 2" is generated - missing kernel headers and source files.

so, i believe executing:

# yum install kernel-devel-`uname -r`

will be sufficient to install kernel sources for the same kernel version that you are running in your CentOS system. also, i believe you will need to do:

# yum install gcc

because otherwise on later stage of the building process will get another error:

"make[2]: gcc: Command not found"

i hope those guidelines will help you. please, also note that all of the above is specific for Redhat-based Linux distributions like CentOS, Fedora, mythdora, etc and not required in the general case.