Recipe 'libpng' failed at the build step 'compile'

ran.attias ranatias at gmail.com
Mon Apr 27 23:48:27 UTC 2020


Hi all,

I'm straggling to go pass cross compilation fro androind. 
I run on ubutu 16.04 with latest version:
https://gitlab.freedesktop.org/gstreamer/cerbero
Yes I'm getting next error:

===============================================

In file included from pngerror.c:19:
./pngpriv.h:920:4: error: ZLIB_VERNUM != PNG_ZLIB_VERNUM       "-I (include
path) error: see the notes in pngpriv.h"
#  error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
   ^
1 error generated.
Makefile:1212: recipe for target 'pngerror.lo' failed
make[1]: *** [pngerror.lo] Error 1
libtool: compile: 
/home/ra/temp_ran/cerbero/build/android-ndk-21/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-target x86_64-none-linux-android --sysroot
/home/ra/temp_ran/cerbero/build/android-ndk-21/platforms/android-21/arch-x86_64
-DHAVE_CONFIG_H -I. -DANDROID -DPIC -D__ANDROID_API__=21 -Wall -g -Os
-target x86_64-none-linux-android --sysroot
/home/ra/temp_ran/cerbero/build/android-ndk-21/platforms/android-21/arch-x86_64
-gcc-toolchain
/home/ra/temp_ran/cerbero/build/android-ndk-21/toolchains/x86_64-4.9/prebuilt/linux-x86_64
-isysroot /home/ra/temp_ran/cerbero/build/android-ndk-21/sysroot -isystem
/home/ra/temp_ran/cerbero/build/dist/android_universal/x86_64/include
-isystem /home/ra/temp_ran/cerbero/build/android-ndk-21/sysroot/usr/include
-isystem
/home/ra/temp_ran/cerbero/build/android-ndk-21/sysroot/usr/include/x86_64-linux-android
-fno-integrated-as -ffunction-sections -funwind-tables
-fstack-protector-strong -no-canonical-prefixes -fPIC
-Wno-invalid-command-line-argument -Wno-unused-command-line-argument
-DANDROID -DPIC -D__ANDROID_API__=21 -Wa,--noexecstack -Wall -g -Os -MT
pngget.lo -MD -MP -MF .deps/pngget.Tpo -c pngget.c  -fPIC -DPIC -o
.libs/pngget.o
In file included from pngget.c:15:
./pngpriv.h:920:4: error: ZLIB_VERNUM != PNG_ZLIB_VERNUM       "-I (include
path) error: see the notes in pngpriv.h"
#  error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
   ^
1 error generated.
Makefile:1212: recipe for target 'pngget.lo' failed
make[1]: *** [pngget.lo] Error 1
make[1]: Leaving directory
'/home/ra/temp_ran/cerbero/build/sources/android_universal/x86_64/libpng-1.6.37'
Makefile:820: recipe for target 'all' failed
make: *** [all] Error 2


Recipe 'libpng' failed at the build step 'compile'
Command Error: Running ['make', 'V=1', '-j4'] returned 2

============================

Can someone please advise?

Thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list