Issue 26 in vtuner: error: field ‘prop’ has incomplete type

42 views
Skip to first unread message

vtu...@googlecode.com

unread,
Jun 18, 2012, 5:43:35 PM6/18/12
to vtuner-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 26 by elisa.ma...@gmail.com: error: field ‘prop’ has incomplete
type
http://code.google.com/p/vtuner/issues/detail?id=26

Hi, i tried to compile vtuner.ko ì, but i get en error (see below):

linux distro : xubuntu 8.04
kernel : 2.6.24-19-generic
gcc : 4.2

leo@laptop:/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver$
sudo make KDIR=/usr/src/linux-headers-2.6.24-19-generic
make -C /usr/src/linux-headers-2.6.24-19-generic
SUBDIRS=/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CC [M]
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.o
In file included from
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_priv.h:31,
from
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:33:
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtuner.h:86:
error: field ‘prop’ has incomplete type
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:37:
warning:
data definition has no type or storage class
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:37:
warning:
type defaults to ‘int’ in declaration of
‘DVB_DEFINE_MOD_OPT_ADAPTER_NR’
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:37:
warning:
parameter names (without types) in function declaration
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:
In
function ‘vtunerc_init’:
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:282:
error:
‘adapter_nr’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:282:
error:
(Each undeclared identifier is reported only once
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:282:
error:
for each function it appears in.)
/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.c:282:
error:
too many arguments to function ‘dvb_register_adapter’
make[2]: ***
[/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver/vtunerc_main.o]
Error 1
make[1]: ***
[_module_/usr/src/linux-headers-2.6.24-19-generic/vtuner.linux-driver]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [default] Error 2



vtu...@googlecode.com

unread,
Jun 19, 2012, 10:01:19 AM6/19/12
to vtuner-...@googlegroups.com

Comment #1 on issue 26 by armando....@gmail.com: error: field ‘prop’ has
incomplete type
http://code.google.com/p/vtuner/issues/detail?id=26

I think that the problem is /linux/dvb/frontend.h version in
linux-headers-2.6.24-19-generic sources.



vtu...@googlecode.com

unread,
Jun 19, 2012, 2:23:08 PM6/19/12
to vtuner-...@googlegroups.com
Updates:
Labels: -Priority-Medium Priority-Low

Comment #2 on issue 26 by jpetrous: error: field ‘prop’ has incomplete type
http://code.google.com/p/vtuner/issues/detail?id=26

Yes, as Amando already noted, the problem is because of parameter handling
in earlier DVB API versions.

Unfortunatelly, the driver required version 5.0 DVB API or newer.

You have to update your kernel's DVB subsystem to 5.0 or newer to get
driver compiled. Or do some local source "cooking" like adding necessary
defines from newer headers or so. I would recommend to update linux DVB
core, it is simpler and works pretty good.
Or switch to some newer kernel, which has version 5 API included already.

You can check if kernel has version 5.0 or newer DVB API included by
checking include/linux/dvb/version.h:

#define DVB_API_VERSION 5

/Honza


vtu...@googlecode.com

unread,
Sep 19, 2012, 5:17:12 PM9/19/12
to vtuner-...@googlegroups.com

Comment #3 on issue 26 by jpetrous: error: field ‘prop’ has incomplete type
http://code.google.com/p/vtuner/issues/detail?id=26

Any update on it?

vtu...@googlecode.com

unread,
Feb 18, 2014, 2:45:54 AM2/18/14
to vtuner-...@googlegroups.com
Updates:
Status: WontFix

Comment #4 on issue 26 by jpetrous: error: field 'prop' has incomplete type
http://code.google.com/p/vtuner/issues/detail?id=26

Seems no more answers from reporter. Closing.

Please reopen if needed.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages