Mailing List archive

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

[linux-dvb] Re: Problem MAKEing DVB Driver on RH9



Hi!

Thanks for your help.

1.) Don't change kernel-location but create a link "linux" on linux-2.4.20-8, DVB-driver Make should autodetect path.

3.) Copy the config-file from /boot into kernel-sources as ".config", run a "make menuconfig" and make dep.

5.) Try to compile DVB-driver.
OK, i've done 1,3 and 5.

2.) Check, that kernel-sources and binaries are the same and complete

4.) Check you use the same compiler and version kernel was compiled with.
2 and 4 I don't know how to do but given that i'm using a fresh install of RedHat, i'd assume that they're both true. I certainly haven't updated the compiler or kernel sources since I installed Red Hat if that helps.

Anyway, I tried what you said. I still get errors when doing the make of the DVB Driver but this time the errors have changed, i'm getting more of them, they're getting more precise and the process is taking a little longer, which I hope is a good thing. Still don't understand the errors though :-) Here's what I get:


[root@Steve root]# cd /download/DVB/DVB/driver
[root@Steve 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/linux-2.4.20-8'
scripts/split-include include/linux/autoconf.h include/config
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]: Leaving directory `/usr/src/linux-2.4.20-8'
make -C /download/DVB/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 `/download/DVB/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 ../ost/include
-I . -D__DVB_PACK__ -g -DUSE_OSD -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7146_core -DEXPORT_SYMTAB -c saa7146_core.c
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
from saa7146_core.c:23:
/usr/src/linux-2.4.20-8/include/asm/processor.h:60: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.20-8/include/asm/processor.h:60: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:82: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: parse error before numeric
constant
/usr/src/linux-2.4.20-8/include/asm/processor.h:265: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/asm/processor.h:269: warning: parameter names (without types) in function declaration
In file included from saa7146_core.c:23:
/usr/src/linux-2.4.20-8/include/linux/module.h:183: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/module.h:183: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/linux/module.h:183: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:183: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/linux/module.h:184: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/module.h:184: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/linux/module.h:184: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:184: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/linux/module.h:185: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:185: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:186: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:186: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:187: invalid suffix on integer constant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: parse error before numeric constant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:187: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-8/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:196: warning: parameter names (without types) in function declaration
saa7146_core.c: In function `uvirt_to_kva':
saa7146_core.c:80: warning: implicit declaration of function `pte_offset'
saa7146_core.c:80: warning: assignment makes pointer from integer without a castsaa7146_core.c: In function `uvirt_to_phys':
saa7146_core.c:113: warning: assignment makes pointer from integer without a cast
saa7146_core.c: In function `saa7146_core_command':
saa7146_core.c:480: warning: passing arg 1 of `remap_page_range' makes pointer from integer without a cast
saa7146_core.c:480: incompatible type for argument 4 of `remap_page_range'
saa7146_core.c:480: too few arguments to function `remap_page_range'
make[2]: *** [saa7146_core.o] Error 1
make[2]: Leaving directory `/download/DVB/DVB/driver'
make[1]: *** [_mod_/download/DVB/DVB/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
make: *** [here] Error 2
[root@Steve driver]#


If anyone can help me further down the road, i'd be much obliged. This is about the fifth time i've tried to install RedHat and the DVB drivers and previously i've just given up when I had problems and gone back to Windows. This time, i'm determined to get a working Linux system out of it, complete with DVB drivers, analogue TV drivers, Hollywood Plus drivers, etc. :-)

Cheers,
Holden



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



Home | Main Index | Thread Index