Mailing List archive

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

[linux-dvb] Re: DVB dont compile



Lauri Tischler wrote:
> vdr:~/VDR15/DVB/driver# make
> /usr/src/linux/scripts/pathdown.sh: line 4: TOPDIR: parameter null or 
> not set
> DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
> make[1]: Entering directory `/usr/src/kernel-2.4.20pre5'
> make -C  /root/VDR15/DVB/driver CFLAGS="-D__KERNEL__ 
> -I/usr/src/kernel-2.4.20pre5/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
> -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE" 
> MAKING_MODULES=1 modules
> make[2]: Entering directory `/root/VDR15/DVB/driver'
> gcc -D__KERNEL__ -I/usr/src/kernel-2.4.20pre5/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 
> -DMODULE -I ../include -I . -g -MD -nostdinc -iwithprefix include 
> -DKBUILD_BASENAME=dmxdev  -c -o dmxdev.o dmxdev.c
> In file included from dmxdev.c:30:
> compat.h:51: redefinition of `cond_resched'
> /usr/src/kernel-2.4.20pre5/include/linux/sched.h:953: `cond_resched' 
> previously defined here

Hmm, does anybody knows when they introduced cond_resched() in 2.4 
kernels? I'll put a

#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
...
#endif


around it until we know the exact version number...

Holger



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



Home | Main Index | Thread Index