Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 13:26:26 +0100
From:      Bernhard Froehlich <decke@bluelife.at>
To:        Juergen Lock <nox@jelal.kn-bremen.de>
Cc:        freebsd-multimedia@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: xbmc pvr in ports; update, please test with MythTV too! :)
Message-ID:  <3b76d03bf4984690e60f3c13e3eb84c8@bluelife.at>
In-Reply-To: <20111205185645.GA76468@triton8.kn-bremen.de>
References:  <20111119113719.GA20783@triton8.kn-bremen.de> <20111205185645.GA76468@triton8.kn-bremen.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 05.12.2011 19:56, Juergen Lock wrote:
> I just updated to the latest release pvr-ppa-odk56:
>
> 	http://people.freebsd.org/~nox/tmp/xbmc-pvr-ppa-odk56.patch
>
>  It would be nice if someone could verify this works with mythtv too
> before I commit it...

First thing I noticed was that XBMC_Mythtv.pvr should really be
XBMC_MythTV.pvr because it complains in the logfile when loading the
addon:

ERROR: ADDON: Could not locate XBMC_MythTV.pvr

Moving the file to 
/usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr
gets it a step further.

Next thing is an undefined symbol:

ERROR: Unable to load 
/usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr,
reason: /usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr: 
Undefined
symbol "_ZTI14MythXmlCommand"

It looks like this is part of libmythxml but It was not linked to the
shared object. While searching for that problem I found the following
commit which includes a hunk for xbmc/pvrclients/mythtv/Makefile.in and
looks pretty right in what it does. But it's quite different code than
what you have in your port. Are you sure you aren't using an old branch
for the PVR code?

http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/xbmc;a=patch;h=7e83f17

Both problems fixed with the attached patch.

Now getting to the next undefined symbol:

ERROR: Unable to load 
/usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, reason: 
/usr/local/lib/xbmc/add
ons/pvr.mythtv/XBMC_MythTV.pvr: Undefined symbol "GetChannelsAmount"

-- 
Bernhard Fröhlich
http://www.bluelife.at/
[-- Attachment #2 --]
--- xbmc/pvrclients/mythtv/Makefile.in.orig	2011-12-12 12:52:33.037450911 +0100
+++ xbmc/pvrclients/mythtv/Makefile.in	2011-12-12 12:53:47.723472598 +0100
@@ -5,8 +5,9 @@
 # how to reach the author.
 #
 
+LIBS   = libmythxml/libmythxml.a
 LIBDIR = @abs_top_srcdir@/addons/pvr.mythtv
-LIB    = @abs_top_srcdir@/addons/pvr.mythtv/XBMC_Mythtv.pvr
+LIB    = @abs_top_srcdir@/addons/pvr.mythtv/XBMC_MythTV.pvr
 
 SRCS=client.cpp \
 	MythXml.cpp
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b76d03bf4984690e60f3c13e3eb84c8>