Da jetzt endlich auch mein Soundchip mit Intrepid OutOfTheBox läuft ☺ , hab ich mich mal an die DVB-S2-Karte (TechnoTrend S2-3200) gewagt.
So bin ich vorgegangen:
hg clone http://jusst.de/hg/multiproto
cd multiproto
make
und Das kam dabei raus:
make -C /home/thomas/build/multiproto/v4l
make[1]: Betrete Verzeichnis '/home/thomas/build/multiproto/v4l'
No version yet, using 2.6.27-2-generic
make[1]: Verlasse Verzeichnis '/home/thomas/build/multiproto/v4l'
make[1]: Betrete Verzeichnis '/home/thomas/build/multiproto/v4l'
scripts/make_makefile.pl
./scripts/make_kconfig.pl /lib/modules/2.6.27-2-generic/build /lib/modules/2.6.27-2-generic/build
Updating/Creating .config
Preparing to compile for kernel version 2.6.27
Preparing to compile for kernel version 2.6.27
***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.
VIDEO_PLANB: Requires at least kernel 2.6.99
***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.
VIDEO_PLANB: Requires at least kernel 2.6.99
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Verlasse Verzeichnis '/home/thomas/build/multiproto/v4l'
make[1]: Betrete Verzeichnis '/home/thomas/build/multiproto/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.27-2-generic/build ./.myconfig ./config-compat.h
ln -sf . oss
creating symbolic links...
Kernel build directory is /lib/modules/2.6.27-2-generic/build
make -C /lib/modules/2.6.27-2-generic/build SUBDIRS=/home/thomas/build/multiproto/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-2-generic'
CC [M] /home/thomas/build/multiproto/v4l/flexcop-pci.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-usb.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-fe-tuner.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-i2c.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-sram.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-eeprom.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-misc.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-hw-filter.o
CC [M] /home/thomas/build/multiproto/v4l/flexcop-dma.o
CC [M] /home/thomas/build/multiproto/v4l/bttv-driver.o
CC [M] /home/thomas/build/multiproto/v4l/bttv-cards.o
CC [M] /home/thomas/build/multiproto/v4l/bttv-if.o
CC [M] /home/thomas/build/multiproto/v4l/bttv-risc.o
CC [M] /home/thomas/build/multiproto/v4l/bttv-vbi.o
CC [M] /home/thomas/build/multiproto/v4l/bttv-i2c.o
In file included from /home/thomas/build/multiproto/v4l/bttv-cards.c:40:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/delay.h:10,
from /home/thomas/build/multiproto/v4l/bttv-cards.c:28:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
In file included from /home/thomas/build/multiproto/v4l/bttv-driver.c:46:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-driver.c:38:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
/home/thomas/build/multiproto/v4l/bttv-cards.c: In function 'pvr_boot':
/home/thomas/build/multiproto/v4l/bttv-cards.c:3825: warning: passing argument 2 of 'pvr_altera_load' discards qualifiers from pointer target type
In file included from /home/thomas/build/multiproto/v4l/bttv-if.c:34:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-if.c:29:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
In file included from /home/thomas/build/multiproto/v4l/bttv-i2c.c:34:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-i2c.c:30:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
In file included from /home/thomas/build/multiproto/v4l/bttv-risc.c:35:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-risc.c:27:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
In file included from /home/thomas/build/multiproto/v4l/bttv-vbi.c:33:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-vbi.c:26:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
CC [M] /home/thomas/build/multiproto/v4l/bttv-gpio.o
CC [M] /home/thomas/build/multiproto/v4l/bttv-input.o
In file included from /home/thomas/build/multiproto/v4l/bttv-if.c:34:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-if.c:29:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
CC [M] /home/thomas/build/multiproto/v4l/bttv-audio-hook.o
CC [M] /home/thomas/build/multiproto/v4l/cpia2_v4l.o
CC [M] /home/thomas/build/multiproto/v4l/cpia2_usb.o
In file included from /home/thomas/build/multiproto/v4l/bttv-audio-hook.h:8,
from /home/thomas/build/multiproto/v4l/bttv-audio-hook.c:8:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/wait.h:22,
from /home/thomas/build/multiproto/v4l/bttvp.h:32,
from /home/thomas/build/multiproto/v4l/bttv-audio-hook.h:8,
from /home/thomas/build/multiproto/v4l/bttv-audio-hook.c:8:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
In file included from /home/thomas/build/multiproto/v4l/bttv-gpio.c:35:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-gpio.c:29:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
In file included from /home/thomas/build/multiproto/v4l/bttv-input.c:28:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-input.c:21:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
CC [M] /home/thomas/build/multiproto/v4l/cpia2_core.o
CC [M] /home/thomas/build/multiproto/v4l/cx23885-cards.o
CC [M] /home/thomas/build/multiproto/v4l/cx23885-video.o
In file included from /home/thomas/build/multiproto/v4l/bttv-gpio.c:35:
/home/thomas/build/multiproto/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/linux/cache.h:4,
from include/asm/pda.h:7,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/thomas/build/multiproto/v4l/bttv-gpio.c:29:
include/linux/kernel.h:376:1: warning: this is the location of the previous definition
CC [M] /home/thomas/build/multiproto/v4l/cx23885-vbi.o
CC [M] /home/thomas/build/multiproto/v4l/cx23885-core.o
CC [M] /home/thomas/build/multiproto/v4l/cx23885-i2c.o
CC [M] /home/thomas/build/multiproto/v4l/cx23885-dvb.o
CC [M] /home/thomas/build/multiproto/v4l/cx25840-core.o
CC [M] /home/thomas/build/multiproto/v4l/cx25840-audio.o
CC [M] /home/thomas/build/multiproto/v4l/cx25840-firmware.o
In file included from /home/thomas/build/multiproto/v4l/cx25840-core.c:42:
/home/thomas/build/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h: In function 'v4l2_i2c_drv_init':
/home/thomas/build/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:197: warning: assignment from incompatible pointer type
/home/thomas/build/multiproto/v4l/cx25840-core.c: At top level:
/home/thomas/build/multiproto/v4l/cx25840-core.c:71: error: conflicting type qualifiers for 'addr_data'
/home/thomas/build/multiproto/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: error: previous declaration of 'addr_data' was here
CC [M] /home/thomas/build/multiproto/v4l/cx25840-vbi.o
make[3]: *** [/home/thomas/build/multiproto/v4l/cx25840-core.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/thomas/build/multiproto/v4l/cx25840-firmware.c: In function 'cx25840_loadfw':
/home/thomas/build/multiproto/v4l/cx25840-firmware.c:132: warning: assignment discards qualifiers from pointer target type
make[2]: *** [_module_/home/thomas/build/multiproto/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-2-generic'
make[1]: *** [default] Fehler 2
make[1]: Verlasse Verzeichnis '/home/thomas/build/multiproto/v4l'
make: *** [all] Fehler 2
***WARNING:*** You do not have the full kernel sources installed! :
ich hab aber obrige sourcen installiert! in hardy gings doch auch! (oder macht man das jetzt anders?)
Ein paar Tipps wären nett!
mfg
tankdriver