Last active
June 26, 2018 15:49
-
-
Save tanersener/4f937d49ea4c3712a8dc4a85b3e37762 to your computer and use it in GitHub Desktop.
Android cross-compile failure for libnsl library from https://github.com/thkukuk/libnsl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Building https://github.com/thkukuk/libnsl/archive/v1.2.0.tar.gz | |
| ./configure | |
| --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libnsl | |
| --with-pic | |
| --with-sysroot=/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot | |
| --enable-static | |
| --disable-shared | |
| --disable-fast-install | |
| --without-libintl-prefix | |
| --host=arm-linux-androideabi | |
| libtool: compile: arm-linux-androideabi-clang -DHAVE_CONFIG_H -I. -I.. -I. -DLOCALEDIR=\"/Users/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libnsl/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENTRANT=1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -std=c99 -Wno-unused-function -fstrict-aliasing -fPIC -DANDROID -D__ANDROID_API__=21 -Os -I/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include -I/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/local/include -MT ypprot_err.lo -MD -MP -MF .deps/ypprot_err.Tpo -c ypprot_err.c -fPIC -DPIC -o ypprot_err.o | |
| ... | |
| ... | |
| ... | |
| In file included from ypprot_err.c:22: | |
| ./rpcsvc/yp_prot.h:10:10: fatal error: 'rpc/rpc.h' file not found | |
| #include <rpc/rpc.h> | |
| ^~~~~~~~~~~ | |
| 1 error generated. | |
| yp_xdr.c:41:yp_master.c10:21:10: fatal error: 'rpc/clnt.h' file not found | |
| : fatal error: #include <rpc/clnt.h> | |
| ^~~~~~~~~~~~ | |
| 'rpc/types.h' file not found | |
| #include <rpc/types.h> | |
| ^~~~~~~~~~~~~ | |
| do_ypcall.c:22:10: fatal error: 'libintl.h' file not found | |
| #include <libintl.h> | |
| ^~~~~~~~~~~ | |
| 1 error generated. | |
| 1 error generated. | |
| make[2]: *** [ypprot_err.lo] Error 1 | |
| make[2]: *** Waiting for unfinished jobs.... | |
| make[2]: *** [yp_master.lo] Error 1 | |
| make[2]: *** [yp_xdr.lo] Error 1 | |
| 1 error generated. | |
| make[2]: *** [do_ypcall.lo] Error 1 | |
| make[1]: *** [all-recursive] Error 1 | |
| make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment