Mailing List archive

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

[linux-dvb] Error compiling CVS dvb-kernel



Hello,

Sorry for another can't compile email...

I'm unable to compile the latest CVS version of dvb-kernel.

linux-dvb-1.0.0-pre2 compiles with no problems but I get the following
error with dvb-kernel:

gcc -I/usr/local/src/dvb-kernel/build-2.4/include -D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20/include/linux/modversions.h -MD -I ../linux/include
-I . -DCONFIG_DVB_AV7110_OSD -nostdinc -iwithprefix include
-DKBUILD_BASENAME=saa7146_vbi  -DEXPORT_SYMTAB -c saa7146_vbi.c
ld -m elf_i386 -r -o saa7146_vv.o saa7146_fops.o saa7146_video.o
saa7146_hlp.o saa7146_vbi.o
gcc -I/usr/local/src/dvb-kernel/build-2.4/include -D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20/include/linux/modversions.h -MD -I ../linux/include
-I . -DCONFIG_DVB_AV7110_OSD -nostdinc -iwithprefix include
-DKBUILD_BASENAME=dvb_functions  -DEXPORT_SYMTAB -c dvb_functions.c
In file included from /usr/src/linux-2.4.20/include/linux/irq.h:69,
                 from /usr/src/linux-2.4.20/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.4.20/include/linux/interrupt.h:45,
                 from /usr/src/linux-2.4.20/include/asm/smplock.h:6,
                 from /usr/src/linux-2.4.20/include/linux/smp_lock.h:16,
                 from dvb_functions.c:1:
/usr/src/linux-2.4.20/include/asm/hw_irq.h: In function `x86_do_profile':
/usr/src/linux-2.4.20/include/asm/hw_irq.h:213: `current' undeclared
(first use in this function)
/usr/src/linux-2.4.20/include/asm/hw_irq.h:213: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4.20/include/asm/hw_irq.h:213: for each function it
appears in.)
make[2]: *** [dvb_functions.o] Error 1
make[2]: Leaving directory `/usr/local/src/dvb-kernel/build-2.4'
make[1]: *** [_mod_/usr/local/src/dvb-kernel/build-2.4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20'
make: *** [build] Error 2

This is using gcc 3.2.2 against a vanilla 2.4.20 kerel. I've tried
compiling against other kernels (2.4.20-gentoo-rc5 and 2.4.21-rc4) but get
exactly the same message.

Is there something I'm missing?

Thanks,

Rich





-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index