You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/piceadev/android/GDAL/gdal% ./../submodules/install.sh ~/piceadev/android/sdk/ndk-bundle 24 2>&1 | tee install.log install.log
See below for summary of errors. I tried symlinking /usr/include/rpc into /usr/include/ogdi, which solved the rpc/rpc.h not found error, but then there were a bunch of unknown type errors: quad_t, u_quad_t
% uname -a Linux hostname 5.4.0-53-generic #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Results in the following errors:
~/piceadev/android/GDAL/gdal% grep error: install.log
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
libtool: error: 'lib*jni.la' is not a valid libtool archive
clang: error: no such file or directory: './.libs/libproj.so'
clang: error: no such file or directory: './.libs/libproj.so'
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
libtool: error: 'lib*jni.la' is not a valid libtool archive
clang: error: no such file or directory: './.libs/libproj.so'
clang: error: no such file or directory: './.libs/libproj.so'
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
libtool: error: 'lib*jni.la' is not a valid libtool archive
clang: error: no such file or directory: './.libs/libproj.so'
clang: error: no such file or directory: './.libs/libproj.so'
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
/usr/include/ogdi/ecs.h:9:10: fatal error: 'rpc/rpc.h' file not found
libtool: error: 'lib*jni.la' is not a valid libtool archive
clang: error: no such file or directory: './.libs/libproj.so'
clang: error: no such file or directory: './.libs/libproj.so'
After digging deeper, it looks as is rpc.h is not part of the NDK's version of libc6, and the install.sh script doesn't explicitly look for it in /usr/include/rpc or /usr/include/tirpc/rpc. If the script is modified to set those as explicit includes for OGDI, it errors out with the unknown type errors. Those types are specified in rpc/types.h, but only on Apple or FreeBSD architecture.
~/piceadev/android/GDAL/gdal% ./../submodules/install.sh ~/piceadev/android/sdk/ndk-bundle 24 2>&1 | tee install.log
install.log
See below for summary of errors. I tried symlinking /usr/include/rpc into /usr/include/ogdi, which solved the rpc/rpc.h not found error, but then there were a bunch of unknown type errors: quad_t, u_quad_t
% uname -a Linux hostname 5.4.0-53-generic #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Results in the following errors:
With lines of context:
The text was updated successfully, but these errors were encountered: