Hi, I am running openSUSE 11.1 with modified Kernel.
While trying to run make on the downloaded driver for the RTL2831 I am getting an error message that I do not full understand. That is:
linux-2c5j:~/rtl2831-r2 # make
make -C /root/rtl2831-r2/v4l
make[1]: Entering directory `/root/rtl2831-r2/v4l'
No version yet, using 3.0.4-41-desktop
make[1]: Leaving directory `/root/rtl2831-r2/v4l'
make[1]: Entering directory `/root/rtl2831-r2/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.0.4
WARNING: This is the V4L/DVB backport tree, with experimental drivers
backported to run on legacy kernels from the development tree at:
http://git.linuxtv.org/media-tree.git.
It is generally safe to use it for testing a new driver or
feature, but its usage on production environments is risky.
Don't use it in production. You've been warned.
***WARNING:*** File /lib/modules/3.0.4-41-desktop/source/include/config/ieee1394/dma.h not present.
This problem is at least present on Ubuntu systems:
https://bugs.launchpad.net/ubuntu/+source/linux-kernel-headers/+bug/134222
Therefore disabling FIREDTV driver.
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/root/rtl2831-r2/v4l'
make[1]: Entering directory `/root/rtl2831-r2/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.0.4-41-desktop/source ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/root/rtl2831-r2/v4l/firmware'
make[2]: Leaving directory `/root/rtl2831-r2/v4l/firmware'
make -C firmware
make[2]: Entering directory `/root/rtl2831-r2/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/root/rtl2831-r2/v4l/firmware'
Kernel build directory is /lib/modules/3.0.4-41-desktop/build
make -C /lib/modules/3.0.4-41-desktop/build SUBDIRS=/root/rtl2831-r2/v4l CFLAGS="-I../linux/include -D__KERNEL__-I/include -DEXPORT_SYMTAB" modules
make[2]: Entering directory `/home/user/Software/Kernelcompile/linux-3.0.4'
CC [M] /root/rtl2831-r2/v4l/tuner-xc2028.o
/root/rtl2831-r2/v4l/tuner-xc2028.c: In function 'xc2028_set_params':
/root/rtl2831-r2/v4l/tuner-xc2028.c:1178: error: 'T_DIGITAL_TV' undeclared (first use in this function)
/root/rtl2831-r2/v4l/tuner-xc2028.c:1178: error: (Each undeclared identifier is reported only once
/root/rtl2831-r2/v4l/tuner-xc2028.c:1178: error: for each function it appears in.)
make[3]: *** [/root/rtl2831-r2/v4l/tuner-xc2028.o] Error 1
make[2]: *** [_module_/root/rtl2831-r2/v4l] Error 2
make[2]: Leaving directory `/home/user/Software/Kernelcompile/linux-3.0.4'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/rtl2831-r2/v4l'
make: *** [all] Error 2
I am not sure what is required when the error is “first use this function”. How can I use the function T_DIGITAL_TV if I first have to install my driver in order to use the stick?
Thank you for all suggestions and infos.