TOPIC: MythTV 0.25 addon for openELEC r10534

Re: MythTV 0.25 addon for openELEC r10534 11 months 2 weeks ago #61

  • jwdv22
  • jwdv22's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Thanks for your help,

So i am using a PVR build but I disabled the PVR settings in the settings menu. I uninstalled and reinstalled from the zip file. cleared the log file, then unsuccessfully tried opening mythtv from the programs menu. here is the end of the xbmc.log file pastebin.com/4KyN6TAA

So I figured I would look in the log file here as well before posting 20:48:46 T:2977950528 NOTICE: mythfrontend: Launching MythFrontend: /storage/.xbmc/addons/multimedia.mythtv/bin/mythfrontend -v "important,general" > /storage/.mythtv/mythfrontend.log

BUT there is no /storage/.mythtv directory.... Weird right? Any ideas?
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 11 months 2 weeks ago #62

  • jwdv22
  • jwdv22's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Finally I did a fresh install again, but only thing I did was install your myth.25.0.2.zip add-on and then try to launch it.

Here is the xbmc.log file. Again there was no storage/.mythtv directory
Attachments:
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 11 months 2 weeks ago #63

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
jwdv22

You may have missed this in the thread, try creating that folder in /storage manually
Last Edit: 11 months 2 weeks ago by sebj.
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 11 months 2 weeks ago #64

  • jwdv22
  • jwdv22's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
That was it. Sorry I missed it and thanks for all your help and great work.
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 11 months 2 weeks ago #65

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
No problem.

That being said, there might be issues with the addon moving forward.

Openelec has changed a few things this week and the adon doesn;t compile :pinch:

They have removed webkit and qt-everywhere is giving compile errors obviously.

touchstone?! Could you have a look? Would be nice if the addon worked for openelec 2.0 final!
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 11 months 2 weeks ago #66

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
Ok so I've spent a couple nights trying to get the addon to compile with the latest git code for openelec, and something must have changed on their side, or have they?

I'm kind of confused, and this is a bit over my head as I'm writing this

getting lots of errors and would love to have some help here :)

among other things getting :

cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.

Help! :(
The administrator has disabled public write access.

Re: MythTV 0.25.1 addon for openELEC 1.95.4 11 months 1 week ago #67

  • touchstone
  • touchstone's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 2
I've updated the meta packages to use MythTV 0.25.1 and Qt 4.8.2. They compile under the openelec-2.0 git branch, currently at 2.0 beta 4 (1.95.4). There was a version change in libudev.so after 1.95.4, which means that if you compile against the git trunk it won't work with 1.95.4, and vice versa.

I'm posting these as meta packages rather than compiled addons because I really don't have time to provide consistent support (like sebj has). Good luck.

(Edit: Please see post #69 for attachment)
Last Edit: 11 months 1 week ago by touchstone.
The administrator has disabled public write access.

Re: MythTV 0.25.1 addon for openELEC 1.95.5 11 months 1 week ago #68

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
Touchstone! Thanks for looking into it. :cheer:

I'm going to start updating the builds for people, but so far, my efforts in compiling in 32bit generic aren't sucessful.

I'm not a qt-everywhere guru, and my googling hasn't figured it out...

Does this ring a bell by any chance?

thanks!
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
make[1]: *** [.obj/release-shared/qvariantanimation.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [.obj/release-shared/qabstractanimation.o] Error 1
make[1]: *** [.obj/release-shared/qpropertyanimation.o] Error 1
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
make[1]: *** [.obj/release-shared/qanimationgroup.o] Error 1
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
make[1]: *** [.obj/release-shared/qpauseanimation.o] Error 1
make[1]: *** [.obj/release-shared/qfuture.o] Error 1
make[1]: *** [.obj/release-shared/qparallelanimationgroup.o] Error 1
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: error: use -Winvalid-pch for more information
cc1plus: fatal error: .pch/release-shared/QtCore: No such file or directory
compilation terminated.
make[1]: *** [.obj/release-shared/qsequentialanimationgroup.o] Error 1
make[1]: Leaving directory `/home/sjacob/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/qt-everywhere-opensource-src-4.8.2/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
The administrator has disabled public write access.

Re: MythTV 0.25.1 addon for openELEC 1.95.4 11 months 1 week ago #69

  • touchstone
  • touchstone's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 2
I added "-no-pch" to the Qt compile flags, and built without errors using the openelec-2.0 branch.


File Attachment:

File Name: multimedia.mythtv-0.25.1.4.tar.bz2
File Size: 29 KB
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 11 months 6 days ago #70

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
touchstone.

Getting closer! Thanks for looking into it!

The 32bit compile goes better for sure, but there are still issues with webkit :pinch:
efined reference to `WebCore::ArrayBuffer::data()'
../../WebCore/release/libwebcore.a(WebKitBlobBuilder.o): In function `WebCore::WebKitBlobBuilder::append(WebCore::ArrayBuffer*)':
WebKitBlobBuilder.cpp:(.text._ZN7WebCore17WebKitBlobBuilder6appendEPNS_11ArrayBufferE+0x3e): undefined reference to `WebCore::ArrayBuffer::byteLength() const'
WebKitBlobBuilder.cpp:(.text._ZN7WebCore17WebKitBlobBuilder6appendEPNS_11ArrayBufferE+0x48): undefined reference to `WebCore::ArrayBuffer::data()'
../../WebCore/release/libwebcore.a(XMLHttpRequest.o): In function `WTF::RefPtr<WebCore::ArrayBuffer>::operator=(WTF::PassRefPtr<WebCore::ArrayBuffer> const&)':
XMLHttpRequest.cpp:(.text._ZN3WTF6RefPtrIN7WebCore11ArrayBufferEEaSERKNS_10PassRefPtrIS2_EE[_ZN3WTF6RefPtrIN7WebCore11ArrayBufferEEaSERKNS_10PassRefPtrIS2_EE]+0x50): undefined reference to `WebCore::ArrayBuffer::~ArrayBuffer()'
../../WebCore/release/libwebcore.a(XMLHttpRequest.o): In function `WebCore::XMLHttpRequest::clearResponseBuffers()':
XMLHttpRequest.cpp:(.text._ZN7WebCore14XMLHttpRequest20clearResponseBuffersEv+0xc4): undefined reference to `WebCore::ArrayBuffer::~ArrayBuffer()'
../../WebCore/release/libwebcore.a(XMLHttpRequest.o): In function `WebCore::XMLHttpRequest::responseArrayBuffer(int&)':
XMLHttpRequest.cpp:(.text._ZN7WebCore14XMLHttpRequest19responseArrayBufferERi+0xac): undefined reference to `WebCore::ArrayBuffer::create(void*, unsigned int)'
../../WebCore/release/libwebcore.a(XMLHttpRequest.o): In function `WebCore::XMLHttpRequest::send(WebCore::ArrayBuffer*, int&)':
XMLHttpRequest.cpp:(.text._ZN7WebCore14XMLHttpRequest4sendEPNS_11ArrayBufferERi+0xa3): undefined reference to `WebCore::ArrayBuffer::byteLength() const'
XMLHttpRequest.cpp:(.text._ZN7WebCore14XMLHttpRequest4sendEPNS_11ArrayBufferERi+0xb5): undefined reference to `WebCore::ArrayBuffer::data()'
../../WebCore/release/libwebcore.a(XMLHttpRequest.o): In function `WebCore::XMLHttpRequest::~XMLHttpRequest()':
XMLHttpRequest.cpp:(.text._ZN7WebCore14XMLHttpRequestD2Ev+0x22c): undefined reference to `WebCore::ArrayBuffer::~ArrayBuffer()'
collect2: error: ld returned 1 exit status
make[2]: *** [../../../../../../lib/libQtWebKit.so.4.9.2] Error 1
make[2]: Leaving directory `/home/sjacob/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source/WebKit/qt'
make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
make[1]: Leaving directory `/home/sjacob/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source'
make: *** [sub-webkit-make_default-ordered] Error 2
The administrator has disabled public write access.

Re: MythTV 0.25.1 addon for openELEC 1.95.4 11 months 6 days ago #71

  • touchstone
  • touchstone's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 2
I just rebuilt and haven't been getting that error. Are you using a fresh version of the source?

Here are the commands I used to build on a Debian Squeeze 32-bit VM (assuming multimedia.mythtv-0.25.1.4.tar.bz2 is in the current directory):
  1. rm -rf OpenELEC.tv (removing old build directory)
  2. git clone -b openelec-2.0 https://github.com/OpenELEC/OpenELEC.tv.git
  3. cd OpenELEC.tv/
  4. tar jxvf ../multimedia.mythtv-0.25.1.4.tar.bz2
  5. scripts/create_addon mythtv

Could you try those steps and see if it works?
Last Edit: 11 months 6 days ago by touchstone.
The administrator has disabled public write access.

Re: MythTV 0.25.1 addon for openELEC 1.95.4 11 months 5 days ago #72

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
Ok I think I get it.

I'm compiling straight master not 2.0!

So I'm running on really bleeding edge stuff.

All the compiles I shared worked for beta4, I guess, something later in he updates might have messed things up. It's the danger of going into straight nightlies.

I honestly wasn't aware that there was a "frozen" branch for the beta4 revision.

Now that you mention it, it makes total sense to work on addons in this way, because god knows what can be broken and have unexpected results on our end!

That being said, it's maybe fair to say that the next version of openelec might have compile issues based on my experiments.

If you checkout master, you may see my error come up!

They don't call it the bleeding edge for nothing. :blush:
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 3 weeks ago #73

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
Touchstone, or any OE devs for that matter :) :

Ok, so I've been spending a couple nights researching this and I still can't seem to get any compiles working off the latest openelec code. :pinch:

From what I've read around the interwebs, there were issues with mythtv and gcc 4.7

example

I also tried 0.24 based compiles, using the previous gcc4.7 patches and nothing comes through.

I'm getting a bunch of errors like :
In file included from ../libmythbase/compat.h:48:0,
                 from ../libmythui/mythpainter.h:16,
                 from ../libmythui/mythimage.h:11,
                 from ../libmythui/mythuistatetype.h:8,
                 from ../libmythui/mythuibutton.h:7,
                 from rawsettingseditor.cpp:4:
/usr/include/unistd.h:1154:41: warning: redundant redeclaration of 'char* ctermid(char*)' in same scope [-Wredundant-decls]

...

In file included from audio/spdifencoder.h:11:0,
                 from audio/audiooutputdigitalencoder.h:8,
                 from audio/audiooutputbase.cpp:15:
../../external/FFmpeg/libavcodec/audioconvert.h:98:45: error: use of enum 'AVSampleFormat' without previous declaration
../../external/FFmpeg/libavcodec/audioconvert.h:99:45: error: use of enum 'AVSampleFormat' without previous declaration
audio/audiooutputbase.cpp: In member function 'virtual bool AudioOutputBase::CanPassthrough(int, int, int, int) const':
audio/audiooutputbase.cpp:260:22: error: 'FF_PROFILE_DTS' was not declared in this scope
audio/audiooutputbase.cpp:261:22: error: 'FF_PROFILE_DTS_ES' was not declared in this scope

I've read that there is a way to turn off some cflags arguments to let some things slide and not be treated as errors https://www.lonelycoder.com/redmine/boards/5/topics/1079?r=1097#message-1097

but not sure if this is the case or how I would go about fixing it.

Any insight very welcome.
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 3 weeks ago #74

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
After spending another evening having a run at this I'd like to throw a though out there, maybe OE devs can confirm my suspicions (I'm not a bonafide dev after all)
mythcontext.cpp:973:27: warning: 'static DialogCode MythPopupBox::ShowButtonPopup(MythMainWindow*, const QString&, const QString&, const QStringList&, DialogCode)' is deprecated (declared at mythdialogs.h:185) [-Wdeprecated-declarations]

Could it be that some of my errors with the -Wdeprecated-declarations be related to OE's inclusion of this parameter in the project's compiler settings? :dry:

Could it be that this message is actually aborting the compile rather than letting it continue on?

ccache /home/sebj/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/toolchain/bin/i686-openelec-linux-gnu-g++ -c -m32 -m32 -pipe --sysroot=/home/sebj/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/toolchain/i686-openelec-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -march=i686 -fomit-frame-pointer -pthread -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -Wmissing-declarations -D_REENTRANT -fPIC -DMMX -Di386 -D_GNU_SOURCE -Dlinux -DUSING_ALSA -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../qt-everywhere-opensource-src-4.8.1/install/mkspecs/linux-g++-openelec -I. -I../../../qt-everywhere-opensource-src-4.8.1/install/include/QtCore -I../../../qt-everywhere-opensource-src-4.8.1/install/include/QtNetwork -I../../../qt-everywhere-opensource-src-4.8.1/install/include/QtGui -I../../../qt-everywhere-opensource-src-4.8.1/install/include/QtXml -I../../../qt-everywhere-opensource-src-4.8.1/install/include/QtSql -I../../../qt-everywhere-opensource-src-4.8.1/install/include -I../../../toolchain/i686-openelec-linux-gnu/sysroot/usr/include -I/home/sebj/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/toolchain/i686-openelec-linux-gnu/sysroot/home/sebj/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/mythtv-0.24.3/install -I/usr/include -I../libmythsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythdb -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -I../../../toolchain/i686-openelec-linux-gnu/sysroot/usr/include -I../../../toolchain/i686-openelec-linux-gnu/sysroot/usr/include/freetype2 -o mythwidgets.o mythwidgets.cpp
In file included from audiooutputdigitalencoder.cpp:3:0:
/usr/include/unistd.h:1154:41: warning: redundant redeclaration of 'char* ctermid(char*)' in same scope [-Wredundant-decls]
In file included from /home/sebj/Documents/OpenELEC.tv/build.OpenELEC-Generic.i386-devel/toolchain/lib/gcc/i686-openelec-linux-gnu/4.7.1/../../../../i686-openelec-linux-gnu/include/c++/4.7.1/cstdio:44:0,
from audiooutputdigitalencoder.cpp:2:
/usr/include/stdio.h:878:14: warning: previous declaration of 'char* ctermid(char*)' [-Wredundant-decls]
Last Edit: 10 months 3 weeks ago by sebj.
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 2 weeks ago #75

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
Ok started a brand new compile using the official 1.95.5 branch :

Addon still doesn't compile, qteverywhere seems to compile fine, but mythtv pretty much the same issues as I was seeing in master.

The latest openelec states update to gcc-4.7.1 as a new feature. My guess is that there an issue there as far as I can tell.

Touchstone, if you can spare a little time, see if it's compiling on your box?
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 2 weeks ago #76

  • ultraman
  • ultraman's Avatar
  • NOW ONLINE
  • Developer
  • Posts: 2474
  • Thank you received: 359
  • Karma: 171
sebj or Touchstone: How do you actually compile this addon? I'm trying on yesterdays daily build and I have multiple errors.
In package mysql I have to add
CFLAGS="$CFLAGS -fPIC -DPIC"
But bigger problem is with ffmpeg. Because ffmpeg is already part of OE now there are some conflicts between includes (libavutil/mem.h). When compiling libmythfreesurround it takes system ones instead of from mythtv and I got those errors:
cd libmythfreesurround/ && make -f Makefile make[2]: Entering directory `/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/mythtv-0.25.1/libs/libmythfreesurround' ccache /home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-g++ -c -m64 -m64 -pipe --sysroot=/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=atom -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -fvisibility-inlines-hidden -Wmissing-declarations -w -fPIC -D_REENTRANT -DMMX -Dusing_libcec -D_GNU_SOURCE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../qt-everywhere-opensource-src-4.8.2/install/mkspecs/linux-g++-openelec -I. -I../../../qt-everywhere-opensource-src-4.8.2/install/include/QtCore -I../../../qt-everywhere-opensource-src-4.8.2/install/include/QtNetwork -I../../../qt-everywhere-opensource-src-4.8.2/install/include/QtGui -I../../../qt-everywhere-opensource-src-4.8.2/install/include -I../../../toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include -I/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/sysroot/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/mythtv-0.25.1/install -I/usr/include -I../../external/FFmpeg -I../libmythbase -I.. -I../.. -I. -I../../../toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include -I../../../toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include/freetype2 -o el_processor.o el_processor.cpp In file included from el_processor.cpp:30:0: ../../external/FFmpeg/libavcodec/fft.h:71:23: error: ISO C++ forbids declaration of 'DECLARE_ALIGNED' with no type [-fpermissive] ../../external/FFmpeg/libavcodec/fft.h:71:37: error: expected primary-expression before ',' token ../../external/FFmpeg/libavcodec/fft.h:71:39: error: 'ff_cos_16' was not declared in this scope ../../external/FFmpeg/libavcodec/fft.h:71:48: error: expression list treated as compound expression in initializer [-fpermissive] ../../external/FFmpeg/libavcodec/fft.h:71:49: error: expected ',' or ';' before '[' token[/code]This happens because it takes libavutil/mem.h from toolchain instead of external/FFmpeg from mythtv. I think some CXXFLAGS should be adjusted but which one?[code]cd libmythfreesurround/ && make -f Makefile
make[2]: Entering directory `/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/mythtv-0.25.1/libs/libmythfreesurround'
ccache /home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-g++ -c -m64 -m64 -pipe --sysroot=/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=atom -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -fvisibility-inlines-hidden -Wmissing-declarations -w -fPIC -D_REENTRANT -DMMX -Dusing_libcec -D_GNU_SOURCE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../qt-everywhere-opensource-src-4.8.2/install/mkspecs/linux-g++-openelec -I. -I../../../qt-everywhere-opensource-src-4.8.2/install/include/QtCore -I../../../qt-everywhere-opensource-src-4.8.2/install/include/QtNetwork -I../../../qt-everywhere-opensource-src-4.8.2/install/include/QtGui -I../../../qt-everywhere-opensource-src-4.8.2/install/include -I../../../toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include -I/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/sysroot/home/pvic/OpenELEC/OpenELEC.tv/build.OpenELEC_PVR-Ultra.x86_64-devel/mythtv-0.25.1/install -I/usr/include -I../../external/FFmpeg -I../libmythbase -I.. -I../.. -I. -I../../../toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include -I../../../toolchain/x86_64-openelec-linux-gnu/sysroot/usr/include/freetype2 -o el_processor.o el_processor.cpp
In file included from el_processor.cpp:30:0:
../../external/FFmpeg/libavcodec/fft.h:71:23: error: ISO C++ forbids declaration of 'DECLARE_ALIGNED' with no type [-fpermissive]
../../external/FFmpeg/libavcodec/fft.h:71:37: error: expected primary-expression before ',' token
../../external/FFmpeg/libavcodec/fft.h:71:39: error: 'ff_cos_16' was not declared in this scope
../../external/FFmpeg/libavcodec/fft.h:71:48: error: expression list treated as compound expression in initializer [-fpermissive]
../../external/FFmpeg/libavcodec/fft.h:71:49: error: expected ',' or ';' before 'This happens because it takes libavutil/mem.h from toolchain instead of external/FFmpeg from mythtv.

I think some CXXFLAGS should be adjusted but which one?
ultraman == vpeter
my Opera web browser addon (not for RPi): openelec-opera-browser.notlong.com
my TrueCrypt addon: truecrypt-openelec.notlong.com/
Sundtek and HDHomeRun DVB driver addons
paypal donation to support my new challenges
Last Edit: 10 months 2 weeks ago by ultraman.
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 1 week ago #77

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
ultraman,

Glad you're also taking a look at it :)

The addon was compiling before, 1.95.4 baseline, touchstone got it working and in that timeline, I was able to compile and share the addon for most of the platforms openelec supports.
I think some CXXFLAGS should be adjusted but which one?

Does openelec use a set of cflags that the addon's compile in inheriting?

In the mythtv build file there are a bunch of references to compiler settings like

--host-cflags="$HOST_CFLAGS" \

Can we circumvent this? Should we?

Moreover is gcc 4.7.1 to blame for the compilation issues?

so many questions!
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 1 week ago #78

  • ultraman
  • ultraman's Avatar
  • NOW ONLINE
  • Developer
  • Posts: 2474
  • Thank you received: 359
  • Karma: 171
This are my fixed build scripts. Maybe I miss something. Just try and let me know where it ends.
dl.dropbox.com/u/8224157/OpenELEC-Ultra/tmp/mythtv-build.zip
dl.dropbox.com/u/8224157/OpenELEC-Ultra/tmp/libcdio-build.zip
dl.dropbox.com/u/8224157/OpenELEC-Ultra/tmp/mysql-build.zip

Process ends with addon creation which fails because you can't use ldd when building 64 bit image on 32 bit host. I'm using objdump for this. Changed too.
ultraman == vpeter
my Opera web browser addon (not for RPi): openelec-opera-browser.notlong.com
my TrueCrypt addon: truecrypt-openelec.notlong.com/
Sundtek and HDHomeRun DVB driver addons
paypal donation to support my new challenges
Last Edit: 10 months 1 week ago by ultraman.
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 1 week ago #79

  • sebj
  • sebj's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 248
  • Thank you received: 7
  • Karma: 5
Ultraman!

I think you've done it! Great job! thanks!

On my end I've been able to compile and test the build with backend 0.24 running 1.95.5 generic 32 bit.

multimedia.mythtv-0.24.4_32bit_OE-1.95.5.zip

multimedia.mythtv-0.25.1.4_32bit_OE-1.95.5.zip

Curious thing though, I only replaced build scripts you provided for mythtv, not libcdio and mysql. Is this normal?

The addon works fine so far. Will watch some tv tonight and report back if I see issues, but so far it works just as well as the previous version, which touchstone did a really cool job with so I'm stoked! :)
Last Edit: 10 months 1 week ago by sebj.
The administrator has disabled public write access.

Re: MythTV 0.25 addon for openELEC r10534 10 months 1 week ago #80

  • ultraman
  • ultraman's Avatar
  • NOW ONLINE
  • Developer
  • Posts: 2474
  • Thank you received: 359
  • Karma: 171
sebj, I don't know about other projects build files. To get everything I have to changed them.

And I'm glad it works.

And now my q: what about running backend on OpenELEC itself? How hard this would be?
ultraman == vpeter
my Opera web browser addon (not for RPi): openelec-opera-browser.notlong.com
my TrueCrypt addon: truecrypt-openelec.notlong.com/
Sundtek and HDHomeRun DVB driver addons
paypal donation to support my new challenges
Last Edit: 10 months 1 week ago by ultraman.
The administrator has disabled public write access.

Our Sponsors & Partners

arctic_logo