LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-15-2009, 11:52 PM   #1
Tomeyer
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
mythtv


Hi all,

I'm not too experienced in linux and each time a new kernel is installed I follow a script to update my tv capture cards.This time however some issues appeared and I don't understand what they signify;/adv7180.c:169: error: array type has incomplete element type
/home/tony/v4l-dvb/v4l/adv7180.c:181: warning: initialization from incompatible pointer type
/home/tony/v4l-dvb/v4l/adv7180.c:183: error: unknown field 'id_table' specified in initializer

'adv7180.c:169: error: array type has incomplete element type
/home/tony/v4l-dvb/v4l/adv7180.c:181: warning: initialization from incompatible pointer type
/home/tony/v4l-dvb/v4l/adv7180.c:183: error: unknown field 'id_table' specified in initializer'

Could someone enlighten me please?




tONY
 
Old 10-19-2009, 04:37 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by Tomeyer View Post
Hi all,

I'm not too experienced in linux and each time a new kernel is installed
Yikes! Why do you do that?? Install new kernels, if the existing one is working fine?

I usually work for a year or more on a certain kernel version. If it ain't broke, don't fix it.

Quote:
I follow a script to update my tv capture cards.This time however some issues appeared and I don't understand what they signify;/adv7180.c:169: error: array type has incomplete element type
/home/tony/v4l-dvb/v4l/adv7180.c:181: warning: initialization from incompatible pointer type
/home/tony/v4l-dvb/v4l/adv7180.c:183: error: unknown field 'id_table' specified in initializer

'adv7180.c:169: error: array type has incomplete element type
/home/tony/v4l-dvb/v4l/adv7180.c:181: warning: initialization from incompatible pointer type
/home/tony/v4l-dvb/v4l/adv7180.c:183: error: unknown field 'id_table' specified in initializer'

Could someone enlighten me please?
These error messages most likely mean that your video-for-linux (v4l) driver/s are incompatible with the installed kernel version you have... sorry to say this but you have messed up your v4l setup with your constant kernel updates, it seems like.

I. e. you have changed your kernel version and thusly some definitions in the kernel source (which your v4l drivers need to compile against in order to work with the new kernel) have also changed. You now have to update your v4l drivers as well, to match the new kernel with the new definitions it has.

Really, there is no harm (with Linux at least) with just using a kernel version that works for you, and never updating that kernel. There is no specific need or reason to regularly update the kernel, unless you have some compelling reason to do so. It is fine to just use a kernel version that works for you indefinitely, and never updating it.

You have two options now:

1. Try to go back to an older kernel version

Not sure how you can do that. You seem to be using some automagical distro that auto-updates and all that kind of stuff (i. e. "tightly packaged" with yum / apt-get / etc)?

2. Updating your V4L drivers

This can be tough - if your drivers are "alive" and well supported for your video hardware, you might be able to just download new versions. However, if you have old / "dead" hardware drivers, you are up a creek without a paddle.

Basically, I never use auto-updates of any form, and I really, really think hard before updating my kernel version. Since the kernel is the "heart" of your Linux system, if you change it, -expect- trouble with kernel modules that have to be updated, and that can thusly necessitate a recompile or update of all the custom hardware modules you have that compile against the kernel in order to work.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install mythtv-suite, Mythtv, nothing found, atrpms THOR_Fedora Linux - Software 5 11-29-2006 03:13 PM
mythtv LinLove Linux - Desktop 1 11-19-2006 08:16 AM
Anyone here use MythTV? colinstu General 1 03-14-2006 02:08 PM
mythtv spidna Slackware 6 01-07-2006 11:14 AM
MythTV?? willk Linux - General 11 06-29-2004 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration