[mythtv-users] MythTV-Frontend does not start on Amazon FireTV (non-4K)

Peter Bennett pb.mythtv at gmail.com
Mon Jul 13 15:37:00 UTC 2020


On 7/12/20 5:33 PM, Peter Bennett wrote:
>
> On 7/12/20 11:25 AM, Peter Bennett wrote:
>>
>> On 7/12/20 10:56 AM, Mark Spieth wrote:
>>> On 7/12/2020 6:59 AM, Peter Bennett wrote:
>>>>
>>>> On 7/10/20 9:13 PM, Mark Spieth wrote:
>>>>> If you mean Fire TV Stick Gen 2, that is not 4K. Only the 32 bit 
>>>>> version of mythfrontend would work.
>>>>>>
>>>>>> I tried this on a fire stick gen 2 and I agree it is not working. 
>>>>>> The same apk installed on fire stick 4K works fine.
>>>>>>
>>>>>> Error message is
>>>>>>
>>>>>> E/art     ( 8394): 
>>>>>> dlopen("/data/app/org.mythtv.mythfrontend-2/lib/arm/libQt5Core_armeabi-v7a.so", 
>>>>>> RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in 
>>>>>> "libQt5Core_armeabi-v7a.so" (built with --hash-style=gnu?) 
>>>
>>> same hash style error as before. I assume you rebuild the libs with 
>>> sdk target 21 too.
>>>
>>> Did you try my makelibs.sh commit (with original sdk version 23 or 
>>> was it 25?)?
>>>
>>> Not sure if the other libs also require it but we will see. It 
>>> should at least get rid of the above LD error.
>>>
>>> Mark
>>>
>>>
>> This is an old email you are replying to. The current error I get is 
>> a failure to compile. See my email from 7/11/2020, copied below.
>>
>> Peter
>>
>> As you had recommended, I changed the ANDROID_NATIVE_API_LEVEL to 21
>>
>> Using master ..
>>
>> Libs built fine, but trying to build mythtv gives these errors (see 
>> below). It does not make much sense, since fseeko is supposed to be 
>> in stdio.h ?
>>
>> In file included from mythcommandlineparser.cpp:28:
>> /home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:950:9: 
>> error: use of undeclared identifier 'fseeko'
>>     if (fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
>>         ^
>>
>
> According to this page (see below) fseeko and ftello are only 
> supported after api level 24 - I am trying this again with api level 24.
>
> https://stackoverflow.com/questions/32826175/ftello-and-fseeko-android-build-errors 
>
>
> Peter
>
>
I rebuilt libs and application with Mark's commit and API 24.

mythfrontend now fails to start on the fire stick non-4k with this error:

E/art     ( 6581): 
dlopen("/data/app/org.mythtv.mythfrontend-1/lib/arm/libQt5Core_armeabi-v7a.so", 
RTLD_LAZY) failed: dlopen failed: cannot locate symbol 
"__register_atfork" referenced by "libicuuc65.so"...

E/AndroidRuntime( 6581): FATAL EXCEPTION: qtMainLoopThread
E/AndroidRuntime( 6581): Process: org.mythtv.mythfrontend, PID: 6581
E/AndroidRuntime( 6581): java.lang.UnsatisfiedLinkError: dlopen failed: 
cannot locate symbol "__register_atfork" referenced by "libicuuc65.so"...
E/AndroidRuntime( 6581):        at java.lang.Runtime.load(Runtime.java:331)
E/AndroidRuntime( 6581):        at java.lang.System.load(System.java:981)
E/AndroidRuntime( 6581):        at 
org.qtproject.qt5.android.QtNative$2.run(QtNative.java:199)
E/AndroidRuntime( 6581):        at 
org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
E/AndroidRuntime( 6581):        at 
org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
E/AndroidRuntime( 6581):        at java.lang.Thread.run(Thread.java:818)

Not sure if it got past the hash error or encountered another problem 
before getting to the hash check.

The package works fine on fire stick 4k.

In any case, mythfrontend runs poorly on fire stick non-4k. I do not see 
a priority in trying to get this to work.

Peter




More information about the mythtv-users mailing list