Re: make fails with missing aci.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rusty Scott wrote:

Ditto the issue on 2.6.16-1.2108_FC4.  Tried setting

CONFIG_MIROPCM20=n
and
CONFIG_MIROPCM20_RDS=n

in .config but the problem file is in miropcm20-objs

don't know if this helps identify a fix.  I don't know enough about the whole
make structure to get around this.

Rusty and Lasse,

You are running into this problem because you are using distro-patched kernels. The fedora kernel has removed oss support entirely, and that explains why linux/sound/oss/aci.h is missing.

One would think that since oss isn't selected in the kernel, that any modules in the v4l-dvb mercurial tree that depends on oss should be unselected before the build. Unfortunately, Mauro's script does not honor the kconfig "depends on" keywords, so all of these dependency checks are failing.

In order to workaround this, you can either a) rebuild your kernel using vanilla sources from kernel.org, or b) (much easier) do "make menuconfig" inside the mercurial tree and unselect the miropcm driver. (it's in the radio submenu)

A more permanent fix would be to correct the script which generates the v4l/.myconfig file, such that anything that DEPENDS on an undefined symbol will be set := n (disabled)

HTH,

Mike

Quoting Lasse Knudsen <lasse.h.knudsen@xxxxxxxxx>:

Im trying to compile v4l-dvb but im running into this problem, both on
2.6.16-1.2122_FC5-i686 and on this
2.6.16-1.2111_FC5-i686 kernel can i get a precompiled module drom somewhere
or can i fix it in some other way?

/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.c:27:21: error: oss/aci.h: No
such file or directory
/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.c: In function 'rds_waitread':
/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: 'RDS_REGISTER'
undeclared (first use in this function)
/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: (Each undeclared
identifier is reported only once
/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: for each function
it appears in.)
/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.c: In function
'rds_rawwrite_nowait':
/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.c:108: error: 'RDS_REGISTER'
undeclared (first use in this function)
make[3]: *** [/tmp/v4l-dvb/v4l-dvb/v4l/miropcm20-rds-core.o] Error 1
make[2]: *** [_module_/tmp/v4l-dvb/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2122_FC5-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/v4l-dvb/v4l-dvb/v4l'




_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux