Skip to contentSkip to conversation

v4l-dvb compile broken with stock Ubuntu Karmic build (firedtv-ieee1394.c errors)

DISCUSSION Devin Heitmueller 2 participants 7 messages Jun 19, 2009 – Jun 21, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

It seems that attempting to compile the current v4l-dvb against a stock Karmic Koala build fails. I suspect this has to do with the fact that 2.6.30 is built with ieee1394 enabled, which causes firedtv-ieee1394.c to get compiled, and that file references #include files that do not exist. As far as I can tell, IEEE1394 is not enabled in my 2.6.27 build, which is why I was not seeing it before.

Other users reported this issue on the #linuxtv irc a few days ago, and I though it was just something weird about their environment.

I'm not familiar with the firedtv driver, so if someone who is wants to chime in, I would appreciate it.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#1 lore raw
Quoted 7 lines · On Friday 19 June 2009 16:52:06 Devin Heitmueller wrote:

It seems that attempting to compile the current v4l-dvb against a stock Karmic Koala build fails. I suspect this has to do with the fact that 2.6.30 is built with ieee1394 enabled, which causes firedtv-ieee1394.c to get compiled, and that file references #include files that do not exist. As far as I can tell, IEEE1394 is not enabled in my 2.6.27 build, which is why I was not seeing it before.

Quoted 7 lines

Other users reported this issue on the #linuxtv irc a few days ago, and I though it was just something weird about their environment.

I'm not familiar with the firedtv driver, so if someone who is wants to chime in, I would appreciate it.

Devin

What's the compile error exactly? The firedtv driver compiles fine in the daily build against the vanilla 2.6.30 kernel.

Regards,

Hans

Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
#2 lore raw
Quoted 7 lines · Hans Verkuil

What's the compile error exactly? The firedtv driver compiles fine in the daily build against the vanilla 2.6.30 kernel.

Regards,

       Hans

Unfortunately, I sent the email from work and didn't have the output in front of me (or else I would have pasted it into the email). Several people also reported it on #linuxtv on 6/11, but it looks like the pastebins have already expired. :-(

I will provide the output tonight. I started to debug it last night, and it seems that firedtv-ieee1494.c doesn't normally get compiled at all, so if you add 1394 support to your build you will likely also see the issue.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#3 lore raw
Quoted 13 lines · On Friday 19 June 2009 17:42:18 Devin Heitmueller wrote:
Quoted 6 lines · Hans Verkuil

What's the compile error exactly? The firedtv driver compiles fine in the daily build against the vanilla 2.6.30 kernel.

Regards,

       Hans

Unfortunately, I sent the email from work and didn't have the output in front of me (or else I would have pasted it into the email). Several people also reported it on #linuxtv on 6/11, but it looks like the pastebins have already expired. :-(

Quoted 4 lines

I will provide the output tonight. I started to debug it last night, and it seems that firedtv-ieee1494.c doesn't normally get compiled at all, so if you add 1394 support to your build you will likely also see the issue.

Hmm, I discovered that firedtv-1394.c isn't compiled in the daily build even though ieee1394 is enabled in the kernel. I can manually enable it, though:
make menuconfig, disable and enable the firedtv driver, and then it magically works. But even then it still compiles fine against the vanilla 2.6.30 kernel.

Regards,

Hans

Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
#4 lore raw
Quoted 5 lines · Hans Verkuil

Hmm, I discovered that firedtv-1394.c isn't compiled in the daily build even though ieee1394 is enabled in the kernel. I can manually enable it, though:
make menuconfig, disable and enable the firedtv driver, and then it magically works. But even then it still compiles fine against the vanilla 2.6.30 kernel.

Well, I'm obviously kicking myself for not having captured the output last night when I was at home.

So, you're saying that firedvt-1394.c is being compiled?

Let me rephrase the question: Take a look at firedtv-1394.c, line 22, and tell me where the file "csr1212.h" can be found either in your kernel source tree or your v4l-dvb tree.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#5 lore raw
Quoted 10 lines · On Friday 19 June 2009 18:11:11 Devin Heitmueller wrote:
Quoted 5 lines · Hans Verkuil

Hmm, I discovered that firedtv-1394.c isn't compiled in the daily build even though ieee1394 is enabled in the kernel. I can manually enable it, though: make menuconfig, disable and enable the firedtv driver, and then it magically works. But even then it still compiles fine against the vanilla 2.6.30 kernel.

Well, I'm obviously kicking myself for not having captured the output last night when I was at home.

Quoted 7 lines

So, you're saying that firedvt-1394.c is being compiled?

Let me rephrase the question: Take a look at firedtv-1394.c, line 22, and tell me where the file "csr1212.h" can be found either in your kernel source tree or your v4l-dvb tree.

Devin

It's here:

/usr/src/linux/drivers/ieee1394/csr1212.h

Regards,

Hans

Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
#6 lore raw
Quoted 21 lines · Hans Verkuil
Quoted 10 lines · On Friday 19 June 2009 18:11:11 Devin Heitmueller wrote:
Quoted 5 lines · Hans Verkuil

Hmm, I discovered that firedtv-1394.c isn't compiled in the daily build even though ieee1394 is enabled in the kernel. I can manually enable it, though: make menuconfig, disable and enable the firedtv driver, and then it magically works. But even then it still compiles fine against the vanilla 2.6.30 kernel.

Well, I'm obviously kicking myself for not having captured the output last night when I was at home.

Quoted 7 lines

So, you're saying that firedvt-1394.c is being compiled?

Let me rephrase the question:  Take a look at firedtv-1394.c, line 22, and tell me where the file "csr1212.h" can be found either in your kernel source tree or your v4l-dvb tree.

Devin

It's here:

Quoted 9 lines

/usr/src/linux/drivers/ieee1394/csr1212.h

Regards,

       Hans

--
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom

Ok, I see what is going on: the header files in question are available if you have the full Linux source installed, but they are not part of the "kernel-headers" package, at least on Ubuntu. Combined with the fact that the file now gets built with 2.6.30 causes the compile failures:

CC [M] /home/devin/800e_test/v4l/firedtv-1394.o
/home/devin/800e_test/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory /home/devin/800e_test/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory /home/devin/800e_test/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory /home/devin/800e_test/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory /home/devin/800e_test/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory /home/devin/800e_test/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory /home/devin/800e_test/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com