Skip to contentSkip to conversation

issues compiling tip.tar.bz2

linux-dvb James Middendorff 2 participants 2 messages Apr 21, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello all,
I am having issues compiling the tip.tar.bz2 file on linuxtv.org
http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2

the error I get is,
creating symbolic links...
Kernel build directory is /lib/modules/2.6.18-chw-13/build make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/home/james/v4l-dvb-862ffcf962f0/v4l modules make[2]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'
CC [M] /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.o
/home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:498: error: unknown field 'dev_attrs' specified in initializer /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:498: warning:
initialization from incompatible pointer type /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: error: unknown field 'dev_release' specified in initializer /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: warning: missing braces around initializer /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: warning: (near initialization for 'video_class.subsys') /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: warning:
initialization from incompatible pointer type
make[3]: *** [/home/james/v4l-dvb-862ffcf962f0/v4l/videodev.o] Error 1 make[2]: *** [_module_/home/james/v4l-dvb-862ffcf962f0/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13' make[1]: *** [default] Error 2

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Hi,

Am Montag, den 21.04.2008, 06:30 -0500 schrieb James Middendorff:

Quoted 19 lines

Hello all,
I am having issues compiling the tip.tar.bz2 file on linuxtv.org
http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2

the error I get is,
creating symbolic links...
Kernel build directory is /lib/modules/2.6.18-chw-13/build make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/home/james/v4l-dvb-862ffcf962f0/v4l modules make[2]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'
CC [M] /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.o
/home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:498: error: unknown field 'dev_attrs' specified in initializer /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:498: warning:
initialization from incompatible pointer type /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: error: unknown field 'dev_release' specified in initializer /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: warning: missing braces around initializer

Quoted 10 lines

/home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: warning: (near initialization for 'video_class.subsys') /home/james/v4l-dvb-862ffcf962f0/v4l/videodev.c:499: warning:
initialization from incompatible pointer type
make[3]: *** [/home/james/v4l-dvb-862ffcf962f0/v4l/videodev.o] Error 1 make[2]: *** [_module_/home/james/v4l-dvb-862ffcf962f0/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13' make[1]: *** [default] Error 2

sysfs compat for 2.6.18 and below is broken.

In theory 2.6.19 should be OK, but didn't test.
2.6.20 was good enough until now.

Cheers,
Hermann

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb