public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* VL4-DVB compilation issue not covered by Daily Automated
@ 2010-01-12 21:26 Hagen von Eitzen
  2010-01-12 21:44 ` Devin Heitmueller
  0 siblings, 1 reply; 5+ messages in thread
From: Hagen von Eitzen @ 2010-01-12 21:26 UTC (permalink / raw)
  To: linux-media

Dear all,
as suggested by http://www.linuxtv.org/wiki/index.php/Bug_Report I 
report several warnings and errors not yet covered in latest 
http://www.xs4all.nl/~hverkuil/logs/Monday.log I get when compiling.
(The purpose of my experiments was trying to find out something about 
"0ccd:00a5 TerraTec Electronic GmbH")

Regards
Hagen


$ uname -a
Linux hagen-shuttle 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:53:52 
UTC 2009 x86_64 GNU/Linux
$ sudo apt-get install mercurial linux-headers-$(uname -r) build-essential
$ hg clone http://linuxtv.org/hg/v4l-dvb
$ cd v4l-dvb/
$ make
<snip>
CC [M]  /v4l-dvb/v4l/et61x251_core.o        
/v4l-dvb/v4l/et61x251_core.c: In function 
'et61x251_ioctl_v4l2':                       
/v4l-dvb/v4l/et61x251_core.c:2500: warning: the frame size of 1408 bytes 
is larger than 1024 bytes
CC [M]  
/v4l-dvb/v4l/et61x251_tas5130d1b.o                                                     

CC [M]  
/v4l-dvb/v4l/firedtv-avc.o                                                             

CC [M]  
/v4l-dvb/v4l/firedtv-ci.o                                                              

CC [M]  
/v4l-dvb/v4l/firedtv-dvb.o                                                             

CC [M]  
/v4l-dvb/v4l/firedtv-fe.o                                                              

CC [M]  
/v4l-dvb/v4l/firedtv-1394.o                                                            

/v4l-dvb/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or 
directory                        /v4l-dvb/v4l/firedtv-1394.c:22:21: 
error: csr1212.h: No such file or directory                    
/v4l-dvb/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or 
directory                  /v4l-dvb/v4l/firedtv-1394.c:24:19: error: 
hosts.h: No such file or directory                      
/v4l-dvb/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or 
directory                   /v4l-dvb/v4l/firedtv-1394.c:26:17: error: 
iso.h: No such file or directory                        
/v4l-dvb/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or 
directory                    /v4l-dvb/v4l/firedtv-1394.c:40: warning: 
'struct hpsb_iso' declared inside parameter list         
/v4l-dvb/v4l/firedtv-1394.c:40: warning: its scope is only this 
definition or declaration, which is probably not what you want
/v4l-dvb/v4l/firedtv-1394.c: In function 
'rawiso_activity_cb':                                                               

/v4l-dvb/v4l/firedtv-1394.c:56: error: dereferencing pointer to 
incomplete type                                               
/v4l-dvb/v4l/firedtv-1394.c:57: error: implicit declaration of function 
'hpsb_iso_n_ready'                                    
/v4l-dvb/v4l/firedtv-1394.c:64: error: dereferencing pointer to 
incomplete type                                               
/v4l-dvb/v4l/firedtv-1394.c:65: error: implicit declaration of function 
'dma_region_i'                                        
/v4l-dvb/v4l/firedtv-1394.c:65: error: dereferencing pointer to 
incomplete type                                               
/v4l-dvb/v4l/firedtv-1394.c:65: error: expected expression before 
'unsigned'                                                  
/v4l-dvb/v4l/firedtv-1394.c:66: warning: assignment makes pointer from 
integer without a cast                                 
/v4l-dvb/v4l/firedtv-1394.c:67: error: dereferencing pointer to 
incomplete type                                               
/v4l-dvb/v4l/firedtv-1394.c:71: error: dereferencing pointer to 
incomplete type                                               
/v4l-dvb/v4l/firedtv-1394.c:85: error: implicit declaration of function 
'hpsb_iso_recv_release_packets'                       
/v4l-dvb/v4l/firedtv-1394.c: In function 
'node_of':                                                                          

/v4l-dvb/v4l/firedtv-1394.c:90: error: dereferencing pointer to 
incomplete type                                               
/v4l-dvb/v4l/firedtv-1394.c:90: warning: type defaults to 'int' in 
declaration of '__mptr'                                    
/v4l-dvb/v4l/firedtv-1394.c:90: warning: initialization from 
incompatible pointer type                                        
/v4l-dvb/v4l/firedtv-1394.c:90: error: invalid use of undefined type 
'struct unit_directory'                                  
/v4l-dvb/v4l/firedtv-1394.c: In function 
'node_lock':                                                                        

/v4l-dvb/v4l/firedtv-1394.c:97: error: implicit declaration of function 
'hpsb_node_lock'                                      
/v4l-dvb/v4l/firedtv-1394.c:97: error: 'EXTCODE_COMPARE_SWAP' undeclared 
(first use in this function)                         
/v4l-dvb/v4l/firedtv-1394.c:97: error: (Each undeclared identifier is 
reported only once                                      
/v4l-dvb/v4l/firedtv-1394.c:97: error: for each function it appears 
in.)                                                      
/v4l-dvb/v4l/firedtv-1394.c:98: error: 'quadlet_t' undeclared (first use 
in this function)                                    
/v4l-dvb/v4l/firedtv-1394.c:98: error: expected expression before ')' 
token                                                   
/v4l-dvb/v4l/firedtv-1394.c: In function 
'node_read':                                                                        

/v4l-dvb/v4l/firedtv-1394.c:106: error: implicit declaration of function 
'hpsb_node_read'                                     
/v4l-dvb/v4l/firedtv-1394.c: In function 
'node_write':                                                                       

/v4l-dvb/v4l/firedtv-1394.c:111: error: implicit declaration of function 
'hpsb_node_write'                                    
/v4l-dvb/v4l/firedtv-1394.c: In function 
'start_iso':                                                                        

/v4l-dvb/v4l/firedtv-1394.c:122: error: implicit declaration of function 
'hpsb_iso_recv_init'                                 
/v4l-dvb/v4l/firedtv-1394.c:122: error: dereferencing pointer to 
incomplete type                                              
/v4l-dvb/v4l/firedtv-1394.c:124: error: 'HPSB_ISO_DMA_DEFAULT' 
undeclared (first use in this function)                        
/v4l-dvb/v4l/firedtv-1394.c:126: warning: assignment makes pointer from 
integer without a cast                                
/v4l-dvb/v4l/firedtv-1394.c:133: error: implicit declaration of function 
'hpsb_iso_recv_start'                                
/v4l-dvb/v4l/firedtv-1394.c:136: error: implicit declaration of function 
'hpsb_iso_shutdown'                                  
/v4l-dvb/v4l/firedtv-1394.c: In function 
'stop_iso':                                                                         

/v4l-dvb/v4l/firedtv-1394.c:147: error: implicit declaration of function 
'hpsb_iso_stop'                                      
/v4l-dvb/v4l/firedtv-1394.c: At top 
level:                                                                                   

/v4l-dvb/v4l/firedtv-1394.c:162: warning: 'struct hpsb_host' declared 
inside parameter list                                   
/v4l-dvb/v4l/firedtv-1394.c: In function 'fcp_request':
/v4l-dvb/v4l/firedtv-1394.c:175: error: dereferencing pointer to 
incomplete type
/v4l-dvb/v4l/firedtv-1394.c:176: error: dereferencing pointer to 
incomplete type
/v4l-dvb/v4l/firedtv-1394.c: In function 'node_probe':
/v4l-dvb/v4l/firedtv-1394.c:190: error: dereferencing pointer to 
incomplete type
/v4l-dvb/v4l/firedtv-1394.c:190: warning: type defaults to 'int' in 
declaration of '__mptr'
/v4l-dvb/v4l/firedtv-1394.c:190: warning: initialization from 
incompatible pointer type
/v4l-dvb/v4l/firedtv-1394.c:190: error: invalid use of undefined type 
'struct unit_directory'
/v4l-dvb/v4l/firedtv-1394.c:195: error: dereferencing pointer to 
incomplete type
/v4l-dvb/v4l/firedtv-1394.c:195: error: 'quadlet_t' undeclared (first 
use in this function)
/v4l-dvb/v4l/firedtv-1394.c:196: error: implicit declaration of function 
'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
/v4l-dvb/v4l/firedtv-1394.c:196: error: dereferencing pointer to 
incomplete type
/v4l-dvb/v4l/firedtv-1394.c:196: warning: assignment makes pointer from 
integer without a cast
/v4l-dvb/v4l/firedtv-1394.c: At top level:
/v4l-dvb/v4l/firedtv-1394.c:252: warning: 'struct unit_directory' 
declared inside parameter list
/v4l-dvb/v4l/firedtv-1394.c: In function 'node_update':
/v4l-dvb/v4l/firedtv-1394.c:254: error: dereferencing pointer to 
incomplete type
/v4l-dvb/v4l/firedtv-1394.c: At top level:
/v4l-dvb/v4l/firedtv-1394.c:262: error: variable 'fdtv_driver' has 
initializer but incomplete type
/v4l-dvb/v4l/firedtv-1394.c:263: error: unknown field 'name' specified 
in initializer
/v4l-dvb/v4l/firedtv-1394.c:263: warning: excess elements in struct 
initializer
/v4l-dvb/v4l/firedtv-1394.c:263: warning: (near initialization for 
'fdtv_driver')
/v4l-dvb/v4l/firedtv-1394.c:264: error: unknown field 'id_table' 
specified in initializer
/v4l-dvb/v4l/firedtv-1394.c:264: warning: excess elements in struct 
initializer
/v4l-dvb/v4l/firedtv-1394.c:264: warning: (near initialization for 
'fdtv_driver')
/v4l-dvb/v4l/firedtv-1394.c:265: error: unknown field 'update' specified 
in initializer
/v4l-dvb/v4l/firedtv-1394.c:265: warning: excess elements in struct 
initializer
/v4l-dvb/v4l/firedtv-1394.c:265: warning: (near initialization for 
'fdtv_driver')
/v4l-dvb/v4l/firedtv-1394.c:266: error: unknown field 'driver' specified 
in initializer
/v4l-dvb/v4l/firedtv-1394.c:266: error: extra brace group at end of 
initializer
/v4l-dvb/v4l/firedtv-1394.c:266: error: (near initialization for 
'fdtv_driver')
/v4l-dvb/v4l/firedtv-1394.c:269: warning: excess elements in struct 
initializer
/v4l-dvb/v4l/firedtv-1394.c:269: warning: (near initialization for 
'fdtv_driver')
/v4l-dvb/v4l/firedtv-1394.c:272: error: variable 'fdtv_highlevel' has 
initializer but incomplete type
/v4l-dvb/v4l/firedtv-1394.c:273: error: unknown field 'name' specified 
in initializer
/v4l-dvb/v4l/firedtv-1394.c:273: warning: excess elements in struct 
initializer
/v4l-dvb/v4l/firedtv-1394.c:273: warning: (near initialization for 
'fdtv_highlevel')
/v4l-dvb/v4l/firedtv-1394.c:274: error: unknown field 'fcp_request' 
specified in initializer
/v4l-dvb/v4l/firedtv-1394.c:274: warning: excess elements in struct 
initializer
/v4l-dvb/v4l/firedtv-1394.c:274: warning: (near initialization for 
'fdtv_highlevel')
/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/v4l-dvb/v4l/firedtv-1394.c:281: error: implicit declaration of function 
'hpsb_register_highlevel'
/v4l-dvb/v4l/firedtv-1394.c:282: error: implicit declaration of function 
'hpsb_register_protocol'
/v4l-dvb/v4l/firedtv-1394.c:285: error: implicit declaration of function 
'hpsb_unregister_highlevel'
/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/v4l-dvb/v4l/firedtv-1394.c:292: error: implicit declaration of function 
'hpsb_unregister_protocol'
make[3]: *** [/v4l-dvb/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
make[1]: *** [default] Fehler 2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: VL4-DVB compilation issue not covered by Daily Automated
  2010-01-12 21:26 VL4-DVB compilation issue not covered by Daily Automated Hagen von Eitzen
@ 2010-01-12 21:44 ` Devin Heitmueller
  2010-01-13  8:32   ` xof
  0 siblings, 1 reply; 5+ messages in thread
From: Devin Heitmueller @ 2010-01-12 21:44 UTC (permalink / raw)
  To: Hagen von Eitzen; +Cc: linux-media

On Tue, Jan 12, 2010 at 4:26 PM, Hagen von Eitzen <hagen@von-eitzen.de> wrote:
>
> Dear all,
> as suggested by http://www.linuxtv.org/wiki/index.php/Bug_Report I report several warnings and errors not yet covered in latest http://www.xs4all.nl/~hverkuil/logs/Monday.log I get when compiling.
> (The purpose of my experiments was trying to find out something about "0ccd:00a5 TerraTec Electronic GmbH")
>
> Regards
> Hagen

This is an Ubuntu-specific issue (they improperly packaged their
kernel headers), which will not be covered by the daily build system
(which exercises various kernels but not across different Linux
distribution versions).

Devin

--
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: VL4-DVB compilation issue not covered by Daily Automated
  2010-01-12 21:44 ` Devin Heitmueller
@ 2010-01-13  8:32   ` xof
  2010-01-13 15:44     ` Devin Heitmueller
  0 siblings, 1 reply; 5+ messages in thread
From: xof @ 2010-01-13  8:32 UTC (permalink / raw)
  To: linux-media

Devin Heitmueller a écrit :
> On Tue, Jan 12, 2010 at 4:26 PM, Hagen von Eitzen <hagen@von-eitzen.de> wrote:
>   
>> Dear all,
>> as suggested by http://www.linuxtv.org/wiki/index.php/Bug_Report I report several warnings and errors not yet covered in latest http://www.xs4all.nl/~hverkuil/logs/Monday.log I get when compiling.
>> (The purpose of my experiments was trying to find out something about "0ccd:00a5 TerraTec Electronic GmbH")
>>
>> Regards
>> Hagen
>>     
>
> This is an Ubuntu-specific issue (they improperly packaged their
> kernel headers), which will not be covered by the daily build system
> (which exercises various kernels but not across different Linux
> distribution versions).
>
> Devin
>   
Are you sure? (it is an Ubuntu-only issue)

I can see several
> #include <asm/asm.h>
in the v4l tree that compile fine on Ubuntu
but only linux/drivers/media/dvb/firewire/firedtv-1394.c contains
> #include <asm.h>
and doesn't compile.

Unfortunately the asm.h asm/asm.h is not the only issue with
firedtv-1394.c (on Ubuntu/Karmic Koala?).
The /drivers/ieee1394/*.h seem to be in the linux-sources tree and not
in the linux-headers one (?)

Everywhere I look, I read "don't bother, just disable firedtv-1394.c"
until they fix it.

xof
---------------------
But my problem is 'I have no audio on an Hercules Smart TV 2 Stereo'
(bttv0: subsystem: 1540:952b; Card-100, Tuner-38).
It works on a Dapper LiveCD (with a good /etc/modprobe.d/bttv, a
~/.xawtv and xawtv installed).
The problem seems to exist since 2008...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: VL4-DVB compilation issue not covered by Daily Automated
  2010-01-13  8:32   ` xof
@ 2010-01-13 15:44     ` Devin Heitmueller
  2010-01-14 17:27       ` xof
  0 siblings, 1 reply; 5+ messages in thread
From: Devin Heitmueller @ 2010-01-13 15:44 UTC (permalink / raw)
  To: xof; +Cc: linux-media

On Wed, Jan 13, 2010 at 3:32 AM, xof <xof@skynet.be> wrote:
> Are you sure? (it is an Ubuntu-only issue)
>
> I can see several
>> #include <asm/asm.h>
> in the v4l tree that compile fine on Ubuntu
> but only linux/drivers/media/dvb/firewire/firedtv-1394.c contains
>> #include <asm.h>
> and doesn't compile.
>
> Unfortunately the asm.h asm/asm.h is not the only issue with
> firedtv-1394.c (on Ubuntu/Karmic Koala?).
> The /drivers/ieee1394/*.h seem to be in the linux-sources tree and not
> in the linux-headers one (?)
>
> Everywhere I look, I read "don't bother, just disable firedtv-1394.c"
> until they fix it.

I think perhaps you meant to write "dma.h" and not "asm.h".

All of the missing includes in the error log (including "dma.h") are
for files that are found in the iee1394 source directory, which are
not provided in the Ubuntu linux-headers package.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: VL4-DVB compilation issue not covered by Daily Automated
  2010-01-13 15:44     ` Devin Heitmueller
@ 2010-01-14 17:27       ` xof
  0 siblings, 0 replies; 5+ messages in thread
From: xof @ 2010-01-14 17:27 UTC (permalink / raw)
  To: linux-media

Devin Heitmueller a écrit :
> On Wed, Jan 13, 2010 at 3:32 AM, xof <xof@skynet.be> wrote:
>   
>> Are you sure? (it is an Ubuntu-only issue)
>>
>> I can see several
>>     
>>> #include <asm/asm.h>
>>>       
>> in the v4l tree that compile fine on Ubuntu
>> but only linux/drivers/media/dvb/firewire/firedtv-1394.c contains
>>     
>>> #include <asm.h>
>>>       
>> and doesn't compile.
>>
>> Unfortunately the asm.h asm/asm.h is not the only issue with
>> firedtv-1394.c (on Ubuntu/Karmic Koala?).
>> The /drivers/ieee1394/*.h seem to be in the linux-sources tree and not
>> in the linux-headers one (?)
>>
>> Everywhere I look, I read "don't bother, just disable firedtv-1394.c"
>> until they fix it.
>>     
>
> I think perhaps you meant to write "dma.h" and not "asm.h".
>
> All of the missing includes in the error log (including "dma.h") are
> for files that are found in the iee1394 source directory, which are
> not provided in the Ubuntu linux-headers package.
>
> Devin
>
>   
Oups!  You are right...

Thank you.


xof
-------------------------
PS: I signaled the problem to the Ubuntu community
    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/507154
I hope this was the right thing to do... I did not find any mention of
the problem there.
There is no reaction yet, it is just one of 5000 other things to look at...


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-14 17:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 21:26 VL4-DVB compilation issue not covered by Daily Automated Hagen von Eitzen
2010-01-12 21:44 ` Devin Heitmueller
2010-01-13  8:32   ` xof
2010-01-13 15:44     ` Devin Heitmueller
2010-01-14 17:27       ` xof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox