[Android] aom compile failed

Diego Fernando Nieto diegofn at me.com
Sun Oct 21 01:36:43 CEST 2018


Hello everyone,

Since two weeks ago, I tried to compile the VLC for armv7 but I get the following error while compile the contrib tree.
https://pastebin.com/wM6WxPwK

As you can see, the aom scripts does not detect armv7 platform, however I change the rules.mak to force it, and again I receive this error.

diff --git a/contrib/src/aom/rules.mak b/contrib/src/aom/rules.mak
index d5c18b52d9..f846ed003b 100644
--- a/contrib/src/aom/rules.mak
+++ b/contrib/src/aom/rules.mak
@@ -45,7 +45,6 @@ ifndef HAVE_WIN32
 AOM_CONF += -DCONFIG_PIC=1
 endif
 
-ifdef HAVE_WIN32
 ifneq ($(filter arm aarch64, $(ARCH)),)
 # These targets don't have runtime cpu detection.
 AOM_CONF += -DCONFIG_RUNTIME_CPU_DETECT=0
@@ -53,8 +52,7 @@ endif
 ifeq ($(ARCH),arm)
 # armv7, not just plain arm
 AOM_CONF += -DAOM_TARGET_CPU=armv7
-AOM_CONF += -DAOM_ADS2GAS_REQUIRED=1 -DAOM_ADS2GAS=../build/make/ads2gas.pl -DAOM_ADS2GAS_OPTS="-thumb;-noelf" -DAOM_GAS_EXT=S
-endif
+AOM_CONF += -DAOM_ADS2GAS_REQUIRED=1 -DAOM_ADS2GAS=../build/make/ads2gas.pl -DAOM_ADS2GAS_OPTS="-thumb;-noelf" -DAOM_GAS_EXT=S -DHAVE_NEON=1
 endif
 
 ifdef HAVE_IOS

Can anyone help me with this issue?

Thanks for all and I am happy to be contact with you again.

Best regards


Diego Fernando Nieto
@diegofn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181020/10e9a3c1/attachment.html>


More information about the vlc-devel mailing list