v4l-dvb not compiling against new gutsy kernel

Bug #153240 reported by hugolp
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-generic

I am trying to compile the v4l-dvb source agains the today update kernel, to get my Nota-T 500 and my aver media volar dvb-t cards working, and I get an error (check at the end).

I am following this instructions: http://www.mythtv.org/wiki/index.php/Hauppauge_WinTV_Nova-T_500_PCI . They worked in the Gutsy kernel previous to the today download, and also worked in feisty.

The error:

 LD [M] /home/jo/v4l-dvb/v4l/snd-bt87x.o
  CC [M] /home/jo/v4l-dvb/v4l/aci.o
/home/jo/v4l-dvb/v4l/aci.c:67:26: error: sound_config.h: No such file or directory
/home/jo/v4l-dvb/v4l/aci.c: In function 'busy_wait':
/home/jo/v4l-dvb/v4l/aci.c:160: warning: implicit declaration of function 'set_current_state'
/home/jo/v4l-dvb/v4l/aci.c:160: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:160: error: (Each undeclared identifier is reported only once
/home/jo/v4l-dvb/v4l/aci.c:160: error: for each function it appears in.)
/home/jo/v4l-dvb/v4l/aci.c:161: warning: implicit declaration of function 'schedule_timeout'
/home/jo/v4l-dvb/v4l/aci.c: In function 'aci_mixer_ioctl':
/home/jo/v4l-dvb/v4l/aci.c:377: error: 'SOUND_MIXER_WRITE_VOLUME' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:379: error: 'SOUND_MIXER_WRITE_CD' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:381: error: 'SOUND_MIXER_WRITE_MIC' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:383: error: 'SOUND_MIXER_WRITE_LINE' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:385: error: 'SOUND_MIXER_WRITE_SYNTH' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:387: error: 'SOUND_MIXER_WRITE_PCM' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:389: warning: implicit declaration of function 'MIXER_WRITE'
/home/jo/v4l-dvb/v4l/aci.c:389: error: 'SOUND_MIXER_RADIO' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:389: error: case label does not reduce to an integer constant
/home/jo/v4l-dvb/v4l/aci.c:390: error: 'SOUND_MIXER_WRITE_LINE1' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:392: error: 'SOUND_MIXER_WRITE_LINE2' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:394: error: 'SOUND_MIXER_WRITE_BASS' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:401: error: 'SOUND_MIXER_WRITE_TREBLE' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:408: error: 'SOUND_MIXER_WRITE_IGAIN' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:424: error: 'SOUND_MIXER_WRITE_OGAIN' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:443: error: 'SOUND_MIXER_WRITE_RECSRC' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:448: error: 'SOUND_MASK_PCM' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:453: error: 'SOUND_MASK_CD' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:453: error: 'SOUND_MASK_MIC' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:453: error: 'SOUND_MASK_LINE' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:454: error: 'SOUND_MASK_SYNTH' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:454: error: 'SOUND_MASK_LINE2' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:456: error: 'SOUND_MASK_RADIO' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:458: error: 'SOUND_MASK_LINE1' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:463: error: 'SOUND_MIXER_READ_DEVMASK' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:464: error: 'SOUND_MASK_VOLUME' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:470: error: 'SOUND_MASK_IGAIN' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:471: error: 'SOUND_MASK_BASS' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:471: error: 'SOUND_MASK_TREBLE' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:475: error: 'SOUND_MASK_OGAIN' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:485: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:500: error: 'SOUND_MIXER_READ_RECMASK' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:510: error: 'SOUND_MIXER_READ_RECSRC' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:538: error: 'SOUND_MIXER_READ_CAPS' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:541: error: 'SOUND_MIXER_READ_VOLUME' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:543: error: 'SOUND_MIXER_READ_CD' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:545: error: 'SOUND_MIXER_READ_MIC' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:547: error: 'SOUND_MIXER_READ_LINE' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:549: error: 'SOUND_MIXER_READ_SYNTH' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:551: error: 'SOUND_MIXER_READ_PCM' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:553: warning: implicit declaration of function 'MIXER_READ'
/home/jo/v4l-dvb/v4l/aci.c:553: error: case label does not reduce to an integer constant
/home/jo/v4l-dvb/v4l/aci.c:554: error: 'SOUND_MIXER_READ_LINE1' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:556: error: 'SOUND_MIXER_READ_LINE2' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:558: error: 'SOUND_MIXER_READ_BASS' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:563: error: 'SOUND_MIXER_READ_TREBLE' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:568: error: 'SOUND_MIXER_READ_IGAIN' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:584: error: 'SOUND_MIXER_READ_OGAIN' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c: At top level:
/home/jo/v4l-dvb/v4l/aci.c:595: error: variable 'aci_mixer_operations' has initializer but incomplete type
/home/jo/v4l-dvb/v4l/aci.c:597: error: unknown field 'owner' specified in initializer
/home/jo/v4l-dvb/v4l/aci.c:597: warning: excess elements in struct initializer
/home/jo/v4l-dvb/v4l/aci.c:597: warning: (near initialization for 'aci_mixer_operations')
/home/jo/v4l-dvb/v4l/aci.c:598: error: unknown field 'id' specified in initializer
/home/jo/v4l-dvb/v4l/aci.c:598: warning: excess elements in struct initializer
/home/jo/v4l-dvb/v4l/aci.c:598: warning: (near initialization for 'aci_mixer_operations')
/home/jo/v4l-dvb/v4l/aci.c:599: error: unknown field 'ioctl' specified in initializer
/home/jo/v4l-dvb/v4l/aci.c:600: warning: excess elements in struct initializer
/home/jo/v4l-dvb/v4l/aci.c:600: warning: (near initialization for 'aci_mixer_operations')
/home/jo/v4l-dvb/v4l/aci.c: In function 'attach_aci':
/home/jo/v4l-dvb/v4l/aci.c:622: warning: implicit declaration of function 'request_region'
/home/jo/v4l-dvb/v4l/aci.c:698: warning: implicit declaration of function 'sound_install_mixer'
/home/jo/v4l-dvb/v4l/aci.c:698: error: 'MIXER_DRIVER_VERSION' undeclared (first use in this function)
/home/jo/v4l-dvb/v4l/aci.c:700: error: invalid application of 'sizeof' to incomplete type 'struct mixer_operations'
/home/jo/v4l-dvb/v4l/aci.c:709: warning: implicit declaration of function 'release_region'
/home/jo/v4l-dvb/v4l/aci.c: In function 'unload_aci':
/home/jo/v4l-dvb/v4l/aci.c:715: warning: implicit declaration of function 'sound_unload_mixerdev'
make[3]: *** [/home/jo/v4l-dvb/v4l/aci.o] Error 1
make[2]: *** [_module_/home/jo/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/jo/v4l-dvb/v4l'
make: *** [all] Error 2

Revision history for this message
hugolp (hugolp2) wrote :

Its kind of solved. At #linuxtv helped me to compile the v4l-dvb branch without the audio and radio drivers. It worked and as I only need the new dvb-t drivers its fine with me, but compiling v4l-dvb shouldnt be a problem, and it is right now.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Michele Mangili (mangilimic) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in linux:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.