I'm trying to cross-compile Qt5.15 with GCC 9 or GCC 7 since the default (GCC5) have some problem compilating apps that use sqlite.
This is the configure i'm using (not sure that toolchain works in the device)
But im getting several errors related to the openGL configuration. Have any one done this cross-compilation under similar characteristics? Is there any guide or something that could help?. I've used some general guides, and some rpi guides but those are not specif.
Also I've done some simliks that I see was required.
P.D. I'm not able to do rsync since I don't have the device right now, so I must made it with out it.
This is the configure i'm using (not sure that toolchain works in the device)
Code: Select all
.././configure -release -device linux-arm-generic-g++ -device-option CROSS_COMPILE=~/Downloads/Qt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot $SYSROOT -opensource -confirm-license -make libs -prefix $INSTALL_DIR -no-use-gold-linker -v -L/opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf -I/opt/rootfs-s5p4418/usr/include -opengl es2 -L/opt/rootfs-s5p4418/lib/arm-linux-gnueabihf
But im getting several errors related to the openGL configuration. Have any one done this cross-compilation under similar characteristics? Is there any guide or something that could help?. I've used some general guides, and some rpi guides but those are not specif.
Code: Select all
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_setspecific@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `timer_create@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `dlerror@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_key_create@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_join@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `timer_settime@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_mutex_trylock@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `dlclose@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_getspecific@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `timer_delete@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_mutexattr_init@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `dlopen@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_mutexattr_settype@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_mutexattr_destroy@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `dlsym@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `pthread_create@GLIBC_2.4'
> /opt/rootfs-s5p4418/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `clock_gettime@GLIBC_2.4'
> collect2: error: ld returned 1 exit status
Also I've done some simliks that I see was required.
P.D. I'm not able to do rsync since I don't have the device right now, so I must made it with out it.