aci.h related compilation problem under 2.6.16

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

 



Hello,

Has anyone had encountered problems compiling from http://linuxtv.org/hg/v4l-dvb under kernel 2.6.16 ?

I get the following compilation error:

hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make distclean
make allmodconfig
make
....
/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.c:27:36: ../../../sound/oss/aci.h: No such file or directory
/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.c: In function `rds_waitread':
/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: `RDS_REGISTER' undeclared (first use in this function)
/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: (Each undeclared identifier is reported only once
/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.c:83: error: for each function it appears in.)
/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.c: In function `rds_rawwrite_nowait':
/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.c:108: error: `RDS_REGISTER' undeclared (first use in this function)
make[3]: *** [/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l/miropcm20-rds-core.o] Error 1
make[2]: *** [_module_/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/martin/linux-2.6.16'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/martin/v4l/hg/fresh/2/v4l-dvb/v4l'
make: *** [all] Error 2


I managed to resolve this by changing the include  "../../../sound/oss/aci.h" to "../sound/oss/aci.h" in
linux/drivers/media/radio/miropcm20-radio.c and
linux/drivers/media/radio/miropcm20-rds-core.c

I've attached a patch.

Cheers,

Martin P.
diff -r e5def6db2835 linux/drivers/media/radio/miropcm20-radio.c
--- a/linux/drivers/media/radio/miropcm20-radio.c	Fri Apr 28 13:14:45 2006
+++ b/linux/drivers/media/radio/miropcm20-radio.c	Tue May  2 08:56:27 2006
@@ -23,7 +23,7 @@
 #include <linux/init.h>
 #include "compat.h"
 #include <linux/videodev.h>
-#include "../../../sound/oss/aci.h"
+#include "../sound/oss/aci.h"
 #include "miropcm20-rds-core.h"
 
 static int radio_nr = -1;
diff -r e5def6db2835 linux/drivers/media/radio/miropcm20-rds-core.c
--- a/linux/drivers/media/radio/miropcm20-rds-core.c	Fri Apr 28 13:14:45 2006
+++ b/linux/drivers/media/radio/miropcm20-rds-core.c	Tue May  2 08:56:27 2006
@@ -24,7 +24,7 @@
 #endif
 
 #include <asm/io.h>
-#include "../../../sound/oss/aci.h"
+#include "../sound/oss/aci.h"
 #include "miropcm20-rds-core.h"
 
 #define DEBUG 0
_______________________________________________

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