본문 바로가기

Eureka/Android

[Solution] Android make Error "make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libswconverter_intermediates/csc_ARGB8888_to_YUV420SP_NEON.o] Error 1"

device/samsung/exynos4/libswconverter/csc_ARGB8888_to_YUV420SP_NEON.s: Assembler messages:
device/samsung/exynos4/libswconverter/csc_ARGB8888_to_YUV420SP_NEON.s:42: Error: selected FPU does not support instruction -- `vmov.u16 q6,#66'
device/samsung/exynos4/libswconverter/csc_ARGB8888_to_YUV420SP_NEON.s:43: Error: selected FPU does not support instruction -- `vmov.u16 q7,#129'
(생략)
device/samsung/exynos4/libswconverter/csc_ARGB8888_to_YUV420SP_NEON.s:178: Error: selected processor does not support ARM mode `vshr.u16 q0,q0,#8'
device/samsung/exynos4/libswconverter/csc_ARGB8888_to_YUV420SP_NEON.s:180: Error: selected processor does not support ARM mode `vtrn.8 q7,q0'
target thumb C: libtomcrypt <= external/dropbear/libtomcrypt/src/ciphers/aes/aes.c
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libswconverter_intermediates/csc_ARGB8888_to_YUV420SP_NEON.o] Error 1

위와 같은 에러가 발생한다면 make 옵션에 -mfpu neon를 붙여주면 된다. (혹은 CFLAG += -mfpu=neon)