android x86
Andoni Morales
ylatuya at gmail.com
Mon Feb 10 04:52:17 PST 2014
2014-02-10 8:39 GMT+01:00 Jacob S <jacobhameiri at gmail.com>:
> HI, I am trying to build gstreamer 1.2 for android-x86 and cerbero failes
> on:
>
> mpi-inline.h:125: error: undefined reference to '_gcry_mpih_sub_n'
> mpi-add.c:133: error: undefined reference to '_gcry_mpih_sub_n'
> mpi-inline.h:79: error: undefined reference to '_gcry_mpih_add_n'
> mpi-add.c:140: error: undefined reference to '_gcry_mpih_sub_n'
> mpi-bit.c:320: error: undefined reference to '_gcry_mpih_rshift'
> mpi-div.c:223: error: undefined reference to '_gcry_mpih_lshift'
> mpi-div.c:229: error: undefined reference to '_gcry_mpih_lshift'
> mpi-div.c:274: error: undefined reference to '_gcry_mpih_rshift'
> mpi-div.c:308: error: undefined reference to '_gcry_mpih_rshift'
> mpi-mul.c:55: error: undefined reference to '_gcry_mpih_mul_1'
> mpi-mul.c:90: error: undefined reference to '_gcry_mpih_lshift'
> mpi-pow.c:475: error: undefined reference to '_gcry_mpih_lshift'
> mpi-pow.c:760: error: undefined reference to '_gcry_mpih_rshift'
> mpi-inline.h:125: error: undefined reference to '_gcry_mpih_sub_n'
> mpih-div.c:366: error: undefined reference to '_gcry_mpih_submul_1'
> mpih-div.c:369: error: undefined reference to '_gcry_mpih_add_n'
> mpih-mul.c:91: error: undefined reference to '_gcry_mpih_mul_1'
> mpih-mul.c:103: error: undefined reference to '_gcry_mpih_add_n'
> mpih-mul.c:106: error: undefined reference to '_gcry_mpih_addmul_1'
> mpih-mul.c:135: error: undefined reference to '_gcry_mpih_addmul_1'
> mpih-mul.c:137: error: undefined reference to '_gcry_mpih_addmul_1'
> mpih-mul.c:194: error: undefined reference to '_gcry_mpih_add_n'
> mpih-mul.c:501: error: undefined reference to '_gcry_mpih_mul_1'
> mpih-mul.c:516: error: undefined reference to '_gcry_mpih_addmul_1'
> collect2: error: ld returned 1 exit status
> make[2]: *** [libgcrypt.la] Error 1
> make[2]: Leaving directory
> `/home/gstbuilder/cerbero/sources/android_x86/libgcrypt-1.6.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/gstbuilder/cerbero/sources/android_x86/libgcrypt-1.6.0'
> make: *** [all] Error 2
> Running command 'make'
>
> I chose to skip recipe, and it failed again on:
>
>
> [(48/69) librtmp -> fetch ]
> -----> Fetching tarball
> http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz to
> /home/gstbuilder/cerbero/sources/local/librtmp-2.3/rtmpdump-2.3.tgz
> [(48/69) librtmp -> extract ]
> -----> Extracting tarball to
> /home/gstbuilder/cerbero/sources/android_x86/librtmp-2.3
> Unpacking
> /home/gstbuilder/cerbero/sources/local/librtmp-2.3/rtmpdump-2.3.tgz in
> /home/gstbuilder/cerbero/sources/android_x86
> [(48/69) librtmp -> configure ]
> [(48/69) librtmp -> compile ]
> i686-linux-android-gcc -fuse-ld=gold -Wall -g -Os
> --sysroot=/home/gstbuilder/cerbero/android-ndk-r9/platforms/android-9/arch-x86
> -I/home/gstbuilder/cerbero/android-ndk-r9/platforms/android-9/arch-x86/usr/include
> -ffunction-sections -funwind-tables -fstack-protector
> -no-canonical-prefixes -fPIC -march=i686 -fomit-frame-pointer
> -fstrict-aliasing -funswitch-loops -finline-limit=300 -DANDROID -DPIC
> -Wa,--noexecstack -fPIC -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_GNUTLS
> --sysroot=/home/gstbuilder/cerbero/android-ndk-r9/platforms/android-9/arch-x86
> -I/home/gstbuilder/cerbero/android-ndk-r9/platforms/android-9/arch-x86/usr/include
> -DANDROID -DPIC -c -o rtmp.o rtmp.c
> In file included from rtmp.c:126:0:
> handshake.h:46:20: fatal error: gcrypt.h: No such file or directory
> #include <gcrypt.h>
> ^
> compilation terminated.
> make: *** [rtmp.o] Error 1
> Running command 'make SYS=posix prefix=$CERBERO_PREFIX CRYPTO=GNUTLS'
>
> after skipping again the build continues ok.
> Any idea whats wrong ? how to fix ?
>
Hi,
You are probably the first one that tries to build for Android x86 in a
long time, I am actually surprised that everything else compiled correctly
:)
The error in librtmp is expected, since it depends in libgcrypt and it was
not built, so we need to figure out why libgcrypt is failing for Android
X86.
Could you please open a new bug report for this issue?
Cheers,
Andoni
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140210/630b254e/attachment.html>
More information about the gstreamer-devel
mailing list