kalli123 / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

Link error when building libvpx on MacOS for Android x86 #798

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to build the latest libWebM on MacOS for Android x86. I follow the 
instructions in 
http://git.chromium.org/gitweb/?p=webm/bindings.git;a=blob;f=JNI/README.Android,
 with arm replaced by x86.

The libvpx is configured as: --force-target=x86-android-gcc --disable-ssse3 
--disable-sse4_1 --disable-avx2 --disable-examples 
--sdk-path=/Downloads/android-ndk-r9d/

But I got a bunch of linking errors as shown below, The entire build log is 
attached.

/Volumes/DATA/mac/depot/webm/jni/vp8_rtcd.h:478: error: undefined reference to 
'vp8_bilinear_predict16x16_sse2'
/Volumes/DATA/mac/depot/webm/jni/vp8_rtcd.h:480: error: undefined reference to 
'vp8_bilinear_predict4x4_mmx'
/Volumes/DATA/mac/depot/webm/jni/libvpx/vp8/common/x86/idct_blk_mmx.c:23: 
error: undefined reference to 'vp8_dequantize_b_impl_mmx'
/Volumes/DATA/mac/depot/webm/jni/libvpx/vp8/common/x86/idct_blk_mmx.c:35: 
error: undefined reference to 'vp8_dequant_idct_add_mmx'

Original issue reported on code.google.com by wan...@gmail.com on 2 Jun 2014 at 1:57

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by fgalli...@google.com on 4 Jun 2014 at 5:41

GoogleCodeExporter commented 9 years ago
This error is strange:
Android NDK: WARNING: Unsupported source file extensions in 
/Volumes/DATA/mac/depot/webm/jni/libvpx/build/make/Android.mk for module vpx    

The NDK added support for yasm only very recently. I'm trying to reproduce your 
issue now. Can you confirm what checkout of libvpx you are using?

Original comment by johannkoenig@google.com on 10 Jul 2014 at 6:02

GoogleCodeExporter commented 9 years ago
The git remote is http://git.chromium.org/webm/libvpx.git and below is the
last commit info:

commit c40a968e1314fc3c1711c5a609dd114e0b8e56b2

Merge: 5132e6d 0b44988

Author: Frank Galligan <fgalligan@google.com>

Date:   Sun Jun 1 16:58:11 2014 -0700

    Merge "Revert "Remove Wextra warnings from vp9_sad.c""

Original comment by wan...@gmail.com on 11 Jul 2014 at 12:02

GoogleCodeExporter commented 9 years ago

Original comment by johannkoenig@google.com on 6 Nov 2014 at 1:01