Sample Header Ad - 728x90

Fail to be Cross Compiled in GridDB

1 vote
0 answers
7 views
I am trying to cross-compile GridDB. The configuration command I used is: ./configure --target=arm-buildroot-linux-gnueabihf --host=arm-buildroot-linux-gnueabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared However, after a while, the terminal outputs the following error: ./../3rd_party/sqlite_mod/build/work/libsqlite3.a: error adding symbols: File format not recognized Upon checking the configure script of sqlite_mod in the work folder, I found that the Makefile generated by build.sh contains the following: TCC = gcc -I. -I../../src -I../../gs_ext ... I suspect that TCC should be set to the cross-compiler (arm-buildroot-linux-gnueabihf-gcc) like other Makefiles in GridDB. I modified TCC accordingly, but the cross-compilation still fails.
Asked by Shams (111 rep)
Apr 3, 2025, 06:16 AM