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

Peter Bennett pb.mythtv at gmail.com
Sun Jul 12 15:25:26 UTC 2020


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))
         ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5: 
note: in instantiation of member function 
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char> 
 >::seekoff' requested here
     basic_filebuf();
     ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5: 
note: in instantiation of member function 
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char> 
 >::basic_filebuf' requested here
     basic_ofstream();
     ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member 
function 'std::__ndk1::basic_ofstream<char, 
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
     ofstream pidfs;
              ^
In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:952:20: 
error: use of undeclared identifier 'ftello'
     pos_type __r = ftello(__file_);
                    ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:968:9: 
error: use of undeclared identifier 'fseeko'
     if (fseeko(__file_, __sp, SEEK_SET))
         ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5: 
note: in instantiation of member function 
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char> 
 >::seekpos' requested here
     basic_filebuf();
     ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5: 
note: in instantiation of member function 
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char> 
 >::basic_filebuf' requested here
     basic_ofstream();
     ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member 
function 'std::__ndk1::basic_ofstream<char, 
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
     ofstream pidfs;
              ^
In file included from mythcommandlineparser.cpp:28:
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1032:13: 
error: use of undeclared identifier 'fseeko'
         if (fseeko(__file_, -__c, SEEK_CUR))
             ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:213:5: 
note: in instantiation of member function 
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char> 
 >::sync' requested here
     basic_filebuf();
     ^
/home/peter/Android/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/fstream:1356:5: 
note: in instantiation of member function 
'std::__ndk1::basic_filebuf<char, std::__ndk1::char_traits<char> 
 >::basic_filebuf' requested here
     basic_ofstream();
     ^
mythcommandlineparser.cpp:2754:14: note: in instantiation of member 
function 'std::__ndk1::basic_ofstream<char, 
std::__ndk1::char_traits<char> >::basic_ofstream' requested here
     ofstream pidfs;
              ^
4 errors generated.
make[3]: *** [Makefile:6200: obj/mythcommandlineparser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv/libs/libmythbase'
make[2]: *** [Makefile:81: sub-libmythbase-make_first] Error 2
make[2]: Leaving directory 
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv/libs'
make[1]: *** [Makefile:66: libs] Error 2
make[1]: Leaving directory 
'/home/peter/proj/github.com/MythTV/packaging-master/android/build/mythtv'
make: *** [Makefile:36: apk] Error 2



More information about the mythtv-users mailing list