Hello,
I have fedora 12 32 bit installed in my pc with skystar 2 revision 2.6
I hope this to be a common problem, more related to operating system that in device particularly. It hapened not only on fedora but on debian 5.03 too. In both systems, installed gcc later, not with OS.
I followed all instructions described in a readme, applied the patch successfully and the problem is with line:
make menuconfig, neccessary to select type of adapter I have:
======================================
[root@PCiMATH v4l-dvb-0276304b76b9]# make menuconfig
make -C /root/v4l-dvb-0276304b76b9/v4l menuconfig
make[1]: Entering directory `/root/v4l-dvb-0276304b76b9/v4l'
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build -f /root/v4l-dvb-0276304b76b9/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-conf
ig=0 SRCDIR=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build v4l-mconf
make: Entering an unknown directory
make: *** /lib/modules/2.6.31.5-127.fc12.i686.PAE/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/root/v4l-dvb-0276304b76b9/v4l'
make: *** [menuconfig] Error 2
[root@PCiMATH v4l-dvb-0276304b76b9]#
==============================================
It was a broken symlink in the folder
/lib/modules/2.6.31.5-127.fc12.i686.PAE, but I searched for a build file, and found it in another directory something like
/usr/bin/externalsource... and I created a symlink to first folder with build in second folder and tried again:
=======================================
[root@PCiMATH v4l-dvb-0276304b76b9]# make menuconfig
make -C /root/v4l-dvb-0276304b76b9/v4l menuconfig
make[1]: Entering directory `/root/v4l-dvb-0276304b76b9/v4l'
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build -f /root/v4l-dvb-0276304b76b9/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-conf
ig=0 SRCDIR=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build v4l-mconf
make: Entering an unknown directory
make: *** /lib/modules/2.6.31.5-127.fc12.i686.PAE/build: Not a directory. Stop.
make: Leaving an unknown directory
make[1]: *** [/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/root/v4l-dvb-0276304b76b9/v4l'
make: *** [menuconfig] Error 2
[root@PCiMATH v4l-dvb-0276304b76b9]#
=============================================
it is slightly different than before. It tries to create a folder with name
build in the folder
/lib/modules/2.6.31.5-127.fc12.i686.PAE], what is not possible by the system, because there is a file with this name and system does not permit this kind of duplicate, and then other steps fail with errors reported.
Is something wrong with source code ? how can it go ? I am a newbie in linux, and I have several days with this problem, in this forum none talked for this problem, it is overcame for members of this forum. please help!
thanks id advance
PS:
README that I followed is:
How to install SkyStar 2 revision 2.8 using the binary-driver for the CX24113?
0) Have linux-installation which allows to build external kernel modules.
Further help can be found here: http://linuxtv.org/wiki/index.php/Ho...device_drivers
1) Get the complete v4l-dvb driver tree from 2008-07-07 (*) and extract it
# wget http://linuxtv.org/hg/v4l-dvb/archiv...4b76b9.tar.bz2
# tar xfj 0276304b76b9.tar.bz2
# cd v4l-dvb-0276304b76b9
2) Apply the patch and copy the appropriate driver-binary
# patch -p1 < <path-to-patch-file>/skystar2-rev2.8-v4l-dvb.patch
# cp <path-to-binary-file>/cx24113_blob.o.x86-64 v4l/cx24113_blob.o_shipped # for 64-bit installations
or
# cp <path-to-binary-file>/cx24113_blob.o.i386 v4l/cx24113_blob.o_shipped # for 32-bit installations
3) (optional) select the device/card-drivers to compile and install
# make menuconfig
follow the menus and enable at least
<M> Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters
<M> Technisat/B2C2 Air/Sky/Cable2PC PCI
<M> Technisat/B2C2 Air/Sky/Cable2PC USB
4) compile all/selected modules and install them
# make
# make install
the last command will replace the modules which were delivered by the install kernel by the ones you just compiled.
5) Loading the modules. The command 'make install' installed the new driver into the right place and replaced old ones.
The next reboot will load these modules automatically. To force a reload of the new modules without rebooting run:
# make reload
(*) it is important that the version from this day is used, because the binary module "cx24113.ko" requires binary comp
atibility with the DVB-API provided by the v4l-dvb-tree. If the internal binary API has changed, which can happen witho
ut notice, the module will not work. This only applied for types and function provided by the v4l-dvb-tree, i2c and mod
ule related things can be found in cx24113_i2c.c and are compiled on this platform.