On Sat, 2005-03-12 at 18:25 +0100, Hans Gunnarsson wrote: > make BTTV=1 in build-2.6 returns: > > In file included from > /home/hansg/project/twinhan/dvb-kernel/build-2.6/dst_common.h:27, > from > /home/hansg/project/twinhan/dvb-kernel/build-2.6/dst.c:35: > /home/hansg/project/twinhan/dvb-kernel/build-2.6/bt878.h:28:19: bt848.h: > No such file or directory > /home/hansg/project/twinhan/dvb-kernel/build-2.6/bt878.h:29:18: bttv.h: > No such file or directory This same happens with Fedora Core 3. This is because the kernel-sourcecode package doesn't provide bt848.h and bttv.h anymore. The suggestion on #fedora-devel was to a) make the kernel folks to move those .h files to correct directory, or b) include those in the dvb-kernel module itself. To go around this problem you have to modify the Makefile as follows: --- Makefile.~1.51.~ 2005-03-09 23:42:29.000000000 +0200 +++ Makefile 2005-03-12 21:32:03.170336648 +0200 @@ -37,20 +37,19 @@ endif all: makelinks $(DVB_FIRMWARE) - $(shell if [ -h bttv.h ] || [ ! -e bttv.h ]; then \ - rm -f bttv.h; \ - ln -s $(KERNELSRCDIR)/drivers/media/video/bttv.h bttv.h; \ - fi) - $(shell if [ -h bt848.h ] || [ ! -e bt848.h ]; then \ - rm -f bt848.h; \ - ln -s $(KERNELSRCDIR)/drivers/media/video/bt848.h bt848.h; \ - fi) +# $(shell if [ -h bttv.h ] || [ ! -e bttv.h ]; then \ +# rm -f bttv.h; \ +# ln -s $(KERNELSRCDIR)/drivers/media/video/bttv.h bttv.h; \ +# fi) +# $(shell if [ -h bt848.h ] || [ ! -e bt848.h ]; then \ +# rm -f bt848.h; \ +# ln -s $(KERNELSRCDIR)/drivers/media/video/bt848.h bt848.h; \ +# fi) This fixes the first problem. But after this I still can't build it: [twillber@nasu build-2.6]$ make BTTV=1 [ -L saa7146_video.c ] || ./getlinks make -C /lib/modules/2.6.10-1.766_FC3/build SUBDIRS=/home/twillber/CVS/dvb-kernel/build-2.6 AV7110_FIRMWARE= AV7110_OSD=y make[1]: Entering directory `/lib/modules/2.6.10-1.766_FC3/build' CC [M] /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.o /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c: In function `frontend_init': /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c:492: error: `BTTV_AVDVBT_761' undeclared (first use in this function) /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c:492: error: (Each undeclared identifier is reported only once /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c:492: error: for each function it appears in.) /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c:466: warning: unused variable `ret' /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c: In function `dvb_bt8xx_probe': /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c:693: error: `BTTV_AVDVBT_761' undeclared (first use in this function) /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c: At top level: /home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.c:177: warning: 'thomson_dtt7579_config' defined but not used make[2]: *** [/home/twillber/CVS/dvb-kernel/build-2.6/dvb-bt8xx.o] Error 1 make[1]: *** [_module_/home/twillber/CVS/dvb-kernel/build-2.6] Error 2 make[1]: Leaving directory `/lib/modules/2.6.10-1.766_FC3/build' make: *** [all] Error 2 Yours, Toni