Crosscompile Thinger

Hello Comunity,

I crosscompile the thinger source for my environment and got errors on compiling:
As I am a beginner in Programming I need your help to analyze and give me a hint where to search my error.
Somhow my libssl.so is not in the good File Format. Here is my output:

root@dev001:# cmake -DCMAKE_BUILD_TYPE=Release -DDAEMON=OFF …/src

– The C compiler identification is GNU 7.3.0
– The CXX compiler identification is GNU 7.3.0
– Check for working C compiler: /opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/bin/arm-dey-li nux-gnueabi/arm-dey-linux-gnueabi-gcc
– Check for working C compiler: /opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/bin/arm-dey-li nux-gnueabi/arm-dey-linux-gnueabi-gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/bin/arm-dey- linux-gnueabi/arm-dey-linux-gnueabi-g++
– Check for working CXX compiler: /opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/bin/arm-dey- linux-gnueabi/arm-dey-linux-gnueabi-g++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found OpenSSL: /opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/lib/libssl.so;/opt/workspace/ ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/lib/libcrypto.so (found version “1.1.0j”)
– OpenSSL Version: 1.1.0j
– Configuring done
– Generating done
– Build files have been written to: /opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/build

root@dev001:# make thinger

Scanning dependencies of target thinger
[ 50%] Building CXX object CMakeFiles/thinger.dir/main.cpp.o
[100%] Linking CXX executable thinger
/opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/lib/libssl.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
CMakeFiles/thinger.dir/build.make:96: recipe for target ‘thinger’ failed
make[3]: *** [thinger] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/thinger.dir/all’ failed
make[2]: *** [CMakeFiles/thinger.dir/all] Error 2
CMakeFiles/Makefile2:79: recipe for target ‘CMakeFiles/thinger.dir/rule’ failed
make[1]: *** [CMakeFiles/thinger.dir/rule] Error 2
Makefile:118: recipe for target ‘thinger’ failed
make: *** [thinger] Error 2

Looking closer to the the libssl file it is

root@dev001:# file libssl.so

/opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/lib/libssl.so -> libssl.so.1.0.0

root@dev001:# file libssl.so.1.0.0

/opt/workspace/ccimx6ulstarter/tmp/work/cortexa7hf-neon-dey-linux-gnueabi/thingerclient/0.1-r0/recipe-sysroot-native/usr/lib/libssl.so.1.0.0: ELF 64-bit LSB shared obje ct, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=1e3873fc1a65ed521c8dc93e380760b7ed3737ed, stripped

Many Thanks for your help

Roman