Cant compil VDR - bibi - 2013-02-24
Hi,
I'm loking for help to compil VDR <1.27.33.
I'm an archlinux and use archVDR, but get the same result with tarball from VDR github directly :
Code: dvbdevice.c: In member function ‘cString cDvbTuner::GetBondingParams(const cChannel*) const’:
dvbdevice.c:417:64: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
dvbdevice.c: In member function ‘int cDvbTuner::GetSignalQuality() const’:
dvbdevice.c:589:11: attention : variable ‘HasSnr’ set but not used [-Wunused-but-set-variable]
dvbdevice.c:602:11: attention : variable ‘HasBer’ set but not used [-Wunused-but-set-variable]
dvbdevice.c:615:11: attention : variable ‘HasUnc’ set but not used [-Wunused-but-set-variable]
dvbdevice.c: In member function ‘bool cDvbTuner::SetFrontend()’:
dvbdevice.c:860:9: erreur: ‘DTV_DVBT2_PLP_ID’ was not declared in this scope
make: *** [dvbdevice.o] Erreur 1
Any idea ?
RE: Cant compil VDR - FernetMenta - 2013-02-24
Let us know the version of vdr and what exactly you do when trying to compile.
RE: Cant compil VDR - bibi - 2013-02-24
Well it works with VDR 1.27.33.
For example, with 1.27.31 and this PKGBUILD, i get the error above :
Code: # The vdr Package is heavily based on the
# Debian VDR Package from www.e-tobi.net
# many thanks to him for the excelent work
#
# Contributor: Edgar Hucek <gimli at dark-green dot com>
pkgname=vdr
pkgver=1.7.31
pkgrel=1
arch=('i686' 'x86_64' 'arm')
url="http://www.cadsoft.de/vdr/"
license=(GPL)
pkgdesc=""
depends=('libjpeg' 'libcap' 'fontconfig' 'freetype2' 'gettext' 'gcc-libs' 'bash'
'sudo' 'ttf-vdrsymbols' 'start-stop-daemon' 'util-linux-ng' 'psmisc'
'linuxtv-dvb-apps' 'at')
makedepends=('gcc' 'patch' 'make')
optdepends=('vdr-addon-acpiwakeup')
install=$pkgname.install
source=(ftp://ftp.tvdr.de/vdr/Developer/vdr-${pkgver}.tar.bz2)
md5sums=('a3edd18a352465dd26c97c1990f7bcfd')
backup=('etc/vdr/diseqc.conf'
'etc/vdr/keymacros.conf'
'etc/vdr/sources.conf'
'etc/vdr/svdrphosts.conf'
'etc/default/vdr'
'etc/vdr/command-hooks/commands.custom.conf'
'etc/vdr/command-hooks/reccmds.custom.conf'
'etc/vdr/recording-hooks/R90.custom'
'etc/vdr/shutdown-hooks/S90.custom'
'etc/vdr/plugins/order.conf'
'var/lib/vdr/remote.conf'
'var/lib/vdr/setup.conf'
'var/lib/vdr/channels.conf')
build() {
MAKEOPTS="-j1"
cd ${srcdir}/${pkgname}-${pkgver}
#mkdir -p ${srcdir}/${pkgname}-${pkgver}/debian/patches || return 1
#cp ${startdir}/patches/extension-patch-helper.sh ${srcdir}/${pkgname}-${pkgver}/debian/patches || return 1
# Patches
for i in `grep -v ^$ ${startdir}/patches/00list | grep -v ^#` ; do
#TOGGLE=`grep 'extension\-patch\-helper' ${startdir}/patches/$i.dpatch`
#if [ "$TOGGLE" == "" ]; then
echo "Apply patch $i"
patch -p1 -i ${startdir}/patches/$i || return 1
#else
# echo "Toggle patch $i"
# sh ${startdir}/patches/$i.dpatch -patch
#fi
done
sh ${startdir}/patches/opt-91_ext-graphtft.dpatch -patch
#exit 0
cd ${srcdir}/${pkgname}-${pkgver}
rm -rf PLUGINS/src/dvbhddevice
cp Make.config.template Make.config
echo "DEFINES += -D__KERNEL_STRICT_NAMES -DUSE_GRAPHTFT" >> Make.config
make all REMOTE=LIRC CONFDIR=/var/lib/vdr LOCDIR=/usr/share/locale \
VIDEODIR=/var/lib/video.00 PLUGINLIBDIR=/usr/lib/vdr/plugins || return 1
gcc -o ${startdir}/src/vdr-shutdown.wrapper ${startdir}/files/vdr-shutdown-wrapper.c
gcc -o ${startdir}/src/ctvdrwrapper ${startdir}/files/ctvdrwrapper.c
# make directories
mkdir -p $pkgdir/etc/rc.d/ || return 1
mkdir -p $pkgdir/etc/vdr/command-hooks || return 1
mkdir -p $pkgdir/etc/vdr/recording-hooks || return 1
mkdir -p $pkgdir/etc/vdr/shutdown-hooks || return 1
mkdir -p $pkgdir/etc/vdr/groups.d || return 1
mkdir -p $pkgdir/usr/share/vdr/groups.d || return 1
mkdir -p $pkgdir/etc/vdr/plugins || return 1
mkdir -p $pkgdir/etc/default || return 1
mkdir -p $pkgdir/usr/lib/vdr/plugins || return 1
mkdir -p $pkgdir/usr/bin/ || return 1
mkdir -p $pkgdir/usr/sbin/ || return 1
mkdir -p $pkgdir/var/cache/vdr || return 1
mkdir -p $pkgdir/var/lib/vdr/plugins || return 1
mkdir -p $pkgdir/var/lib/vdr/themes || return 1
mkdir -p $pkgdir/var/lib/vdr/.szap || return 1
mkdir -p $pkgdir/var/lib/video.00 || return 1
mkdir -p $pkgdir/var/cache/vdr || return 1
mkdir -p $pkgdir/usr/share/locale || return 1
mkdir -p $pkgdir/usr/share/vdr/command-hooks || return 1
mkdir -p $pkgdir/usr/share/vdr/recording-hooks || return 1
mkdir -p $pkgdir/usr/share/vdr/shutdown-hooks || return 1
mkdir -p $pkgdir/usr/include/vdr || return 1
mkdir -p $pkgdir/usr/include/vdr/libsi || return 1
mkdir -p $pkgdir/usr/lib/vdr/plugins || return 1
# install pkg files
install -m 755 ${srcdir}/${pkgname}-${pkgver}/PLUGINS/lib/libvdr-dvbsddevice.so.${pkgver} $pkgdir/usr/lib/vdr/plugins || return 1
install -m 755 ${startdir}/files/vdr.init $pkgdir/etc/rc.d/vdr || return 1
install -m 755 ${startdir}/files/vdr-pre.init $pkgdir/etc/rc.d/vdr-pre || return 1
install -m 755 vdr $pkgdir/usr/bin/ || return 1
install -m 755 ${startdir}/files/runvdr $pkgdir/usr/sbin/ || return 1
install -m 755 ${startdir}/files/config-loader.sh $pkgdir/usr/lib/vdr || return 1
install -m 755 ${startdir}/files/commands-loader.sh $pkgdir/usr/lib/vdr/ || return 1
install -m 755 ${startdir}/files/plugin-loader.sh $pkgdir/usr/lib/vdr/ || return 1
install -m 644 diseqc.conf $pkgdir/etc/vdr/ || return 1
install -m 644 keymacros.conf $pkgdir/etc/vdr/ || return 1
install -m 644 sources.conf $pkgdir/etc/vdr/ || return 1
install -m 644 svdrphosts.conf $pkgdir/etc/vdr/ || return 1
install -m 644 ${startdir}/files/order.conf $pkgdir/etc/vdr/plugins/ || return 1
install -m 644 ${startdir}/files/order.commands.conf $pkgdir/etc/vdr/command-hooks/ || return 1
install -m 644 ${startdir}/files/order.reccmds.conf $pkgdir/etc/vdr/command-hooks/ || return 1
install -m 644 ${startdir}/files/commands.custom.conf $pkgdir/etc/vdr/command-hooks/ || return 1
install -m 644 ${startdir}/files/reccmds.custom.conf $pkgdir/etc/vdr/command-hooks/ || return 1
install -m 644 ${startdir}/files/commands.update-recordings.conf $pkgdir/usr/share/vdr/command-hooks/ || return 1
install -m 644 ${startdir}/files/commands.ctvdr.conf $pkgdir/usr/share/vdr/command-hooks/ || return 1
install -m 644 ${startdir}/files/commands.shutdownvdr.conf $pkgdir/usr/share/vdr/command-hooks/ || return 1
install -m 755 ${startdir}/files/vdr-recordingaction $pkgdir/usr/lib/vdr/ || return 1
install -m 755 ${startdir}/files/R90.custom $pkgdir/etc/vdr/recording-hooks/ || return 1
install -m 755 ${startdir}/src/ctvdrwrapper $pkgdir/usr/lib/vdr/ || return 1
install -m 755 ${startdir}/files/ctvdrinfo $pkgdir/usr/bin/ || return 1
install -m 755 ${startdir}/files/ctvdrsysinfo $pkgdir/usr/bin/ || return 1
install -m 755 ${startdir}/files/poweroffvdr $pkgdir/usr/bin/ || return 1
install -m 755 epg2html $pkgdir/usr/lib/vdr/ || return 1
install -m 755 svdrpsend $pkgdir/usr/lib/vdr/svdrpsend.pl || return 1
install -m 644 ${startdir}/files/themes/*.theme $pkgdir/var/lib/vdr/themes/ || return 1
install -m 755 ${startdir}/files/vdr-shutdown $pkgdir/usr/lib/vdr/ || return 1
install -m 755 ${startdir}/files/vdr-shutdown-message $pkgdir/usr/lib/vdr/ || return 1
install -m 755 ${startdir}/src/vdr-shutdown.wrapper $pkgdir/usr/lib/vdr/ || return 1
install -m 755 ${startdir}/files/S90.custom $pkgdir/etc/vdr/shutdown-hooks/ || return 1
install -m 755 ${startdir}/files/vdr-groups.sh $pkgdir/usr/lib/vdr/ || return 1
install -m 755 ${startdir}/files/vdr.groups $pkgdir/etc/vdr/groups.d/ || return 1
install -m 644 ${startdir}/files/remote.conf $pkgdir/var/lib/vdr/ || return 1
install -m 644 ${startdir}/files/setup.conf $pkgdir/var/lib/vdr/ || return 1
install -m 644 ${startdir}/files/vdr.default $pkgdir/etc/default/vdr || return 1
install -m 644 Make.config $pkgdir/usr/include/vdr/ || return 1
install -m 644 Make.global $pkgdir/usr/include/vdr/ || return 1
install -m 644 *.h $pkgdir/usr/include/vdr/ || return 1
install -m 644 libsi/*.h $pkgdir/usr/include/vdr/libsi/ || return 1
install -m 755 newplugin $pkgdir/usr/bin/vdr-newplugin || return 1
install -m 664 channels.conf* $pkgdir/var/lib/vdr/ || return 1
install -m 664 ${startdir}/files/channels.conf.szap $pkgdir/var/lib/vdr/.szap/channels.conf || return 1
cp -r locale $pkgdir/usr/share/
# install links
cd $pkgdir/usr/share/vdr/command-hooks/ || return 1
ln -s ../../../../etc/vdr/command-hooks/commands.custom.conf commands.custom.conf || return 1
ln -s ../../../../etc/vdr/command-hooks/reccmds.custom.conf reccmds.custom.conf || return 1
cd $pkgdir/var/lib/vdr/ || return 1
ln -s ../../../var/cache/vdr/commands.conf commands.conf || return 1
ln -s ../../../var/cache/vdr/reccmds.conf reccmds.conf || return 1
cd $pkgdir/usr/share/vdr/recording-hooks || return 1
ln -s ../../../../etc/vdr/recording-hooks/R90.custom R90.custom || return 1
cd $pkgdir/usr/share/vdr/shutdown-hooks/ || return 1
ln -s ../../../../etc/vdr/shutdown-hooks/S90.custom S90.custom || return 1
cd $pkgdir/var/lib/vdr || return 1
ln -s ../../../etc/vdr/diseqc.conf diseqc.conf || return 1
ln -s ../../../etc/vdr/keymacros.conf keymacros.conf || return 1
ln -s ../../../etc/vdr/sources.conf sources.conf || return 1
ln -s ../../../etc/vdr/svdrphosts.conf svdrphosts.conf || return 1
cd $pkgdir/var/lib || return 1
ln -s video.00 video || return 1
cd $pkgdir/etc/vdr || return 1
ln -s ../../var/lib/vdr/setup.conf setup.conf || return 1
ln -s ../../var/lib/vdr/remote.conf remote.conf || return 1
ln -s ../../var/lib/vdr/channels.conf channels.conf || return 1
ln -s ../../etc/default/vdr vdr.default || return 1
cd $pkgdir/usr/share/vdr/groups.d || return 1
ln -s ../../../../etc/vdr/groups.d/vdr.groups vdr.groups || return 1
cd $pkgdir/usr/bin || return 1
ln -s ../../usr/lib/vdr/svdrpsend.pl svdrpsend || return 1
ln -s ../../usr/lib/vdr/svdrpsend.pl svdrpsend.pl || return 1
}
RE: Cant compil VDR - FernetMenta - 2013-02-25
Sorry, I am not familiar with those package builds. I don't like the patches applied by the various distros. Not sure what exactly they patch.
RE: Cant compil VDR - bibi - 2013-02-25
Dont be sorry, you dont have to !
Well i have VDR 1.7.33 on my server, but it doesnt work with HD channel (e-ac3) and vnsi (same than last post if you remember), client is latest build of Openelec.
I will do some test this week and post debug log for you.
That's something really strange as
- it works with xvdr
- sometimes it works with tvheadend, sometimes i just get image without sound (sound comes back if i change HDMI output to anything else (looks like in this case Audio engine needs to be restart )
- with vnsi it never works and i get : connection lost with vnsi server.
RE: Cant compil VDR - FernetMenta - 2013-02-25
I just ran your sample through vnsi4. The parsers do work correctly for eac3. I get no sound when having set XBMC to pass through. Without pass through I get sound.
RE: Cant compil VDR - FernetMenta - 2013-02-25
When playing your sample as a normal file inside XBMC I get no sound with pass through either.
RE: Cant compil VDR - bibi - 2013-02-25
Yep, i remember the problem with passthrough, dont know what to do with it, that's why i choose to not use passtrough with AC3 ^^, dont want to bother AE guys too much.
I will test with vnsi4, it's in your current master branch ?
RE: Cant compil VDR - bibi - 2013-02-25
Dont answer, i found your vnsi4 branch. Will test it this week.
RE: Cant compil VDR - FernetMenta - 2013-02-25
Note that you also need my xbmc master for vnsi4. With regard on eac3 there should be no difference between vnsi3 and vnsi4. What version did you test with? Did you have pass through disabled?
RE: Cant compil VDR - bibi - 2013-02-25
VDR 1.7.33
VNSI client 1.6.4
vdr-plugin-plugin 0.9.0
A rapid test with passtrough disable and i get a crash on the server side (debug log at 3 on vdr side) :
Code: Feb 25 21:09:06 localhosy vdr: [888] VNSI: Successfully switched to channel 2 - France 2 HD
Feb 25 21:09:06 localhosy vdr: [888] VNSI: Started streaming of channel France 2 HD (timeout 10 seconds)
Feb 25 21:09:06 localhosy vdr: [902] receiver on device 1 thread started (pid=816, tid=902, prio=high)
Feb 25 21:09:08 localhosy vdr: [903] TS buffer on device 1 thread started (pid=816, tid=903, prio=high)
Feb 25 21:09:08 localhosy vdr: [822] EEPG: setstatus 0
Feb 25 21:09:08 localhosy vdr: [822] EEPG: setstatus 1
Feb 25 21:09:08 localhosy vdr: [822] EEPG: Filter Pid:0,Tid:0 added.
Feb 25 21:09:08 localhosy vdr: [901] VNSI: Created stream demuxer for pid=220 and type=8
Feb 25 21:09:08 localhosy vdr: [901] VNSI: Created stream demuxer for pid=230 and type=3
Feb 25 21:09:08 localhosy vdr: [901] VNSI: Created stream demuxer for pid=240 and type=3
Feb 25 21:09:08 localhosy vdr: [901] VNSI: Created stream demuxer for pid=32 and type=9
Feb 25 21:09:08 localhosy vdr: [823] VNSI: Requesting clients to reload channel list
Feb 25 21:09:08 localhosy vdr: [903] TS buffer on device 1 thread ended (pid=816, tid=903)
Feb 25 21:09:08 localhosy vdr: [902] buffer stats: 23312 (0%) used
Feb 25 21:09:08 localhosy vdr: [902] receiver on device 1 thread ended (pid=816, tid=902)
Feb 25 21:09:08 localhosy vdr: [905] receiver on device 1 thread started (pid=816, tid=905, prio=high)
Feb 25 21:09:08 localhosy vdr: [906] TS buffer on device 1 thread started (pid=816, tid=906, prio=high)
Feb 25 21:09:09 localhosy vdr: [823] VNSI: Requesting clients to reload channel list
Feb 25 21:09:09 localhosy vdr: [822] EEPG: PMT scan idle
Feb 25 21:09:09 localhosy vdr: [822] EEPG: Ended all processing
Feb 25 21:09:09 localhosy kernel: [ 6987.135101] cLiveStreamer s[901]: segfault at b7780e8 ip b7083de9 sp b2fa3510 error 4 in libvdr-vnsiserver.so.1.7.33[b706b000+2f000]
Thats all i get on server side.
On client line, see at 21:24:23 http://www.xbmclogs.com/show.php?id=1196
++
RE: Cant compil VDR - FernetMenta - 2013-02-26
That's not vnsiserver3. vnsiserer3 has version 0.9.1. Can you try this?
RE: Cant compil VDR - bibi - 2013-02-26
Yep, just saw that i used frodo version.
Will try tonight.
RE: Cant compil VDR - bibi - 2013-02-27
Yop,
Installed and it works well with Openelec beta 3.
With a build of your xbmc git tree (i need xvba branch), i get a lot of errors with Dolby digital + channel (passthrough disable) see at 18:55:10 in log : http://www.xbmclogs.com/show.php?id=1281
Surely an AE issue solved by the commits from Fritsch, but what is strange is that i dont get it with xvdr.
Do you plan to get his changes in your branch ?
RE: Cant compil VDR - FernetMenta - 2013-02-27
Quote:With a build of your xbmc git tree (i need xvba branch),
can you elaborate on this? what's xvba branch?
|