[linux-dvb] problem making v4l hg sources - mutex.h missing?

Mauro Carvalho Chehab mchehab at infradead.org
Sun Apr 9 18:19:05 CEST 2006


Simon,

It seemed that you've compiled using just "make". Now, a dependency file
should be constructed, to detect version mismatches. "make all" do the
trick. To avoid such requirement, I just pushed a patch that will
generate the dependency file automagically if there isn't any. However,
it is always better to do:
	make all
To compile all files, since just make will use your previous file,
avoiding compilation of any newer drivers introduced in the future.

Em Sáb, 2006-04-08 às 07:58 -0700, Simon Baxter escreveu:
> I've installed hg, but get an error when I try to make the v4l-dvb
> modules:
> 
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c:21:25: linux/mutex.h: No
> such file or directory
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c: In function
> `aci_rds_cmd':
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c:185: warning: implicit
> declaration of function `mutex_lock_interruptible'
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c:196: warning: implicit
> declaration of function `mutex_unlock'
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c: In function
> `attach_aci_rds':
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c:204: warning: implicit
> declaration of function `mutex_init'
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c: At top level:
> /mercurial/v4l-dvb/v4l/miropcm20-rds-core.c:29: error: storage size of
> `aci_rds_mutex' isn't known
> make[3]: *** [/mercurial/v4l-dvb/v4l/miropcm20-rds-core.o] Error 1
> make[2]: *** [_module_/mercurial/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.11.8'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/mercurial/v4l-dvb/v4l'
> make: *** [all] Error 2
> 
> I'm new to mutexes - is this error something to do with me running
> kernel 2.6.11.8 ?  Does it need to be 2.6.12 or above?
> 
> 
> Simon
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Cheers, 
Mauro.




More information about the linux-dvb mailing list