Nach langem Ausprobieren und testen zum aufsetzen einer Entwicklungsumgebung auf dem linvdr 0.7 selbst, hab ich mir ein paar Notizen gemacht, die ich mit euch teilen möchte.
Die Notizen sind nur gedankenstützen und nicht 100% komplett, aber vielleicht hilft es jemand. (Und braucht nicht nächtelang das inet zu durchsuchen)
# Setup optional Woody Linux for Linvdr compiling
#only if not up to date
#debtool -u
# if not jet installed
#debtool -i debootstrap
# create optional linux
debootstrap woody /opt/woody
# copy resolv file
cp -a /etc/resolv.conf /opt/woody/etc
# create hotplug dir and copy firware
mkdir /opt/woody/usr/lib/hotplug/firmware
cp /usr/lib/hotplug/firmware/dvb-ttpci-01.fw /opt/woody/usr/lib/hotplug/firmware
#Hier nicht vergessen sources.list nach /opt/woody/etc/apt
chroot /opt/woody
apt-get update
apt-get install dpkg-dev gcc g++ libc6-dev make patch debhelper wget bzip2 less libjpeg62-dev
# You need now the Kernel Sources 2.6.9 and the DVB sources from linuxtv.org (linuxtv-dvb-1.1.1.tar.gz)
# put these in the src dir and create sym links DVB to linuxtv-dvb-1.1.1 and linux to kernel sources
# in DVB create sym link include to ./linux/include
# Some hints for compiling
# use .config for Kernel _Source from /proc/config.gz (unzip it)
# Use Kernels sources 2.6.9 and create sym link /usr/src/linux to it
# Use Compiler Version 2.95
# some pages: http://www.vdr-wiki.de/wiki/in…on_1.1.1_%28Kernel_2.6%29
# http://www.vdr-wiki.de/wiki/in…ernel_f%FCr_VDR_aufsetzen
# http://www.linvdr.org/wiki/wik…gename=LinVDR-Development
# Error resolving:
# `OSD_OpenRaw' undeclared (first use this function) can fixed with:
# That's a problem with the osd.h header file. Yaepg needs an additional function that the kernel drivers don't include. The CVS drivers should have taken care of it but it's easy to fix. The patch you need is in the Yaepg package. Do this:
# change to osd.h file directory and execute: patch -p0 < osd.h.diff
hier noch meine sources.list (ist wichtig stable zu nehmen, da die unstable sourcen zu neue libs installieren):
deb http://ftp.de.debian.org/debian/ stable main
deb-src http://ftp.de.debian.org/debian/ stable main
deb http://ftp.de.debian.org/debian-security/ stable/updates main
deb http://ftp.de.debian.org/debian-non-US/ stable/non-US main
deb ftp://ftp.debian.org/debian/ stable main contrib non-free