Comment 175 for bug 439163

Revision history for this message
nicola76b (bortolotti-nicola) wrote :

Hi all, I've just tried #173 patch, but error appears.

I've HVR3000 and run ubuntu Linux version 2.6.38-8-generic (buildd@allspice) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011

after type "sudo make menuconfig"
 -> Multimedia Support -> DVB/ATSC adapters -> disable FireDTV and FloppyDTV

Here my output
----
htpc@HTPC:~/v4l-dvb/linux$ patch -p1 < frontend_dvb_init.patch
patching file drivers/media/dvb/dvb-core/dvb_frontend.c
Hunk #1 succeeded at 1981 (offset -8 lines).
htpc@HTPC:~/v4l-dvb/linux$ cd ..
htpc@HTPC:~/v4l-dvb$ cd ..
htpc@HTPC:~$ cd v4l-dvb
htpc@HTPC:~/v4l-dvb$ sudo make menuconfig
make -C /home/htpc/v4l-dvb/v4l menuconfig
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
No version yet, using 2.6.38-8-generic
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
./scripts/make_kconfig.pl /lib/modules/2.6.38-8-generic/build /lib/modules/2.6.38-8-generic/build
Preparing to compile for kernel version 2.6.38

***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.

WARNING: You're using an obsolete driver! You shouldn't be using it!
  If you want anything new, you can use:
  http://git.linuxtv.org/media_build.git.
  The tree is still here just to preserve the development history.
  You've been warned.
Created default (all yes) .config file
/lib/modules/2.6.38-8-generic/build/scripts/kconfig/mconf ./Kconfig
#
# configuration written to .config
#

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

./scripts/fix_kconfig.pl
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
htpc@HTPC:~/v4l-dvb$ sudo make
make -C /home/htpc/v4l-dvb/v4l
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
scripts/make_makefile.pl
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.38-8-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/home/htpc/v4l-dvb/v4l/firmware'
make[2]: Leaving directory `/home/htpc/v4l-dvb/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/htpc/v4l-dvb/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 `/home/htpc/v4l-dvb/v4l/firmware'
Kernel build directory is /lib/modules/2.6.38-8-generic/build
make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/home/htpc/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
  CC [M] /home/htpc/v4l-dvb/v4l/tuner-xc2028.o
  CC [M] /home/htpc/v4l-dvb/v4l/tuner-simple.o
  CC [M] /home/htpc/v4l-dvb/v4l/tuner-types.o
  CC [M] /home/htpc/v4l-dvb/v4l/mt20xx.o
  CC [M] /home/htpc/v4l-dvb/v4l/tda8290.o
  CC [M] /home/htpc/v4l-dvb/v4l/tea5767.o
  CC [M] /home/htpc/v4l-dvb/v4l/tea5761.o
  CC [M] /home/htpc/v4l-dvb/v4l/tda9887.o
  CC [M] /home/htpc/v4l-dvb/v4l/tda827x.o
  CC [M] /home/htpc/v4l-dvb/v4l/au0828-core.o
  CC [M] /home/htpc/v4l-dvb/v4l/au0828-i2c.o
  CC [M] /home/htpc/v4l-dvb/v4l/au0828-cards.o
  CC [M] /home/htpc/v4l-dvb/v4l/au0828-dvb.o
  CC [M] /home/htpc/v4l-dvb/v4l/au0828-video.o
  CC [M] /home/htpc/v4l-dvb/v4l/au0828-vbi.o
  CC [M] /home/htpc/v4l-dvb/v4l/au8522_dig.o
  CC [M] /home/htpc/v4l-dvb/v4l/au8522_decoder.o
  CC [M] /home/htpc/v4l-dvb/v4l/flexcop-pci.o
  CC [M] /home/htpc/v4l-dvb/v4l/flexcop-usb.o
  CC [M] /home/htpc/v4l-dvb/v4l/flexcop.o
  CC [M] /home/htpc/v4l-dvb/v4l/flexcop-fe-tuner.o
  CC [M] /home/htpc/v4l-dvb/v4l/flexcop-i2c.o
/home/htpc/v4l-dvb/v4l/flexcop-i2c.c: In function 'flexcop_i2c_init':
/home/htpc/v4l-dvb/v4l/flexcop-i2c.c:253:39: error: 'I2C_CLASS_TV_DIGITAL' undeclared (first use in this function)
/home/htpc/v4l-dvb/v4l/flexcop-i2c.c:253:39: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/home/htpc/v4l-dvb/v4l/flexcop-i2c.o] Error 1
make[2]: *** [_module_/home/htpc/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
make: *** [all] Error 2
-----

Any council?
Thanks,
      Nicola