compile problems on 2.6.29-rc1
Hi,
I've problems to compile the current hg tree with some modifications on linux 2.6.29-rc1.
It isn't a problem to compile the current hg tree without any modifications. I've add a
third parameter to saa7146_wait_for_debi_done(). I can compile it on 2.6.28. On 2.6.29-rc1, I get the following error message:
linux-qgjx:/usr/src/v4l-dvb # make
make -C /usr/src/v4l-dvb/v4l
make[1]: Entering directory `/usr/src/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.29-rc1-64-mp-suse-11/build
make -C /lib/modules/2.6.29-rc1-64-mp-suse-11/build SUBDIRS=/usr/src/v4l-dvb/v4l modules make[2]: Entering directory `/usr/src/linux-2.6.29-rc1-obj/x86_64/mp-suse-11' make -C /usr/src/linux-2.6.29-rc1 O=/usr/src/linux-2.6.29-rc1-obj/x86_64/mp-suse-11/. modules
CC [M] /usr/src/v4l-dvb/v4l/av7110_hw.o/usr/src/v4l-dvb/v4l/av7110_hw.c: In function 'av7110_debiwrite':/usr/src/v4l-dvb/v4l/av7110_hw.c:59: error: too many arguments to function 'saa7146_wait_for_debi_done'/usr/src/v4l-dvb/v4l/av7110_hw.c: In function 'av7110_debiread':/usr/src/v4l-dvb/v4l/av7110_hw.c:83: error: too many arguments to function 'saa7146_wait_for_debi_done'/usr/src/v4l-dvb/v4l/av7110_hw.c:94: error: too many arguments to function 'saa7146_wait_for_debi_done'/usr/src/v4l-dvb/v4l/av7110_hw.c: In function 'av7110_bootarm':/usr/src/v4l-dvb/v4l/av7110_hw.c:268: error: too many arguments to function 'saa7146_wait_for_debi_done'/usr/src/v4l-dvb/v4l/av7110_hw.c:289: error: too many arguments to function 'saa7146_wait_for_debi_done'
make[5]: *** [/usr/src/v4l-dvb/v4l/av7110_hw.o] Error 1
make[4]: *** [_module_/usr/src/v4l-dvb/v4l] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.29-rc1-obj/x86_64/mp-suse-11' make[1]: *** [default] Fehler 2
make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'
make: *** [all] Fehler 2
linux-qgjx:/usr/src/v4l-dvb #
It seems, that linux/include/media/saa7146.h is used from the kernel source tree instead of the v4l-dvb tree.
Regards,
Hartmut
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
2009/1/12 e9hack <[email protected]>
Quoted 4 lines
Hi,
I've problems to compile the current hg tree with some modifications on linux 2.6.29-rc1.
It seems, any included file like #include <media/....> uses the file from kernel source tree instead of the v4l-dvb tree.
Regards,
Hartmut
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 7 lines · [email protected] schrieb:
2009/1/12 e9hack <[email protected]>
Quoted 2 lines
I've problems to compile the current hg tree with some modifications on linux 2.6.29-rc1.
It seems, any included file like #include <media/....> uses the file from kernel source tree instead of the v4l-dvb tree.
Hi,
I could solve my compile problem with a little patch:
v4l/Makefile Tue Jan 13 21:45:36 2009 +0100 renamed from v4l/Makefile Mon Jan 12 22:50:52 2009 -0200 +1 -0
@@ -161,6 +161,7 @@ ifeq ($(VERSION).$(PATCHLEVEL),2.6) # Needed for kernel 2.6.24 or upper KBUILD_CPPFLAGS := -I$(SUBDIRS)/../linux/include $(KBUILD_CPPFLAGS) -I$(SUBDIRS)/ + LINUXINCLUDE := -I$(SUBDIRS)/../linux/include $(LINUXINCLUDE) -I$(SUBDIRS)/
In 2.6.28.1 LINUXINCLUDE is part of KBUILD_CPPFLAGS of the kernel. In 2.6.29-rc1 LINUXINCLUDE is part of the command line for gcc. LINUXINCLUDE is include before KBUILD_CPPFLAGS.
Regards,
Hartmut
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb