-
Notifications
You must be signed in to change notification settings - Fork 24
Rasterlite2 rasterlite2 4.3.0.mk
Mark Johnson edited this page Mar 8, 2018
·
3 revisions
The source code used here is based of the development version extracted on
- 2015-06-07
20150607.librasterlite2.tar.gz
- 17.0 MB
- used in project make file
Android_R4.3.0.mk
- make file
rasterlite2-4.3.0.mk
- reference in project make file
jsqlite-R4.2.0.mk
- reference in project make file
- make file
-
rasterlite2-4.3.0.mk
-
dependent on:
sqlite-3081002.mk
-
libgeotiff-1.4.0.mk
- which is depends on
giflib-5.0.6.mk
-
cairo-1.12.14.mk
- code changes
pixman-0.32.4.mk
libpng-1.6.10.mk
-
libwebp-0.4.0.mk
- code changes
-
libxml2-2.9.1.mk
libcurl-7.36.0.mk
lzma-xz-5.1.3a.mk
-
dependent on:
flags settings
# comment out TARGET_CPU in config.h - will be replaced with TARGET_ARCH_ABI
spatialite_flags := \
-DOMIT_FREEXL \
-DTARGET_CPU=\"$(TARGET_ARCH_ABI)\" \
-Dfdatasync=fsync \
-DSQLITE_ENABLE_RTREE=1 \
-DSQLITE_OMIT_BUILTIN_TEST=1
# comment out TARGET_CPU in config.h - will be replaced with TARGET_ARCH_ABI
rasterlite2_flags := \
-DTARGET_CPU=\"$(TARGET_ARCH_ABI)\" \
-O
Note:
- when compiled,
rasterlite2.c
receives the following errors:
/tmp/ccBXOaPj.s: Assembler messages:
/tmp/ccBXOaPj.s:254: Error: branch out of range
-
to resolve this it must be compiled
- without
-g
and-O
added (which overrides -g):-
rasterlite2_flags := -O
inrasterlite2-4.3.0.mk
-
- without
-
with
ndk-build V=1
- you can see where flags for compiling are being used
- the
-g
comes first (from the originalMakefile
of the project) -
-O
comes later, overriding-g
- the
- you can see where flags for compiling are being used
2015-06-07: Mark Johnson, Berlin Germany