[linux-dvb] compile problem

e9hack e9hack at googlemail.com
Sat Aug 18 11:18:57 CEST 2007


Hi,

it isn't possible to compile the current v4l-tree with linux 2.6.22.2:

very-new-darkstar:/usr/src/v4l-dvb-test # make
make -C /usr/src/v4l-dvb-test/v4l
make[1]: Entering directory `/usr/src/v4l-dvb-test/v4l'
creating symbolic links...
make -C /lib/modules/2.6.22.2-test/build SUBDIRS=/usr/src/v4l-dvb-test/v4l  modules
make[2]: Entering directory `/usr/src/linux-2.6.22.2'
  CC [M]  /usr/src/v4l-dvb-test/v4l/c-qcam.o
In file included from /usr/src/v4l-dvb-test/v4l/../linux/include/media/v4l2-dev.h:18,
                 from /usr/src/v4l-dvb-test/v4l/../linux/include/media/v4l2-common.h:29,
                 from /usr/src/v4l-dvb-test/v4l/c-qcam.c:38:
include/linux/device.h:533:41: error: macro "device_create" requires 7 arguments, but only 5 given
In file included from /usr/src/v4l-dvb-test/v4l/../linux/include/media/v4l2-dev.h:18,
                 from /usr/src/v4l-dvb-test/v4l/../linux/include/media/v4l2-common.h:29,
                 from /usr/src/v4l-dvb-test/v4l/c-qcam.c:38:
include/linux/device.h:534: warning: 'format' attribute only applies to function types
make[3]: *** [/usr/src/v4l-dvb-test/v4l/c-qcam.o] Error 1
make[2]: *** [_module_/usr/src/v4l-dvb-test/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.22.2'
make[1]: *** [default] Fehler 2
make[1]: Leaving directory `/usr/src/v4l-dvb-test/v4l'
make: *** [all] Fehler 2
very-new-darkstar:/usr/src/v4l-dvb-test #

The attached patch does fix this problem.

- Hartmut

-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat.h.diff
Type: text/x-diff
Size: 652 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070818/f4939a99/attachment.diff 


More information about the linux-dvb mailing list