Mailing List archive

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

[linux-dvb] Still Can't Get Drivers To Compile



Hi!

I've reinstalled RedHat 9 but I still can't get the DVB 1.0.0pre3 drivers to compile. The kernel which came with RedHat 9 was 2.4.20-8custom. I've then recompiled the kernel from those sources, ensuring that the three options the DVD drivers say they need were enabled. The kernel compiled and installed fine and I have the original & new kernels on my Grub boot menu.

No matter which I use, I cannot get the DVB drivers to compile. I've attached the results of my latest attempt below (this time using my newly recompiled kernel). If anyone can help me get this over and done with, i'd appreciate it. I've been messing round with trying to get the DVB Drivers to compile on various versions of RH for the past 6 months but have NEVER once got even past the compilation stage.

The source of the linux kernel i'm currently using is in the /usr/src/linux-2.4.20-8 directory and there's a symbolic link to that at /usr/src/linux.

Cheers,
Holden

[root@Steve-McQueen root]# cd download/dvb
[root@Steve-McQueen dvb]# dir
apps CONTRIBUTORS doc include libdvb NEWS
BUGS COPYING driver INSTALL Makefile README
[root@Steve-McQueen dvb]# cd driver
[root@Steve-McQueen driver]# make
/lib/modules/2.4.20-8custom/build/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set
DIR=`pwd`; (cd /lib/modules/2.4.20-8custom/build; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.20-8'
make -r -f tmp_include_depends all
make[2]: Entering directory `/usr/src/linux-2.4.20-8'
make[2]: Circular /usr/src/linux-2.4.20-8/include/asm/smplock.h <- /usr/src/linux-2.4.20-8/include/linux/interrupt.h dependency dropped.
make[2]: Circular /usr/src/linux-2.4.20-8/include/linux/netfilter_ipv4/ip_conntrack.h <- /usr/src/linux-2.4.20-8/include/linux/netfilter_ipv4/ip_conntrack_helper.h dependency dropped.
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
make -C /root/download/dvb/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/root/download/dvb/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dmxdev -c -o dmxdev.o dmxdev.c
In file included from dmxdev.c:30:
compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from dmxdev.c:30:
compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvb_demux -c -o dvb_demux.o dvb_demux.c
In file included from dvb_demux.c:30:
compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from dvb_demux.c:30:
compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvb_net -c -o dvb_net.o dvb_net.c
In file included from dvb_net.c:32:
compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from dvb_net.c:32:
compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvb_i2c -c -o dvb_i2c.o dvb_i2c.c
In file included from dvb_i2c.c:26:
compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from dvb_i2c.c:26:
compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvb_filter -c -o dvb_filter.o dvb_filter.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvb_frontend -c -o dvb_frontend.o dvb_frontend.c
In file included from dvb_frontend.c:33:
compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from dvb_frontend.c:33:
compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvbdev -c -o dvbdev.o dvbdev.c
In file included from dvbdev.c:42:
compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from dvbdev.c:42:
compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=compat -DEXPORT_SYMTAB -c compat.c
In file included from compat.c:4:
compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from compat.c:4:
compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I ../include -I . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dvb_ksyms -DEXPORT_SYMTAB -c dvb_ksyms.c
ld -m elf_i386 -r -o dvb-core.o dmxdev.o dvb_demux.o dvb_net.o dvb_i2c.o dvb_filter.o dvb_frontend.o dvbdev.o compat.o dvb_ksyms.o
make -C av7110 modules
make[3]: Entering directory `/root/download/dvb/driver/av7110'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -I.. -I. -DCONFIG_DVB_AV7110_OSD -MD -I../../include -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7146_core -c -o saa7146_core.o saa7146_core.c
In file included from saa7146_core.c:37:
../compat.h:37:1: warning: "video_usercopy" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:10:1: warning: this is the location of the previous definition
In file included from saa7146_core.c:37:
../compat.h:62:1: warning: "video_devdata" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:297,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/videodev.ver:8:1: warning: this is the location of the previous definition
saa7146_core.c: In function `saa7146_core_command':
saa7146_core.c:374: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
saa7146_core.c:374: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
saa7146_core.c:374: too few arguments to function `remap_page_range_R2baf18f2'
make[3]: *** [saa7146_core.o] Error 1
make[3]: Leaving directory `/root/download/dvb/driver/av7110'
make[2]: *** [_modsubdir_av7110] Error 2
make[2]: Leaving directory `/root/download/dvb/driver'
make[1]: *** [_mod_/root/download/dvb/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
make: *** [here] Error 2
[root@Steve-McQueen driver]#



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



Home | Main Index | Thread Index