Sorry for another can't compile email...
No problem, thanks for the report. Sometimes I forget to check in the final fixes and leave a broken dvb-kernel behind...
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.
I'm using Gentoo with a vanilla 2.4.20 kernel, too. Your error message looks really weird. dvb_functions.c gets compiled rather late in the whole compile process, so other things have been compiled successfully before.
The only difference I can see is, that you have MODVERSIONS set, which I don't have. This shouldn't be the cause of the problem, although I'm not sure. Perhaps you can try it out.
Another thing is, that the #include stuff in "dvb_functions.c" is very unordered. I sorted them in the order of importance, perhaps this fixes the problems for you -- although this should not be the cause either.
CU Michael.
-- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
