* [linux-dvb] compile problems on 2.6.29-rc1
@ 2009-01-12 20:31 e9hack
2009-01-12 21:41 ` e9hack
0 siblings, 1 reply; 3+ messages in thread
From: e9hack @ 2009-01-12 20:31 UTC (permalink / raw)
To: linux-dvb
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 linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-dvb] compile problems on 2.6.29-rc1
2009-01-12 20:31 [linux-dvb] compile problems on 2.6.29-rc1 e9hack
@ 2009-01-12 21:41 ` e9hack
2009-01-13 20:55 ` e9hack
0 siblings, 1 reply; 3+ messages in thread
From: e9hack @ 2009-01-12 21:41 UTC (permalink / raw)
To: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 286 bytes --]
2009/1/12 e9hack <e9hack@googlemail.com>
> 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
[-- Attachment #1.2: Type: text/html, Size: 595 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-dvb] compile problems on 2.6.29-rc1
2009-01-12 21:41 ` e9hack
@ 2009-01-13 20:55 ` e9hack
0 siblings, 0 replies; 3+ messages in thread
From: e9hack @ 2009-01-13 20:55 UTC (permalink / raw)
To: linux-dvb
e9hack@googlemail.com schrieb:
> 2009/1/12 e9hack <e9hack@googlemail.com>
>> 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:
diff -r b09b5128742f v4l/Makefile
--- a/v4l/Makefile Mon Jan 12 22:50:52 2009 -0200
+++ b/v4l/Makefile Tue Jan 13 21:45:36 2009 +0100
@@ -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 linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-13 20:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 20:31 [linux-dvb] compile problems on 2.6.29-rc1 e9hack
2009-01-12 21:41 ` e9hack
2009-01-13 20:55 ` e9hack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox