* Make failed - standard ubuntu 9.10
@ 2010-01-28 22:35 David Henig
2010-01-29 6:22 ` Németh Márton
0 siblings, 1 reply; 11+ messages in thread
From: David Henig @ 2010-01-28 22:35 UTC (permalink / raw)
To: linux-media
Please can someone assist, not sure what the cause of the below is? This
is my second attempt to get linux tv to work, I suspect it's a basic
level error - sorry I'm fairly new to Linux... output below, I'm running
a fairly standard ubuntu 9.10 setup.
make[1]: Entering directory `/home/david/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
File not found: /lib/modules/2.6.31-17-generic/build/.config at
./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by
`config-compat.h'. Stop.
make[1]: Leaving directory `/home/david/v4l-dvb/v4l'
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-28 22:35 Make failed - standard ubuntu 9.10 David Henig
@ 2010-01-29 6:22 ` Németh Márton
2010-01-29 9:24 ` David Henig
0 siblings, 1 reply; 11+ messages in thread
From: Németh Márton @ 2010-01-29 6:22 UTC (permalink / raw)
To: David Henig; +Cc: linux-media
David Henig wrote:
> Please can someone assist, not sure what the cause of the below is? This
> is my second attempt to get linux tv to work, I suspect it's a basic
> level error - sorry I'm fairly new to Linux... output below, I'm running
> a fairly standard ubuntu 9.10 setup.
>
> make[1]: Entering directory `/home/david/v4l-dvb/v4l'
> Updating/Creating .config
> Preparing to compile for kernel version 2.6.31
> File not found: /lib/modules/2.6.31-17-generic/build/.config at
> ./scripts/make_kconfig.pl line 32, <IN> line 4.
> make[1]: *** No rule to make target `.myconfig', needed by
> `config-compat.h'. Stop.
> make[1]: Leaving directory `/home/david/v4l-dvb/v4l'
> make: *** [all] Error 2
I think you don't have the kernel development files installed.
The recommended reading would be:
http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
Regards,
Márton Németh
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 6:22 ` Németh Márton
@ 2010-01-29 9:24 ` David Henig
2010-01-29 12:30 ` leandro Costantino
0 siblings, 1 reply; 11+ messages in thread
From: David Henig @ 2010-01-29 9:24 UTC (permalink / raw)
To: Németh Márton; +Cc: linux-media
Thanks, I've been trying to follow the wiki, but getting this error. The
main kernel packages seem to all be installed, but perhaps something
less obvious is missing - hard to tell without a definitive list of
dependencies. Help would be much appreciated!
David
Németh Márton wrote:
> David Henig wrote:
>
>> Please can someone assist, not sure what the cause of the below is? This
>> is my second attempt to get linux tv to work, I suspect it's a basic
>> level error - sorry I'm fairly new to Linux... output below, I'm running
>> a fairly standard ubuntu 9.10 setup.
>>
>> make[1]: Entering directory `/home/david/v4l-dvb/v4l'
>> Updating/Creating .config
>> Preparing to compile for kernel version 2.6.31
>> File not found: /lib/modules/2.6.31-17-generic/build/.config at
>> ./scripts/make_kconfig.pl line 32, <IN> line 4.
>> make[1]: *** No rule to make target `.myconfig', needed by
>> `config-compat.h'. Stop.
>> make[1]: Leaving directory `/home/david/v4l-dvb/v4l'
>> make: *** [all] Error 2
>>
>
> I think you don't have the kernel development files installed.
>
> The recommended reading would be:
> http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>
> Regards,
>
> Márton Németh
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 9:24 ` David Henig
@ 2010-01-29 12:30 ` leandro Costantino
2010-01-29 14:27 ` David Henig
0 siblings, 1 reply; 11+ messages in thread
From: leandro Costantino @ 2010-01-29 12:30 UTC (permalink / raw)
To: David Henig; +Cc: Németh Márton, linux-media
Its looking for .config file inside the kernel source.
/lib/modules/2.6.31-17-generic/build/.config
1) check that /build is a symlink to /usr/src/kernel-path-source
2) IF there is something like /proc/config , copy it to
/usr/src/kernel-path-source/.config
IF NOT, then you could try doing a make oldconfig ....
I really dont know that the ubuntu packages includes inside, so, those
are my 2 cents...
2010/1/29 David Henig <dhhenig@googlemail.com>:
> Thanks, I've been trying to follow the wiki, but getting this error. The
> main kernel packages seem to all be installed, but perhaps something less
> obvious is missing - hard to tell without a definitive list of dependencies.
> Help would be much appreciated!
>
> David
>
> Németh Márton wrote:
>>
>> David Henig wrote:
>>
>>>
>>> Please can someone assist, not sure what the cause of the below is? This
>>> is my second attempt to get linux tv to work, I suspect it's a basic level
>>> error - sorry I'm fairly new to Linux... output below, I'm running a fairly
>>> standard ubuntu 9.10 setup.
>>>
>>> make[1]: Entering directory `/home/david/v4l-dvb/v4l'
>>> Updating/Creating .config
>>> Preparing to compile for kernel version 2.6.31
>>> File not found: /lib/modules/2.6.31-17-generic/build/.config at
>>> ./scripts/make_kconfig.pl line 32, <IN> line 4.
>>> make[1]: *** No rule to make target `.myconfig', needed by
>>> `config-compat.h'. Stop.
>>> make[1]: Leaving directory `/home/david/v4l-dvb/v4l'
>>> make: *** [all] Error 2
>>>
>>
>> I think you don't have the kernel development files installed.
>>
>> The recommended reading would be:
>>
>> http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>>
>> Regards,
>>
>> Márton Németh
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 12:30 ` leandro Costantino
@ 2010-01-29 14:27 ` David Henig
2010-01-29 14:52 ` Francis Barber
0 siblings, 1 reply; 11+ messages in thread
From: David Henig @ 2010-01-29 14:27 UTC (permalink / raw)
To: leandro Costantino; +Cc: Németh Márton, linux-media
Thanks, eventually tip 1 fixed this. For some reason I had
2.6.31-17-generic without a .config, as I seem to be using
2.6.31-17-generic-pae. Creating a symlink to that fixed this error.
Unfortunately still can't finish build, I get an error in firedtv-1394,
as shown below. Do I need to reinstall, as I also get the following message?
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Thanks again for any help, I'm sorry I'm only a couple of months into
linux, I'm just trying to do this against what I thought was a fairly
standard build...
David
[error section]
/home/david/v4l-dvb/v4l/firedtv-1394.c:21:17: error: dma.h: No such file
or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:23:23: error: highlevel.h: No
such file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:24:19: error: hosts.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:26:17: error: iso.h: No such file
or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:40: warning: 'struct hpsb_iso'
declared inside parameter list
/home/david/v4l-dvb/v4l/firedtv-1394.c:40: warning: its scope is only
this definition or declaration, which is probably not what you want
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
/home/david/v4l-dvb/v4l/firedtv-1394.c:56: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:57: error: implicit declaration
of function 'hpsb_iso_n_ready'
/home/david/v4l-dvb/v4l/firedtv-1394.c:64: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:65: error: implicit declaration
of function 'dma_region_i'
/home/david/v4l-dvb/v4l/firedtv-1394.c:65: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:65: error: expected expression
before 'unsigned'
/home/david/v4l-dvb/v4l/firedtv-1394.c:66: warning: assignment makes
pointer from integer without a cast
/home/david/v4l-dvb/v4l/firedtv-1394.c:67: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:71: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:85: error: implicit declaration
of function 'hpsb_iso_recv_release_packets'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_of':
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: warning: type defaults to
'int' in declaration of '__mptr'
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: warning: initialization from
incompatible pointer type
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: error: invalid use of
undefined type 'struct unit_directory'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_lock':
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: implicit declaration
of function 'hpsb_node_lock'
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: 'EXTCODE_COMPARE_SWAP'
undeclared (first use in this function)
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: (Each undeclared
identifier is reported only once
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: for each function it
appears in.)
/home/david/v4l-dvb/v4l/firedtv-1394.c:98: error: 'quadlet_t' undeclared
(first use in this function)
/home/david/v4l-dvb/v4l/firedtv-1394.c:98: error: expected expression
before ')' token
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_read':
/home/david/v4l-dvb/v4l/firedtv-1394.c:106: error: implicit declaration
of function 'hpsb_node_read'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_write':
/home/david/v4l-dvb/v4l/firedtv-1394.c:111: error: implicit declaration
of function 'hpsb_node_write'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'start_iso':
/home/david/v4l-dvb/v4l/firedtv-1394.c:122: error: implicit declaration
of function 'hpsb_iso_recv_init'
/home/david/v4l-dvb/v4l/firedtv-1394.c:122: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:124: error:
'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
/home/david/v4l-dvb/v4l/firedtv-1394.c:126: warning: assignment makes
pointer from integer without a cast
/home/david/v4l-dvb/v4l/firedtv-1394.c:133: error: implicit declaration
of function 'hpsb_iso_recv_start'
/home/david/v4l-dvb/v4l/firedtv-1394.c:136: error: implicit declaration
of function 'hpsb_iso_shutdown'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'stop_iso':
/home/david/v4l-dvb/v4l/firedtv-1394.c:147: error: implicit declaration
of function 'hpsb_iso_stop'
/home/david/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/david/v4l-dvb/v4l/firedtv-1394.c:162: warning: 'struct hpsb_host'
declared inside parameter list
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'fcp_request':
/home/david/v4l-dvb/v4l/firedtv-1394.c:175: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:176: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_probe':
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: warning: type defaults to
'int' in declaration of '__mptr'
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: warning: initialization from
incompatible pointer type
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: error: invalid use of
undefined type 'struct unit_directory'
/home/david/v4l-dvb/v4l/firedtv-1394.c:195: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:196: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:197: error: implicit declaration
of function 'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
/home/david/v4l-dvb/v4l/firedtv-1394.c:197: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:197: warning: assignment makes
pointer from integer without a cast
/home/david/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/david/v4l-dvb/v4l/firedtv-1394.c:256: warning: 'struct
unit_directory' declared inside parameter list
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_update':
/home/david/v4l-dvb/v4l/firedtv-1394.c:258: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/david/v4l-dvb/v4l/firedtv-1394.c:266: error: variable
'fdtv_driver' has initializer but incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:267: error: unknown field 'name'
specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:267: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:267: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:268: error: unknown field
'id_table' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:268: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:268: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:269: error: unknown field
'update' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:269: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:269: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:270: error: unknown field
'driver' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:270: error: extra brace group at
end of initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:270: error: (near initialization
for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:273: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:273: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:276: error: variable
'fdtv_highlevel' has initializer but incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:277: error: unknown field 'name'
specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:277: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:277: warning: (near
initialization for 'fdtv_highlevel')
/home/david/v4l-dvb/v4l/firedtv-1394.c:278: error: unknown field
'fcp_request' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:278: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:278: warning: (near
initialization for 'fdtv_highlevel')
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/home/david/v4l-dvb/v4l/firedtv-1394.c:285: error: implicit declaration
of function 'hpsb_register_highlevel'
/home/david/v4l-dvb/v4l/firedtv-1394.c:286: error: implicit declaration
of function 'hpsb_register_protocol'
/home/david/v4l-dvb/v4l/firedtv-1394.c:289: error: implicit declaration
of function 'hpsb_unregister_highlevel'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/home/david/v4l-dvb/v4l/firedtv-1394.c:296: error: implicit declaration
of function 'hpsb_unregister_protocol'
make[3]: *** [/home/david/v4l-dvb/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/david/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic-pae'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/david/v4l-dvb/v4l'
make: *** [all] Error 2
leandro Costantino wrote:
> Its looking for .config file inside the kernel source.
>
> /lib/modules/2.6.31-17-generic/build/.config
> 1) check that /build is a symlink to /usr/src/kernel-path-source
> 2) IF there is something like /proc/config , copy it to
> /usr/src/kernel-path-source/.config
> IF NOT, then you could try doing a make oldconfig ....
>
> I really dont know that the ubuntu packages includes inside, so, those
> are my 2 cents...
>
> 2010/1/29 David Henig <dhhenig@googlemail.com>:
>
>> Thanks, I've been trying to follow the wiki, but getting this error. The
>> main kernel packages seem to all be installed, but perhaps something less
>> obvious is missing - hard to tell without a definitive list of dependencies.
>> Help would be much appreciated!
>>
>> David
>>
>> Németh Márton wrote:
>>
>>> David Henig wrote:
>>>
>>>
>>>> Please can someone assist, not sure what the cause of the below is? This
>>>> is my second attempt to get linux tv to work, I suspect it's a basic level
>>>> error - sorry I'm fairly new to Linux... output below, I'm running a fairly
>>>> standard ubuntu 9.10 setup.
>>>>
>>>> make[1]: Entering directory `/home/david/v4l-dvb/v4l'
>>>> Updating/Creating .config
>>>> Preparing to compile for kernel version 2.6.31
>>>> File not found: /lib/modules/2.6.31-17-generic/build/.config at
>>>> ./scripts/make_kconfig.pl line 32, <IN> line 4.
>>>> make[1]: *** No rule to make target `.myconfig', needed by
>>>> `config-compat.h'. Stop.
>>>> make[1]: Leaving directory `/home/david/v4l-dvb/v4l'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>> I think you don't have the kernel development files installed.
>>>
>>> The recommended reading would be:
>>>
>>> http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>>>
>>> Regards,
>>>
>>> Márton Németh
>>>
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 14:27 ` David Henig
@ 2010-01-29 14:52 ` Francis Barber
2010-01-29 16:02 ` David Henig
0 siblings, 1 reply; 11+ messages in thread
From: Francis Barber @ 2010-01-29 14:52 UTC (permalink / raw)
To: David Henig; +Cc: leandro Costantino, Németh Márton, linux-media
On 29/01/2010 10:27 PM, David Henig wrote:
> Thanks, eventually tip 1 fixed this. For some reason I had
> 2.6.31-17-generic without a .config, as I seem to be using
> 2.6.31-17-generic-pae. Creating a symlink to that fixed this error.
>
> Unfortunately still can't finish build, I get an error in
> firedtv-1394, as shown below. Do I need to reinstall, as I also get
> the following message?
>
> ***WARNING:*** You do not have the full kernel sources installed.
> This does not prevent you from building the v4l-dvb tree if you have the
> kernel headers, but the full kernel source may be required in order to
> use
> make menuconfig / xconfig / qconfig.
>
> If you are experiencing problems building the v4l-dvb tree, please try
> building against a vanilla kernel before reporting a bug.
>
> Thanks again for any help, I'm sorry I'm only a couple of months into
> linux, I'm just trying to do this against what I thought was a fairly
> standard build...
>
> David
>
Hi David,
It looks like you don't have the kernel headers package installed. In
Ubuntu this package is called linux-headers-generic for the generic
kernel, and linux-headers-server for the server kernel, etc and so forth.
If you have this package you shouldn't need to any symlinking with the
.config, either. I didn't have to.
Regards,
Frank.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 14:52 ` Francis Barber
@ 2010-01-29 16:02 ` David Henig
2010-01-29 17:16 ` Devin Heitmueller
0 siblings, 1 reply; 11+ messages in thread
From: David Henig @ 2010-01-29 16:02 UTC (permalink / raw)
To: Francis Barber; +Cc: leandro Costantino, Németh Márton, linux-media
Thanks, I appear to have the headers and no longer have to do the
symlink, but still getting the same error - any help gratefully
received, or do I need to get a vanilla kernel?
CC [M] /home/david/v4l-dvb/v4l/firedtv-1394.o
/home/david/v4l-dvb/v4l/firedtv-1394.c:21:17: error: dma.h: No such file
or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:23:23: error: highlevel.h: No
such file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:24:19: error: hosts.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:26:17: error: iso.h: No such file
or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such
file or directory
/home/david/v4l-dvb/v4l/firedtv-1394.c:40: warning: 'struct hpsb_iso'
declared inside parameter list
/home/david/v4l-dvb/v4l/firedtv-1394.c:40: warning: its scope is only
this definition or declaration, which is probably not what you want
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
/home/david/v4l-dvb/v4l/firedtv-1394.c:56: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:57: error: implicit declaration
of function 'hpsb_iso_n_ready'
/home/david/v4l-dvb/v4l/firedtv-1394.c:64: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:65: error: implicit declaration
of function 'dma_region_i'
/home/david/v4l-dvb/v4l/firedtv-1394.c:65: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:65: error: expected expression
before 'unsigned'
/home/david/v4l-dvb/v4l/firedtv-1394.c:66: warning: assignment makes
pointer from integer without a cast
/home/david/v4l-dvb/v4l/firedtv-1394.c:67: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:71: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:85: error: implicit declaration
of function 'hpsb_iso_recv_release_packets'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_of':
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: warning: type defaults to
'int' in declaration of '__mptr'
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: warning: initialization from
incompatible pointer type
/home/david/v4l-dvb/v4l/firedtv-1394.c:90: error: invalid use of
undefined type 'struct unit_directory'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_lock':
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: implicit declaration
of function 'hpsb_node_lock'
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: 'EXTCODE_COMPARE_SWAP'
undeclared (first use in this function)
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: (Each undeclared
identifier is reported only once
/home/david/v4l-dvb/v4l/firedtv-1394.c:97: error: for each function it
appears in.)
/home/david/v4l-dvb/v4l/firedtv-1394.c:98: error: 'quadlet_t' undeclared
(first use in this function)
/home/david/v4l-dvb/v4l/firedtv-1394.c:98: error: expected expression
before ')' token
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_read':
/home/david/v4l-dvb/v4l/firedtv-1394.c:106: error: implicit declaration
of function 'hpsb_node_read'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_write':
/home/david/v4l-dvb/v4l/firedtv-1394.c:111: error: implicit declaration
of function 'hpsb_node_write'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'start_iso':
/home/david/v4l-dvb/v4l/firedtv-1394.c:122: error: implicit declaration
of function 'hpsb_iso_recv_init'
/home/david/v4l-dvb/v4l/firedtv-1394.c:122: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:124: error:
'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
/home/david/v4l-dvb/v4l/firedtv-1394.c:126: warning: assignment makes
pointer from integer without a cast
/home/david/v4l-dvb/v4l/firedtv-1394.c:133: error: implicit declaration
of function 'hpsb_iso_recv_start'
/home/david/v4l-dvb/v4l/firedtv-1394.c:136: error: implicit declaration
of function 'hpsb_iso_shutdown'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'stop_iso':
/home/david/v4l-dvb/v4l/firedtv-1394.c:147: error: implicit declaration
of function 'hpsb_iso_stop'
/home/david/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/david/v4l-dvb/v4l/firedtv-1394.c:162: warning: 'struct hpsb_host'
declared inside parameter list
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'fcp_request':
/home/david/v4l-dvb/v4l/firedtv-1394.c:175: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:176: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_probe':
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: warning: type defaults to
'int' in declaration of '__mptr'
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: warning: initialization from
incompatible pointer type
/home/david/v4l-dvb/v4l/firedtv-1394.c:190: error: invalid use of
undefined type 'struct unit_directory'
/home/david/v4l-dvb/v4l/firedtv-1394.c:195: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:196: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:197: error: implicit declaration
of function 'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
/home/david/v4l-dvb/v4l/firedtv-1394.c:197: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:197: warning: assignment makes
pointer from integer without a cast
/home/david/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/david/v4l-dvb/v4l/firedtv-1394.c:256: warning: 'struct
unit_directory' declared inside parameter list
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'node_update':
/home/david/v4l-dvb/v4l/firedtv-1394.c:258: error: dereferencing pointer
to incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/david/v4l-dvb/v4l/firedtv-1394.c:266: error: variable
'fdtv_driver' has initializer but incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:267: error: unknown field 'name'
specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:267: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:267: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:268: error: unknown field
'id_table' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:268: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:268: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:269: error: unknown field
'update' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:269: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:269: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:270: error: unknown field
'driver' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:270: error: extra brace group at
end of initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:270: error: (near initialization
for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:273: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:273: warning: (near
initialization for 'fdtv_driver')
/home/david/v4l-dvb/v4l/firedtv-1394.c:276: error: variable
'fdtv_highlevel' has initializer but incomplete type
/home/david/v4l-dvb/v4l/firedtv-1394.c:277: error: unknown field 'name'
specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:277: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:277: warning: (near
initialization for 'fdtv_highlevel')
/home/david/v4l-dvb/v4l/firedtv-1394.c:278: error: unknown field
'fcp_request' specified in initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:278: warning: excess elements in
struct initializer
/home/david/v4l-dvb/v4l/firedtv-1394.c:278: warning: (near
initialization for 'fdtv_highlevel')
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/home/david/v4l-dvb/v4l/firedtv-1394.c:285: error: implicit declaration
of function 'hpsb_register_highlevel'
/home/david/v4l-dvb/v4l/firedtv-1394.c:286: error: implicit declaration
of function 'hpsb_register_protocol'
/home/david/v4l-dvb/v4l/firedtv-1394.c:289: error: implicit declaration
of function 'hpsb_unregister_highlevel'
/home/david/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/home/david/v4l-dvb/v4l/firedtv-1394.c:296: error: implicit declaration
of function 'hpsb_unregister_protocol'
make[3]: *** [/home/david/v4l-dvb/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/david/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/david/v4l-dvb/v4l'
make: *** [all] Error 2
Francis Barber wrote:
> On 29/01/2010 10:27 PM, David Henig wrote:
>> Thanks, eventually tip 1 fixed this. For some reason I had
>> 2.6.31-17-generic without a .config, as I seem to be using
>> 2.6.31-17-generic-pae. Creating a symlink to that fixed this error.
>>
>> Unfortunately still can't finish build, I get an error in
>> firedtv-1394, as shown below. Do I need to reinstall, as I also get
>> the following message?
>>
>> ***WARNING:*** You do not have the full kernel sources installed.
>> This does not prevent you from building the v4l-dvb tree if you have the
>> kernel headers, but the full kernel source may be required in order
>> to use
>> make menuconfig / xconfig / qconfig.
>>
>> If you are experiencing problems building the v4l-dvb tree, please try
>> building against a vanilla kernel before reporting a bug.
>>
>> Thanks again for any help, I'm sorry I'm only a couple of months into
>> linux, I'm just trying to do this against what I thought was a fairly
>> standard build...
>>
>> David
>>
> Hi David,
>
> It looks like you don't have the kernel headers package installed. In
> Ubuntu this package is called linux-headers-generic for the generic
> kernel, and linux-headers-server for the server kernel, etc and so forth.
>
> If you have this package you shouldn't need to any symlinking with the
> .config, either. I didn't have to.
>
> Regards,
> Frank.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 16:02 ` David Henig
@ 2010-01-29 17:16 ` Devin Heitmueller
2010-01-29 18:29 ` David Henig
2010-01-29 18:32 ` Mauro Carvalho Chehab
0 siblings, 2 replies; 11+ messages in thread
From: Devin Heitmueller @ 2010-01-29 17:16 UTC (permalink / raw)
To: David Henig
Cc: Francis Barber, leandro Costantino, Németh Márton,
linux-media
On Fri, Jan 29, 2010 at 11:02 AM, David Henig <dhhenig@googlemail.com> wrote:
> Thanks, I appear to have the headers and no longer have to do the symlink,
> but still getting the same error - any help gratefully received, or do I
> need to get a vanilla kernel?
Open up the file v4l/.config and change the line for firedtv from "=m"
to "=n". Then run "make".
This is a known packaging bug in Ubuntu's kernel headers.
Cheers,
Devin
--
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 17:16 ` Devin Heitmueller
@ 2010-01-29 18:29 ` David Henig
2010-01-29 19:31 ` Németh Márton
2010-01-29 18:32 ` Mauro Carvalho Chehab
1 sibling, 1 reply; 11+ messages in thread
From: David Henig @ 2010-01-29 18:29 UTC (permalink / raw)
To: Devin Heitmueller
Cc: Francis Barber, leandro Costantino, Németh Márton,
linux-media
Thanks, this is sounding promising, only thing is I'm not seeing a
.config in the v4l directory although it shows up with the locate
command, am I missing something very obvious.
David
Devin Heitmueller wrote:
> On Fri, Jan 29, 2010 at 11:02 AM, David Henig <dhhenig@googlemail.com> wrote:
>
>> Thanks, I appear to have the headers and no longer have to do the symlink,
>> but still getting the same error - any help gratefully received, or do I
>> need to get a vanilla kernel?
>>
>
> Open up the file v4l/.config and change the line for firedtv from "=m"
> to "=n". Then run "make".
>
> This is a known packaging bug in Ubuntu's kernel headers.
>
> Cheers,
>
> Devin
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 17:16 ` Devin Heitmueller
2010-01-29 18:29 ` David Henig
@ 2010-01-29 18:32 ` Mauro Carvalho Chehab
1 sibling, 0 replies; 11+ messages in thread
From: Mauro Carvalho Chehab @ 2010-01-29 18:32 UTC (permalink / raw)
To: Devin Heitmueller
Cc: David Henig, Francis Barber, leandro Costantino,
Németh Márton, linux-media, Douglas Landgraf
Devin Heitmueller wrote:
> On Fri, Jan 29, 2010 at 11:02 AM, David Henig <dhhenig@googlemail.com> wrote:
>> Thanks, I appear to have the headers and no longer have to do the symlink,
>> but still getting the same error - any help gratefully received, or do I
>> need to get a vanilla kernel?
>
> Open up the file v4l/.config and change the line for firedtv from "=m"
> to "=n". Then run "make".
>
> This is a known packaging bug in Ubuntu's kernel headers.
This issue is specific to Ubuntu. With Fedora and with upstream kernels, everything compiles fine.
Maybe the better is if one of you that use Ubuntu to write a patch checking for
the affected Ubuntu versions, and automatically disabling the compilation
of this module, or doing some changes on compat.h to properly compile it.
All it is needed is to patch one of some of those files:
v4l/scripts/make_kconfig.pl (for the logic to disable it on Ubuntu)
/v4l/compat.h (if is there some compat stuff that can be added)
/v4l/scripts/make_config_compat.pl (for a most sophisticated logic based on some script)
After having the patch done, just submit it to Douglas.
Cheers,
Mauro
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Make failed - standard ubuntu 9.10
2010-01-29 18:29 ` David Henig
@ 2010-01-29 19:31 ` Németh Márton
0 siblings, 0 replies; 11+ messages in thread
From: Németh Márton @ 2010-01-29 19:31 UTC (permalink / raw)
To: David Henig
Cc: Devin Heitmueller, Francis Barber, leandro Costantino,
linux-media
David Henig wrote:
> Thanks, this is sounding promising, only thing is I'm not seeing a
> .config in the v4l directory although it shows up with the locate
> command, am I missing something very obvious.
Sorry if I'm telling evidence, but just a hint: every file starts
with . is a "hidden" file. So you'll need something like
ls -a lib/modules/2.6.31-17-generic/build/.config , see "man ls".
Regards,
Márton Németh
> Devin Heitmueller wrote:
>> On Fri, Jan 29, 2010 at 11:02 AM, David Henig <dhhenig@googlemail.com> wrote:
>>
>>> Thanks, I appear to have the headers and no longer have to do the symlink,
>>> but still getting the same error - any help gratefully received, or do I
>>> need to get a vanilla kernel?
>>>
>> Open up the file v4l/.config and change the line for firedtv from "=m"
>> to "=n". Then run "make".
>>
>> This is a known packaging bug in Ubuntu's kernel headers.
>>
>> Cheers,
>>
>> Devin
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-01-29 19:31 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28 22:35 Make failed - standard ubuntu 9.10 David Henig
2010-01-29 6:22 ` Németh Márton
2010-01-29 9:24 ` David Henig
2010-01-29 12:30 ` leandro Costantino
2010-01-29 14:27 ` David Henig
2010-01-29 14:52 ` Francis Barber
2010-01-29 16:02 ` David Henig
2010-01-29 17:16 ` Devin Heitmueller
2010-01-29 18:29 ` David Henig
2010-01-29 19:31 ` Németh Márton
2010-01-29 18:32 ` Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox