[linux-dvb] compilation error on ubuntu

Jens Krehbiel-Gräther linux-dvb at okg-computer.de
Thu Sep 21 17:11:55 CEST 2006


Hi!

I've downloaded the mercurial repostitory of v4l-dvb a few minutes ago.

When i run "make" it compiles alot of drivers. But then I got an error 
message that the file sound_config.h could not be found:

   LD [M]  /usr/src/v4l-dvb/v4l/snd-bt87x.o
   CC [M]  /usr/src/v4l-dvb/v4l/aci.o
/usr/src/v4l-dvb/v4l/aci.c:68:26: error: sound_config.h: No such file or 
directory

and a lot of more errors (I put them a the end of this mail) which all 
depend (on my oppinion) on the file sound_config.h

What am I doing wrong? Where should this file be located?

Jens

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



More information about the linux-dvb mailing list