Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Compile error in RH9
hey,
Does anyone here have a compiled version for use with kernals
linux-2.4.20-8 or 2.4.20-19.9 that they could send to me? im having
crazy problems, the full details of what ive done are below with the
attached makelog.txt file, im very confused as to whats going on :(
VViGGi
[root@bigbox drivers]# rpm -Uvh kernel-source-2.4.20-19.9.i386.rpm
Preparing... ###########################################
[100%]
package kernel-source-2.4.20-19.9 is already installed
[root@bigbox drivers]# cp /boot/config-2.4.20-19.9
/usr/src/linux-2.4/.config
cp: overwrite `/usr/src/linux-2.4/.config'? y
[root@bigbox drivers]# rm -rf linuxtv-dvb-1.0.0
[root@bigbox drivers]# tar xzf linuxtv-dvb-1.0.0.tar.gz
[root@bigbox drivers]# cp compat.h.patch linuxtv-dvb-1.0.0/driver/
[root@bigbox drivers]# cd linuxtv-dvb-1.0.0/driver/
[root@bigbox driver]# patch < compat.h.patch
patching file compat.h
[root@bigbox driver]# make > makelog.txt
cheers,
VViGGi
heino.goldenstein@t-online.de wrote:
Hello,
VViGGi wrote:
Hi,
ive tried the patch but get the same erorrs :(
would you mind zipping up the compiled drivers and sending them to me?
im really eager to get this working :)
VViGGi
this does not work. The driver must match exactly the running kernel
and I have compiled against an older version.
The way to go:
- install the kernelsource matching the running kernel
e.g. rpm -Uhv kernel-source-2.4.20-18.9.i386.rpm
- copy the matching configuration
e.g. cp /boot/config-2.4.20-18.9 /usr/src/linux-2.4/.config
- extract the driver source
e.g. tar -xzf linux-dvb-1.0.0.tar.gz
- apply the patch
e.g. cp compat.h.patch linux-dvb-1.0.0/driver/
cd linux-dvb-1.0.0/driver/
patch < config.h.patch
- make the driver
e.g. make
- make the device nodes
e.g. ./makedev.napi
- test the driver
e.g. make insmod
for my single siemens 1.3 I put alps_bsrv2.o, dvb-core.o and
dvb-ttpci.o in /lib/modules/2.4.20-18.9/misc/
and
alias char-major-250 dvb-ttpci
below dvb-ttpci alps_bsrv2
in /etc/modules.conf to make them autoload.
installed xine-ui-0.9.22cvs-030827.i386.rpm,
libxine1-1_cvs-030827.i386.rpm and
curl-7.10.3-1.i386.rpm
put a valid channels.conf in .xine/ and start viewing:
e.g. xine -f -D dvb://
If this does not work, please post the real error messages.
Tjuess
Heino
DIR=`pwd`; (cd /lib/modules/2.4.20-19.9/build; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.20-19.9'
make -r -f tmp_include_depends all
make[2]: Entering directory `/usr/src/linux-2.4.20-19.9'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/linux-2.4.20-19.9'
make -C /home/wiggi/drivers/linuxtv-dvb-1.0.0/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[2]: Entering directory `/home/wiggi/drivers/linuxtv-dvb-1.0.0/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 . -MD -nostdinc -iwithprefix include -DKBUILD_BASENAME=dmxdev -c -o dmxdev.o dmxdev.c
make[2]: Leaving directory `/home/wiggi/drivers/linuxtv-dvb-1.0.0/driver'
make[1]: Leaving directory `/usr/src/linux-2.4.20-19.9'
Home |
Main Index |
Thread Index