Mailing List archive

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

[linux-dvb] Re: Compile error in RH9



Hello,

VViGGi wrote:
> 
> hey, firstly, does anyone have these driver compilaed on redhat9.0? if
> so could the bundle them up?
> 
> im having some crazy problem and with me being a bit of a newby ive
> attached the compilers output, i would be very appreciative if anyone
> could help :)
> 
> VViGGi
> 
>   ------------------------------------------------------------------------
> (cd driver; make)
> make[1]: Entering directory `/home/wiggi/drivers/DVB/driver'
> DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
> make[2]: Entering directory `/usr/src/linux-2.4.20-19.9'
> make -r -f tmp_include_depends all
> make[3]: Entering directory `/usr/src/linux-2.4.20-19.9'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/usr/src/linux-2.4.20-19.9'
> make -C  /home/wiggi/drivers/DVB/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20-19.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-19.9/include/linux/modversions.h" MAKING_MODULES=1 modules
> make[3]: Entering directory `/home/wiggi/drivers/DVB/driver'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-19.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-19.9/include/linux/modversions.h -I ../include -I . -g -DUSE_OSD  -nostdinc -iwithprefix include -DKBUILD_BASENAME=dmxdev  -c -o dmxdev.o dmxdev.c
> make[3]: Leaving directory `/home/wiggi/drivers/DVB/driver'
> make[2]: Leaving directory `/usr/src/linux-2.4.20-19.9'
> make[1]: Leaving directory `/home/wiggi/drivers/DVB/driver'

I had to apply the attached patch to compat.h to make them compile.
The patch ist against linux-dvb-1.0.0.tar.gz. HTH.

Tjuess
  Heino
--- compat.h.org	2003-02-07 13:22:51.000000000 +0100
+++ compat.h	2003-08-26 17:14:23.000000000 +0200
@@ -66,7 +66,7 @@
 extern struct page * vmalloc_to_page(void *addr);
 #endif
 
-
+/*
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
 
 #if defined(MODVERSIONS)
@@ -79,7 +79,7 @@
 	remap_page_range(from,to,size,prot)
 #endif
 #endif
-
+*/
 
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
 extern u32 crc32_le (u32 crc, unsigned char const *p, size_t len);

Home | Main Index | Thread Index