Created
June 26, 2018 16:03
-
-
Save tanersener/308d4cc5c28f44251036a8c5534d94e4 to your computer and use it in GitHub Desktop.
Android cross-compile failure for libtirpc library from https://sourceforge.net/projects/libtirpc
This file contains 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://sourceforge.net/projects/libtirpc/files/libtirpc/1.0.3/libtirpc-1.0.3.tar.bz2 | |
./configure | |
--prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libtirpc | |
--with-pic | |
--with-sysroot=/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot | |
--enable-static | |
--disable-shared | |
--disable-fast-install | |
--disable-gssapi | |
--host=arm-linux-androideabi | |
... | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive | |
Making all in src | |
CC libtirpc_la-auth_none.lo | |
CC libtirpc_la-auth_unix.lo | |
CC libtirpc_la-authunix_prot.lo | |
CC libtirpc_la-binddynport.lo | |
In file included from authunix_prot.c:39: | |
../tirpc/rpc/types.h:75:9: error: unknown type name '__u_char'; did you mean 'u_char'? | |
typedef __u_char u_char; | |
^~~~~~~~ | |
u_char | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:135:24: note: 'u_char' declared here | |
typedef unsigned char u_char; | |
^ | |
In file included from authunix_prot.c:39: | |
../tirpc/rpc/types.h:76:9: error: unknown type name '__u_short'; did you mean 'u_short'? | |
typedef __u_short u_short; | |
^~~~~~~~~ | |
u_short | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:136:24: note: 'u_short' declared here | |
typedef unsigned short u_short; | |
^ | |
In file included from authunix_prot.c:39: | |
../tirpc/rpc/types.h:77:9: error: unknown type name '__u_int'; did you mean 'u_int'? | |
typedef __u_int u_int; | |
^~~~~~~ | |
u_int | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:137:24: note: 'u_int' declared here | |
typedef unsigned int u_int; | |
^ | |
In file included from authunix_prot.c:39: | |
../tirpc/rpc/types.h:78:9: error: unknown type name '__u_long'; did you mean 'u_long'? | |
typedef __u_long u_long; | |
^~~~~~~~ | |
u_long | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:138:24: note: 'u_long' declared here | |
typedef unsigned long u_long; | |
^ | |
In file included from authunix_prot.c:39: | |
../tirpc/rpc/types.h:79:9: error: unknown type name '__quad_t'; did you mean '__uid_t'? | |
typedef __quad_t quad_t; | |
^~~~~~~~ | |
__uid_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:44:26: note: '__uid_t' declared here | |
typedef __kernel_uid32_t __uid_t; | |
^ | |
In file included from authunix_prot.c:39: | |
../tirpc/rpc/types.h:80:9: error: unknown type name '__u_quad_t' | |
typedef __u_quad_t u_quad_t; | |
^ | |
../tirpc/rpc/types.h:81:9: error: unknown type name '__fsid_t' | |
typedef __fsid_t fsid_t; | |
^ | |
../tirpc/rpc/types.h:85:9: error: unknown type name '__daddr_t'; did you mean 'daddr_t'? | |
typedef __daddr_t daddr_t; | |
^~~~~~~~~ | |
daddr_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:59:26: note: 'daddr_t' declared here | |
typedef __kernel_daddr_t daddr_t; | |
^ | |
In file included from authunix_prot.c:39: | |
../tirpc/rpc/types.h:86:9: error: unknown type name '__caddr_t'; did you mean 'caddr_t'? | |
typedef __caddr_t caddr_t; | |
^~~~~~~~~ | |
caddr_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:53:26: note: 'caddr_t' declared here | |
typedef __kernel_caddr_t caddr_t; | |
^ | |
In file included from auth_none.c:49: | |
../tirpc/rpc/types.h:75:9: error: unknown type name '__u_char'; did you mean 'u_char'? | |
typedef __u_char u_char; | |
^~~~~~~~ | |
u_char | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:135:24: note: 'u_char' declared here | |
typedef unsigned char u_char; | |
^ | |
In file included from auth_none.c:49: | |
../tirpc/rpc/types.h:76:9: error: unknown type name '__u_short'; did you mean 'u_short'? | |
typedef __u_short u_short; | |
^~~~~~~~~ | |
u_short | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:136:24: note: 'u_short' declared here | |
typedef unsigned short u_short; | |
^ | |
In file included from auth_none.c:49: | |
../tirpc/rpc/types.h:77:9: error: unknown type name '__u_int'; did you mean 'u_int'? | |
typedef __u_int u_int; | |
^~~~~~~ | |
u_int | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:137:24: note: 'u_int' declared here | |
typedef unsigned int u_int; | |
^ | |
In file included from auth_none.c:49: | |
../tirpc/rpc/types.h:78:9: error: unknown type name '__u_long'; did you mean 'u_long'? | |
typedef __u_long u_long; | |
^~~~~~~~ | |
u_long | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:138:24: note: 'u_long' declared here | |
typedef unsigned long u_long; | |
^ | |
In file included from auth_none.c:49: | |
../tirpc/rpc/types.h:79:9: error: unknown type name '__quad_t'; did you mean '__uid_t'? | |
typedef __quad_t quad_t; | |
^~~~~~~~ | |
__uid_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:44:26: note: '__uid_t' declared here | |
typedef __kernel_uid32_t __uid_t; | |
^ | |
In file included from auth_none.c:49: | |
../tirpc/rpc/types.h:80:9: error: unknown type name '__u_quad_t' | |
typedef __u_quad_t u_quad_t; | |
^ | |
../tirpc/rpc/types.h:81:9: error: unknown type name '__fsid_t' | |
typedef __fsid_t fsid_t; | |
^ | |
../tirpc/rpc/types.h:85:9: error: unknown type name '__daddr_t'; did you mean 'daddr_t'? | |
typedef __daddr_t daddr_t; | |
^~~~~~~~~ | |
daddr_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:59:26: note: 'daddr_t' declared here | |
typedef __kernel_daddr_t daddr_t; | |
^ | |
In file included from binddynport.c:41: | |
In file included from ../tirpc/rpc/rpc.h:38: | |
../tirpc/rpc/types.h:In file included from 75:auth_none.c:49: | |
../tirpc/rpc/types.h:86:9: error: unknown type name '__caddr_t'; did you mean 'caddr_t'? | |
9: error: unknown type name '__u_char'; did you mean 'u_char'? | |
typedef __caddr_t caddr_t; | |
^~~~~~~~~ | |
typedef __u_char u_char; | |
^~~~~~~~ | |
u_char | |
caddr_t/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h: | |
135:/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h24:: note: 53:'u_char' declared here | |
26:typedef unsigned char u_char; | |
^ note: 'caddr_t' declared here | |
typedef __kernel_caddr_t caddr_t; | |
^ | |
In file included from binddynport.c:41: | |
In file included from ../tirpc/rpc/rpc.h:38: | |
../tirpc/rpc/types.h:76:9: error: unknown type name '__u_short'; did you mean 'u_short'? | |
typedef __u_short u_short; | |
^~~~~~~~~ | |
u_short | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:136:24: note: 'u_short' declared here | |
typedef unsigned short u_short; | |
^ | |
In file included from binddynport.c:41: | |
In file included from ../tirpc/rpc/rpc.h:38: | |
../tirpc/rpc/types.h:77:9: error: unknown type name '__u_int'; did you mean 'u_int'? | |
typedef __u_int u_int; | |
^~~~~~~ | |
u_int | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:137:24: note: 'u_int' declared here | |
In file included from auth_unix.c:53: | |
In file included from typedef unsigned int u_int; | |
^ | |
../tirpc/rpc/clnt.h:43: | |
In file included from ../tirpc/rpc/auth.h:49: | |
In file included from ../tirpc/rpc/xdr.h:46: | |
../tirpc/rpc/types.h:75:9: error: unknown type name '__u_char'; did you mean 'u_char'? | |
typedef __u_char u_char; | |
^~~~~~~~ | |
u_char | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:135:24: note: 'u_char' declared here | |
typedef unsigned char u_char; | |
^ | |
In file included from binddynport.c:41: | |
In file included from ../tirpc/rpc/rpc.h:38: | |
../tirpc/rpc/types.h:78:9: error: unknown type name '__u_long'; did you mean 'u_long'? | |
typedef __u_long u_long; | |
^~~~~~~~ | |
u_long | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:138:24: note: 'u_long' declared here | |
typedef unsigned long u_long; | |
^ | |
9 errors generated. | |
In file included from auth_unix.c:53: | |
In file included from ../tirpc/rpc/clnt.h:43: | |
In file included from ../tirpc/rpc/auth.h:49: | |
In file included from ../tirpc/rpc/xdr.h:46: | |
../tirpc/rpc/types.h:76:9: error: unknown type name '__u_short'; did you mean 'u_short'? | |
typedef __u_short u_short; | |
^~~~~~~~~ | |
u_short | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:136:24: note: 'u_short' declared here | |
In file included from binddynport.c:41: | |
In file included from ../tirpc/rpc/rpc.h:38: | |
typedef unsigned short u_short; | |
^ | |
../tirpc/rpc/types.h:79:9: error: unknown type name '__quad_t'; did you mean '__uid_t'? | |
typedef __quad_t quad_t; | |
^~~~~~~~ | |
__uid_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:44:26: note: '__uid_t' declared here | |
typedef __kernel_uid32_t __uid_t; | |
^ | |
In file included from auth_unix.c:53: | |
In file included from ../tirpc/rpc/clnt.h:43: | |
In file included from ../tirpc/rpc/auth.h:49: | |
In file included from ../tirpc/rpc/xdr.h:46: | |
../tirpc/rpc/types.h:77:9: error: unknown type name '__u_int'; did you mean 'u_int'? | |
typedef __u_int u_int; | |
^~~~~~~ | |
u_int | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:137:In file included from binddynport.c:41: | |
In file included from ../tirpc/rpc/rpc.h:38: | |
../tirpc/rpc/types.h:80:9: error: unknown type name '__u_quad_t' | |
24typedef __u_quad_t u_quad_t; | |
^ | |
: note: 'u_int' declared here | |
typedef unsigned int u_int; | |
^ | |
../tirpc/rpc/types.h:81:9: error: unknown type name '__fsid_t' | |
typedef __fsid_t fsid_t; | |
^ | |
In file included from auth_unix.c:53: | |
In file included from ../tirpc/rpc/clnt.h:43: | |
In file included from ../tirpc/rpc/auth.h:49: | |
In file included from ../tirpc/rpc/xdr.h:46: | |
../tirpc/rpc/types.h:78:9: error: unknown type name '__u_long'; did you mean 'u_long'? | |
typedef __u_long u_long; | |
^~~~~~~~ | |
u_long | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:138:24: note: 'u_long' declared here | |
typedef unsigned long u_long; | |
^ | |
../tirpc/rpc/types.h:85:9: error: unknown type name '__daddr_t'; did you mean 'daddr_t'? | |
typedef __daddr_t daddr_t; | |
^~~~~~~~~ | |
daddr_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:59:26: note: 'daddr_t' declared hereIn file included from auth_unix.c | |
:typedef __kernel_daddr_t daddr_t; | |
^ | |
53: | |
In file included from ../tirpc/rpc/clnt.h:43: | |
In file included from ../tirpc/rpc/auth.h:49: | |
In file included from ../tirpc/rpc/xdr.h:46: | |
../tirpc/rpc/types.h:79:9: error: unknown type name '__quad_t'; did you mean '__uid_t'? | |
typedef __quad_t quad_t; | |
^~~~~~~~ | |
__uid_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:44:26: note: '__uid_t' declared here | |
typedef __kernel_uid32_t __uid_t; | |
^ | |
In file included from binddynport.c:41: | |
In file included from ../tirpc/rpc/rpc.h:38: | |
../tirpc/rpc/types.h:86:9: error: unknown type name '__caddr_t'; did you mean 'caddr_t'? | |
typedef __caddr_t caddr_t; | |
^~~~~~~~~ | |
caddr_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:53:26: note: 'caddr_t' declared here | |
typedef __kernel_caddr_t caddr_t; | |
^ | |
In file included from auth_unix.c:53: | |
In file included from ../tirpc/rpc/clnt.h:43: | |
In file included from ../tirpc/rpc/auth.h:49: | |
In file included from ../tirpc/rpc/xdr.h:46: | |
../tirpc/rpc/types.h:80:9: error: unknown type name '__u_quad_t' | |
typedef __u_quad_t u_quad_t; | |
^ | |
../tirpc/rpc/types.h:81:9: error: unknown type name '__fsid_t'9 error | |
s generated. | |
typedef __fsid_t fsid_t; | |
^ | |
../tirpc/rpc/types.h:85:9: error: unknown type name '__daddr_t'; did you mean 'daddr_t'? | |
typedef __daddr_t daddr_t; | |
^~~~~~~~~ | |
daddr_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:59:26: note: 'daddr_t' declared here | |
typedef __kernel_daddr_t daddr_t; | |
^ | |
make[2]: *** [libtirpc_la-authunix_prot.lo] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
In file included from auth_unix.c:53: | |
In file included from ../tirpc/rpc/clnt.h:43: | |
In file included from ../tirpc/rpc/auth.h:49: | |
In file included from ../tirpc/rpc/xdr.h:46: | |
../tirpc/rpc/types.h:86:9: error: unknown type name '__caddr_t'; did you mean 'caddr_t'? | |
typedef __caddr_t caddr_t; | |
^~~~~~~~~ | |
caddr_t | |
/Users/taner/Library/Android/sdk/ndk-bundle/toolchains/mobile-ffmpeg-arm/sysroot/usr/include/sys/types.h:53:26: note: 'caddr_t' declared here | |
typedef __kernel_caddr_t caddr_t; | |
^ | |
make[2]: *** [libtirpc_la-auth_none.lo] Error 1 | |
9 errors generated. | |
9 errors generated. | |
make[2]: *** [libtirpc_la-auth_unix.lo] Error 1 | |
make[2]: *** [libtirpc_la-binddynport.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