Skip to contentSkip to conversation

How installing em28xx ?

linux-dvb David BERCOT 2 participants 6 messages Sep 27, 2008 – Sep 28, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

I used em28xx for the past, but now, it seems to be more complicated... In http://mcentral.de/hg I found em28xx-new (but I have many errors :
[...]
‘dvb_net_release’ /opt/em28xx-new/em2880-dvb.c:976: erreur: implicit declaration of function
‘dvb_unregister_frontend’ /opt/em28xx-new/em2880-dvb.c:977: erreur:
implicit declaration of function
‘dvb_frontend_detach’ /opt/em28xx-new/em2880-dvb.c:981: erreur:
implicit declaration of function
‘dvb_dmx_release’ /opt/em28xx-new/em2880-dvb.c:983: erreur: implicit declaration of function ‘dvb_unregister_adapter’
[...]) and the "old" v4l-dvb-kernel & v4l-dvb-experimental doesn't work any more since 2.6.26 kernel.
I should use multiproto, but it seems heavy, no ?

Do you have any suggestion ?

Thanks a lot.

David.

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Hi,

Quoted 17 lines · David BERCOT

Hi,

I used em28xx for the past, but now, it seems to be more complicated... In http://mcentral.de/hg I found em28xx-new (but I have many errors :
[...]
'dvb_net_release' /opt/em28xx-new/em2880-dvb.c:976: erreur: implicit declaration of function
'dvb_unregister_frontend' /opt/em28xx-new/em2880-dvb.c:977: erreur:
implicit declaration of function
'dvb_frontend_detach' /opt/em28xx-new/em2880-dvb.c:981: erreur:
implicit declaration of function
'dvb_dmx_release' /opt/em28xx-new/em2880-dvb.c:983: erreur: implicit declaration of function 'dvb_unregister_adapter'
[...]) and the "old" v4l-dvb-kernel & v4l-dvb-experimental doesn't work any more since 2.6.26 kernel.
I should use multiproto, but it seems heavy, no ?

Quoted 2 lines

Do you have any suggestion ?

do you have a custom kernel? or a default distribution - and which one?

Markus

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

Hi,

Quoted 21 lines · Markus Rechberger

Hi,

Quoted 17 lines · David BERCOT

Hi,

I used em28xx for the past, but now, it seems to be more complicated... In http://mcentral.de/hg I found em28xx-new (but I have many errors : [...]
'dvb_net_release' /opt/em28xx-new/em2880-dvb.c:976: erreur: implicit declaration of function
'dvb_unregister_frontend' /opt/em28xx-new/em2880-dvb.c:977: erreur:
implicit declaration of function
'dvb_frontend_detach' /opt/em28xx-new/em2880-dvb.c:981: erreur:
implicit declaration of function
'dvb_dmx_release' /opt/em28xx-new/em2880-dvb.c:983: erreur: implicit declaration of function 'dvb_unregister_adapter'
[...]) and the "old" v4l-dvb-kernel & v4l-dvb-experimental doesn't work any more since 2.6.26 kernel.
I should use multiproto, but it seems heavy, no ?

Quoted 4 lines
Quoted 1 line

Do you have any suggestion ?

do you have a custom kernel? or a default distribution - and which one?

No, it is a classical kernel : 2.6.26-1-686 on Debian Sid. Should I put all the errors ?

Thanks.

David.

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw
Quoted 25 lines · David BERCOT

Hi,

Quoted 21 lines · Markus Rechberger

Hi,

Quoted 17 lines · David BERCOT

Hi,

I used em28xx for the past, but now, it seems to be more complicated... In http://mcentral.de/hg I found em28xx-new (but I have many errors : [...]
'dvb_net_release' /opt/em28xx-new/em2880-dvb.c:976: erreur: implicit declaration of function
'dvb_unregister_frontend' /opt/em28xx-new/em2880-dvb.c:977: erreur:
implicit declaration of function
'dvb_frontend_detach' /opt/em28xx-new/em2880-dvb.c:981: erreur:
implicit declaration of function
'dvb_dmx_release' /opt/em28xx-new/em2880-dvb.c:983: erreur: implicit declaration of function 'dvb_unregister_adapter'
[...]) and the "old" v4l-dvb-kernel & v4l-dvb-experimental doesn't work any more since 2.6.26 kernel.
I should use multiproto, but it seems heavy, no ?

Quoted 11 lines
Quoted 4 lines
Quoted 1 line

Do you have any suggestion ?

do you have a custom kernel? or a default distribution - and which one?

No, it is a classical kernel : 2.6.26-1-686 on Debian Sid. Should I put all the errors ?

Quoted 2 lines
Quoted 2 lines

'dvb_unregister_frontend' /opt/em28xx-new/em2880-dvb.c:977: erreur:
implicit declaration of function

this means it cannot find some headers, you need to install the full kernel sources for your installed
kernel before compiling the driver.

Markus

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw
Quoted 27 lines · Markus Rechberger
Quoted 26 lines
Quoted 19 lines
Quoted 17 lines · David BERCOT

Hi,

I used em28xx for the past, but now, it seems to be more complicated... In http://mcentral.de/hg I found em28xx-new (but I have many errors : [...]
'dvb_net_release' /opt/em28xx-new/em2880-dvb.c:976: erreur:
implicit declaration of function 'dvb_unregister_frontend' /opt/em28xx-new/em2880-dvb.c:977:
erreur: implicit declaration of function 'dvb_frontend_detach' /opt/em28xx-new/em2880-dvb.c:981: erreur:
implicit declaration of function
'dvb_dmx_release' /opt/em28xx-new/em2880-dvb.c:983: erreur:
implicit declaration of function 'dvb_unregister_adapter' [...]) and the "old" v4l-dvb-kernel & v4l-dvb-experimental doesn't work any more since 2.6.26 kernel.
I should use multiproto, but it seems heavy, no ?

Quoted 4 lines
Quoted 1 line

Do you have any suggestion ?

do you have a custom kernel? or a default distribution - and which one?

No, it is a classical kernel : 2.6.26-1-686 on Debian Sid. Should I put all the errors ?

Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

'dvb_unregister_frontend' /opt/em28xx-new/em2880-dvb.c:977:
erreur: implicit declaration of function

this means it cannot find some headers, you need to install the full kernel sources for your installed
kernel before compiling the driver.

Really ? Kernel headers (in my case : linux-headers-2.6.26-1-686) are not sufficient ? When I've installed em28xx (with v4l-dvb-experimental) a few months ago, it was ok only with the headers...

OK. I'll try with the complete source (even if I don't understand why ;-)))

Thank you very much.

David.

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#5 lore raw

Hi,

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

No, it is a classical kernel : 2.6.26-1-686 on Debian Sid.

Quoted 2 lines
Quoted 2 lines

'dvb_unregister_frontend' /opt/em28xx-new/em2880-dvb.c:977:
erreur: implicit declaration of function

this means it cannot find some headers, you need to install the full kernel sources for your installed
kernel before compiling the driver.

I've installed the full kernel sources :
david:/usr/src/apt-get source linux-image-2.6.26-1-686

and it's not better :

david:/opt/em28xx-new# make
rm -rf Module.symvers; 
make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo
2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=`pwd` modules make[1]:
entrant dans le répertoire « /usr/src/linux-headers-2.6.26-1-686 » CC
[M]  /opt/em28xx-new/em2880-dvb.o Dans le fichier inclus à partir
de /opt/em28xx-new/em2880-dvb.c:33: /opt/em28xx-new/em28xx.h:32:20:
erreur: dmxdev.h : Aucun fichier ou répertoire de ce
type /opt/em28xx-new/em28xx.h:33:23: erreur: dvb_demux.h : Aucun
fichier ou répertoire de ce type /opt/em28xx-new/em28xx.h:34:21:
erreur: dvb_net.h : Aucun fichier ou répertoire de ce
type /opt/em28xx-new/em28xx.h:35:26: erreur: dvb_frontend.h : Aucun
fichier ou répertoire de ce type In file included
from /opt/em28xx-new/em2880-dvb.c:33: /opt/em28xx-new/em28xx.h:550:
erreur: field ‘demux’ has incomplete type /opt/em28xx-new/em28xx.h:558:
erreur: field ‘adapter’ has incomplete
type /opt/em28xx-new/em28xx.h:561: erreur: field ‘dmxdev’ has
incomplete type /opt/em28xx-new/em28xx.h:563: erreur: field ‘dvbnet’
has incomplete type Dans le fichier inclus à partir
de /opt/em28xx-new/em2880-dvb.c:41: /opt/em28xx-new/drx3973d/drx3973d_demod.h:5:26:
erreur: dvb_frontend.h : Aucun fichier ou répertoire de ce type In file
included
from /opt/em28xx-new/em2880-dvb.c:41: /opt/em28xx-new/drx3973d/drx3973d_demod.h:9:
erreur: field ‘frontend’ has incomplete type Dans le fichier inclus à
partir
de /opt/em28xx-new/em2880-dvb.c:43: /opt/em28xx-new/qt1010/qt1010.h:25:26:
erreur: dvb_frontend.h : Aucun fichier ou répertoire de ce
type /opt/em28xx-new/em2880-dvb.c:47:22: erreur: lgdt330x.h : Aucun
fichier ou répertoire de ce type /opt/em28xx-new/em2880-dvb.c: In
function ‘em2880_complete_irq’: /opt/em28xx-new/em2880-dvb.c:254:
erreur: implicit declaration of function
‘dvb_dmx_swfilter’ /opt/em28xx-new/em2880-dvb.c: Hors de toute
fonction : /opt/em28xx-new/em2880-dvb.c:357: attention : ‘struct
dvb_demux_feed’ declared inside parameter
list /opt/em28xx-new/em2880-dvb.c:357: attention : visible uniquement
depuis cette définition ou déclaration, ce qui n'est probablement pas
ce que vous désirez /opt/em28xx-new/em2880-dvb.c: In function
‘em2880_start_feed’: /opt/em28xx-new/em2880-dvb.c:359: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:360: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c: Hors de
toute fonction : /opt/em28xx-new/em2880-dvb.c:374: attention : ‘struct
dvb_demux_feed’ declared inside parameter
list /opt/em28xx-new/em2880-dvb.c: In function
‘em2880_stop_feed’: /opt/em28xx-new/em2880-dvb.c:376: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:377: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c: In
function ‘em28xx_ts_bus_ctrl’: /opt/em28xx-new/em2880-dvb.c:403:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: Hors de toute
fonction : /opt/em28xx-new/em2880-dvb.c:420: erreur: variable
‘em2880_lgdt3303_dev’ has initializer but incomplete
type /opt/em28xx-new/em2880-dvb.c:421: erreur: unknown field
‘demod_address’ specified in
initializer /opt/em28xx-new/em2880-dvb.c:421: attention : éléments en
excès dans l'initialisation de la
structure /opt/em28xx-new/em2880-dvb.c:421: attention : (near
initialization for
‘em2880_lgdt3303_dev’) /opt/em28xx-new/em2880-dvb.c:422: erreur:
unknown field ‘demod_chip’ specified in
initializer /opt/em28xx-new/em2880-dvb.c:422: erreur: ‘LGDT3303’
undeclared here (not in a function) /opt/em28xx-new/em2880-dvb.c:423:
attention : éléments en excès dans l'initialisation de la
structure /opt/em28xx-new/em2880-dvb.c:423: attention : (near
initialization for ‘em2880_lgdt3303_dev’) /opt/em28xx-new/em2880-dvb.c:
In function
‘kworld355u_i2c_gate_ctrl’: /opt/em28xx-new/em2880-dvb.c:437: erreur:
field ‘frontend’ has incomplete type /opt/em28xx-new/em2880-dvb.c:443:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em28xx_set_params’: /opt/em28xx-new/em2880-dvb.c:457: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:466: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c: In
function ‘em28xx_get_frequency’: /opt/em28xx-new/em2880-dvb.c:584:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em28xx_get_bandwidth’: /opt/em28xx-new/em2880-dvb.c:591: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em28xx_dvb_init’: /opt/em28xx-new/em2880-dvb.c:599: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em28xx_zl10353_init’: /opt/em28xx-new/em2880-dvb.c:655: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em28xx_zl10353_sleep’: /opt/em28xx-new/em2880-dvb.c:697: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em28xx_dvb_sleep’: /opt/em28xx-new/em2880-dvb.c:709: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em2880_dvb_init’: /opt/em28xx-new/em2880-dvb.c:774: erreur: implicit
declaration of function ‘dvb_attach’ /opt/em28xx-new/em2880-dvb.c:778:
attention : assignment makes pointer from integer without a
cast /opt/em28xx-new/em2880-dvb.c:796: attention : assignment makes
pointer from integer without a cast /opt/em28xx-new/em2880-dvb.c:802:
erreur: ‘lgdt330x_attach’ undeclared (first use in this
function) /opt/em28xx-new/em2880-dvb.c:802: erreur: (Each undeclared
identifier is reported only once /opt/em28xx-new/em2880-dvb.c:802:
erreur: for each function it appears
in.) /opt/em28xx-new/em2880-dvb.c:803: attention : assignment makes
pointer from integer without a cast /opt/em28xx-new/em2880-dvb.c:812:
attention : assignment makes pointer from integer without a
cast /opt/em28xx-new/em2880-dvb.c:817: attention : assignment makes
pointer from integer without a cast /opt/em28xx-new/em2880-dvb.c:842:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:843: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c:845:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:847: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c:851:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:853: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c:862:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:876: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c:878:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:879: erreur: déréférencement
d'un pointeur de type incomplet /opt/em28xx-new/em2880-dvb.c:897:
erreur: déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c:900: erreur: implicit
declaration of function
‘dvb_register_adapter’ /opt/em28xx-new/em2880-dvb.c:918: erreur:
implicit declaration of function
‘dvb_register_frontend’ /opt/em28xx-new/em2880-dvb.c:925: erreur:
‘DMX_TS_FILTERING’ undeclared (first use in this
function) /opt/em28xx-new/em2880-dvb.c:926: erreur:
‘DMX_SECTION_FILTERING’ undeclared (first use in this
function) /opt/em28xx-new/em2880-dvb.c:927: erreur:
‘DMX_MEMORY_BASED_FILTERING’ undeclared (first use in this
function) /opt/em28xx-new/em2880-dvb.c:929: erreur: implicit
declaration of function
‘dvb_dmx_init’ /opt/em28xx-new/em2880-dvb.c:940: erreur: implicit
declaration of function
‘dvb_dmxdev_init’ /opt/em28xx-new/em2880-dvb.c:944: erreur: implicit
declaration of function
‘dvb_dmxdev_release’ /opt/em28xx-new/em2880-dvb.c:955: erreur: implicit
declaration of function
‘dvb_net_init’ /opt/em28xx-new/em2880-dvb.c:955: erreur:
déréférencement d'un pointeur de type
incomplet /opt/em28xx-new/em2880-dvb.c: In function
‘em2880_dvb_fini’: /opt/em28xx-new/em2880-dvb.c:975: erreur: implicit
declaration of function
‘dvb_net_release’ /opt/em28xx-new/em2880-dvb.c:976: erreur: implicit
declaration of function
‘dvb_unregister_frontend’ /opt/em28xx-new/em2880-dvb.c:977: erreur:
implicit declaration of function
‘dvb_frontend_detach’ /opt/em28xx-new/em2880-dvb.c:981: erreur:
implicit declaration of function
‘dvb_dmx_release’ /opt/em28xx-new/em2880-dvb.c:983: erreur: implicit
declaration of function ‘dvb_unregister_adapter’ make[2]: ***
[/opt/em28xx-new/em2880-dvb.o] Erreur 1 make[1]: ***
[_module_/opt/em28xx-new] Erreur 2 make[1]: quittant le répertoire
« /usr/src/linux-headers-2.6.26-1-686 » make: *** [default] Erreur 2

Should I add another thing ? I don't know what's wrong...

Thanks.

David.

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb