[linux-dvb] Issue compiling latest

Harald Gustafsson hgu1972 at gmail.com
Sat Aug 4 12:02:22 CEST 2007


Hi,

I just updated to latest code since I saw that there was a bunch of new
changes for the dib0700, using:
hg pull -u http://linuxtv.org/hg/v4l-dvb

Then when I compile I get this error:

$ make
make -C /home/hgu/dtv/v4l-dvb/v4l
make[1]: Entering directory `/home/hgu/dtv/v4l-dvb/v4l'
creating symbolic links...
make -C /lib/modules/2.6.20-16-generic/build
SUBDIRS=/home/hgu/dtv/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
  Building modules, stage 2.
  MODPOST 190 modules
WARNING: "dib0070_wbd_offset" [/home/hgu/dtv/v4l-dvb/v4l/dvb-usb-dib0700.ko]
undefined!
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
./scripts/rmmod.pl check
found 190 modules
make[1]: Leaving directory `/home/hgu/dtv/v4l-dvb/v4l'

Did a make clean first as well, this is the second make call.

Did a search to try to find the issue in the v4l-dvb code, I'm new to this
code but to me it looks like it export the symbol:

$ grep -riI 'dib0070_wbd_offset' *
linux/drivers/media/dvb/frontends/dib0070.c:u16 dib0070_wbd_offset(struct
dvb_frontend *fe)
linux/drivers/media/dvb/frontends/dib0070.c:EXPORT_SYMBOL(dib0070_wbd_offset);
linux/drivers/media/dvb/frontends/dib0070.h:extern u16
dib0070_wbd_offset(struct dvb_frontend *);
linux/drivers/media/dvb/dvb-usb/dib0700_devices.c:      deb_info("WBD for
DiB7000P: %d\n", offset + dib0070_wbd_offset(fe));
linux/drivers/media/dvb/dvb-usb/dib0700_devices.c:
dib7000p_set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
v4l/dib0700_devices.c:  deb_info("WBD for DiB7000P: %d\n", offset +
dib0070_wbd_offset(fe));
v4l/dib0700_devices.c:  dib7000p_set_wbd_ref(fe, offset +
dib0070_wbd_offset(fe));
v4l/dib0070.c:u16 dib0070_wbd_offset(struct dvb_frontend *fe)
v4l/dib0070.c:EXPORT_SYMBOL(dib0070_wbd_offset);
v4l/dib0070.h:extern u16 dib0070_wbd_offset(struct dvb_frontend *);


I did build 2 weeks ago without any problems. I run it on a Ubuntu 7.04machine:
$ uname -a
Linux hgu 2.6.20-16-generic #2 SMP Thu Jun 7 19:00:28 UTC 2007 x86_64
GNU/Linux

Do I need to upgrade to a newer kernel, to use this latest code? Or maybe
the dib0070 instead of dib0700 is a problem? I have a Hauppauge NOVA-T 500
PCI, so I use this specific module. I appreciate any help for finding the
issue, as said before I'm new to the v4l-dvb code and compiling kernel
modules.

  Harald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070804/24448b6c/attachment.htm 


More information about the linux-dvb mailing list