Fedora Linux Support Community & Resources Center
  #1  
Old 23rd May 2012, 03:00 AM
netSys Offline
Registered User
 
Join Date: Feb 2012
Location: Spain // España
Posts: 10
linuxopera
Question [SOLVED] Cannot watch TV with AverMedia A835... compile module errors

Warning: Globbish would be detected.

Hello folks, I've got an AverMedia, AverTV Volar HD PRO A835 device for watch TV (DVB-T) over Fedora with Kaffeine or another soft to watch TV.

The problem is next... I have find solution, I should compile this module xgazza.altervista.org/Linux/DVB/Drivers/AF9035_xgaz_3.0.0.tar.bz2 (module's developer page xgazza.altervista.org/Linux/DVB/Drivers/), I don't like a lot projects that seems only interesting on Ubuntu linux distro, and others seems not exists such as Fedora, OpenSUSE, Mandriva... but this is other topic...

So... I cannot compile it, and I have contacted to him for report it. He said (this passed when Fedora had got kernel 3.2-*), you should downgrade your kernel to use 3.1, that it is supported.... So... downgraded a kernel and all works OK.

The problem is, that I never like use an old kernel. Today, is 3.3-6* on Fedora repositories, almost becomes 3.4...

Developer said me too, that a git repository to download, compile and install it, for kernel 3.2 however this is on alpha stage.... lol...

I downloaded git source code obtain from follow Webpage, github.com/xgazza/DVB-AF9035_kernel-3.2.0 , but, when I try to compile for install it, I get this error message:

Quote:
make
make -C /lib/modules/3.3.6-3.fc16.x86_64/build M=/home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0 modules
make[1]: entering directory`/usr/src/kernels/3.3.6-3.fc16.x86_64'
CC [M] /home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0/af9035.o
In file included from /home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0/dvb-usb.h:19:0,
from /home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0/af9035.h:30,
from /home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0/af9035.c:25:
/home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0/dvb_frontend.h:49:33: error: the field 'parameters' has incomplete type
/home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0/dvb_frontend.h:313:28: error: array type has incomplete element type
make[2]: *** [/home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0/af9035.o] Error 1
make[1]: *** [_module_/home/netSys/Descargas/build/git/DVB-AF9035_kernel-3.2.0] Error 2
make[1]: leaving directory `/usr/src/kernels/3.3.6-3.fc16.x86_64'
make: *** [all] Error 2
I contacted again module developer, not replied me...

Maybe interesting /usr/src/kernels/3.3.6-3.fc16.x86_64/include/linux/dvb/frontend.h > fpaste.org/tuDQ/

Can I help me?, thanks
__________________
--
Álvaro Castillo

http://fedoraproject.org/wiki/User:Netsys
Linux user #547784

Last edited by netSys; 24th May 2012 at 11:12 PM. Reason: SOLVED
Reply With Quote
  #2  
Old 23rd May 2012, 10:19 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,077
linuxfirefox
Re: Cannot watch TV with AverMedia A835... compile module errors

Sure you can help

Quote:
For 3.3 kernel update dvb_frontend.h file
You do realize he's doing this in his spare time and you should consider yourself lucky someone is developing a driver for your card.

Try to define __DVB_CORE__ before including frontend.h in line 41 of dvb_frontend.h

Code:
#define __DVB_CORE__
#include <linux/dvb/frontend.h>
You might also have to remove line 39 of af9033.c or this whole block

Code:
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0)) || ((defined V4L2_VERSION) && (V4L2_VERSION >= 197120))
/* all DVB frontend drivers now work directly with the DVBv5
* structure. This warrants that all drivers will be
* getting/setting frontend parameters on a consistent way, in
* order to avoid copying data from/to the DVBv3 structs
* without need.
*/
#define V4L2_ONLY_DVB_V5
#endif
Not exactly sure what changed in kernel 3.3, but the DVBv5 parameters might not work yet.

Now it should compile with kernel 3.3.6-3

Use at your own risk! I don't have a card to test this and it is just a quick 'n' dirty hack to make it compile. This might blow up your computer ;-)
Reply With Quote
  #3  
Old 24th May 2012, 11:11 PM
netSys Offline
Registered User
 
Join Date: Feb 2012
Location: Spain // España
Posts: 10
linuxopera
Re: Cannot watch TV with AverMedia A835... compile module errors

Oh, thanks a lot george_toolan, compiled works.

__________________
--
Álvaro Castillo

http://fedoraproject.org/wiki/User:Netsys
Linux user #547784
Reply With Quote
Reply

Tags
a835, avermedia, compile, errors, module, watch, watchtv

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile a New Kernel with a Module siddhx Using Fedora 2 27th March 2008 07:43 AM
x86 kernel module compile on x64 F8 pcgoober Using Fedora 0 24th February 2008 02:47 PM
How to compile for different module? Pharos GPS LesNagy Hardware & Laptops 3 28th February 2007 06:39 PM
can't compile module robertos Programming & Packaging 3 6th February 2007 06:23 AM
compile module with gcc or make? qbeexx Programming & Packaging 2 9th February 2006 12:12 AM


Current GMT-time: 23:46 (Thursday, 18-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat