opengisch / OSGeo4A

OSGeo4A is a build environment to cross-compile opensource GIS software for android devices
MIT License
30 stars 22 forks source link

undefined reference to 'fts_open' #49

Open berkayoruc opened 4 years ago

berkayoruc commented 4 years ago

MacOS Mojave I am new about OSGeo environment and I want to build OSGeo4A. While repo is building, if I gave local path about QGIS export O4A_qgis_DIR="/usr/local/Cellar/osgeo-qgis-ltr/3.4.9/QGIS" , I took this error. [ 87%] Built target fread [ 89%] Built target ziptool [ 89%] Built target zipmerge /Users/hexa/OSGeo4A/build/libzip/rel-1-5-2/src/zipcmp.c:312: error: undefined reference to 'fts_open' /Users/hexa/OSGeo4A/build/libzip/rel-1-5-2/src/zipcmp.c:320: error: undefined reference to 'fts_read' /Users/hexa/OSGeo4A/build/libzip/rel-1-5-2/src/zipcmp.c:368: error: undefined reference to 'fts_close' /Users/hexa/OSGeo4A/build/libzip/rel-1-5-2/src/zipcmp.c:0: error: undefined reference to 'fts_close' clang: error: linker command failed with exit code 1 (use -v to see invocation) Another way is do not specify local path. But that time, again, I cannot build OSGeo4A. If I download manually tar.gz file, it will be about 100mb. But in automatic downloading, file size will be about 96mb and terminal cannot build project that time. Here its error. Kayıt yeri: 'b5459794f8b877a6d1064fd504b7a3ccb3aaba9a.tar.gz' 94f8b877a6d1064fd504b7a3ccb [ <=> ] 95,95M 779KB/s ./distribute.sh: line 143: 1410 Segmentation fault: 11 "$@"

m-kuhn commented 4 years ago

There are also pre-built images (see https://hub.docker.com/r/opengisch/qfield-sdk/tags)