Web lists-archives.org

hg rev 7099 does not compile on linux 2.6.17-12-generic




Hi folks!

I wanted to file a bug report hoping that this is the right place and right way to do it. As the topic says, the revision 7099 of the hg repository does not compile on my computer. I'm using kubuntu 7.10 with its newest kernel. Here are the steps that I took plus some additional information. I hope this helps to figure out the problem. If you need more information, don't hesitate to ask!

Regards, Ingo



ingo@ingo-desktop:/usr/src/v4l-dvb$sudo hg clone http://linuxtv.org/hg/v4l-dvb
requesting all changes
adding changesets
adding manifests
adding file changes
added 7100 changesets with 18670 changes to 1289 files
942 files updated, 0 files merged, 0 files removed, 0 files unresolved
[...]
ingo@ingo-desktop:/usr/src/v4l-dvb/v4l-dvb$hg parents
changeset:   7099:6e91eabd5d66
tag:         tip
user:        Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
date:        Mon Jan 28 18:43:02 2008 -0200
summary:     Fix backport for stk-webcam
ingo@ingo-desktop:/usr/src/v4l-dvb/v4l-dvb$sudo make
make -C /usr/src/v4l-dvb/v4l-dvb/v4l
make[1]: Betrete Verzeichnis '/usr/src/v4l-dvb/v4l-dvb/v4l'
No version yet, using 2.6.17-12-generic
make[1]: Verlasse Verzeichnis '/usr/src/v4l-dvb/v4l-dvb/v4l'
make[1]: Betrete Verzeichnis '/usr/src/v4l-dvb/v4l-dvb/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.17

***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_TCM825X: Requires at least kernel 2.6.22
VIDEO_PLANB: Requires at least kernel 2.6.99
VIDEO_CAFE_CCIC: Requires at least kernel 2.6.19
VIDEO_PVRUSB2_SYSFS: Requires at least kernel 2.6.18
USB_STKWEBCAM: Requires at least kernel 2.6.22
USB_SI470X: Requires at least kernel 2.6.20
VIDEOBUF_VMALLOC: Requires at least kernel 2.6.18
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Verlasse Verzeichnis '/usr/src/v4l-dvb/v4l-dvb/v4l'
make[1]: Betrete Verzeichnis '/usr/src/v4l-dvb/v4l-dvb/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.17-12-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
Kernel build directory is /lib/modules/2.6.17-12-generic/build
make -C /lib/modules/2.6.17-12-generic/build SUBDIRS=/usr/src/v4l-dvb/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.17-12-generic'
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/flexcop-pci.o
[... a lot of "CC [M]"s without errors ...]
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/bttv-driver.o
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/bttv-cards.o
/usr/src/v4l-dvb/v4l-dvb/v4l/bttv-cards.c: In function 'osprey_eeprom':
/usr/src/v4l-dvb/v4l-dvb/v4l/bttv-cards.c:3858: warning: passing argument 1 of 'ip_compute_csum' discards qualifiers from pointer target type
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/bttv-if.o
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/bttv-risc.o
[...]
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/zoran_driver.o
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/zoran_card.o
  LD [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/saa7146.o
  LD [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/saa7146_vv.o
  LD [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/ir-common.o
  CC [M]  /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.o
/usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:126: error: unknown field 'dev_attrs' specified in initializer /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:126: warning: initialization from incompatible pointer type /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:127: error: unknown field 'dev_release' specified in initializer /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:127: warning: missing braces around initializer /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:127: warning: (near initialization for 'video_class.subsys') /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:127: warning: initialization from incompatible pointer type /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c: In function 'video_register_device': /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:1762: error: 'struct device' has no member named 'class' /usr/src/v4l-dvb/v4l-dvb/v4l/videodev.c:1764: error: 'struct device' has no member named 'devt'
make[3]: *** [/usr/src/v4l-dvb/v4l-dvb/v4l/videodev.o] Error 1
make[2]: *** [_module_/usr/src/v4l-dvb/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-12-generic'
make[1]: *** [default] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/v4l-dvb/v4l-dvb/v4l'
make: *** [all] Fehler 2
ingo@ingo-desktop:/usr/src/v4l-dvb/v4l-dvb$uname -a
Linux ingo-desktop 2.6.17-12-generic #2 SMP Tue Dec 18 02:12:38 UTC 2007 i686 GNU/Linux
ingo@ingo-desktop:/usr/src/v4l-dvb/v4l-dvb$

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list