android compiled on Mac OS issue
#1
Hey folks, been trying to troubleshoot builds for Android on MacOS

Failing out with this error while making depends/target/zlib

Quote:/Library/Developer/CommandLineTools/usr/bin/make -C zlib
/Library/Developer/CommandLineTools/usr/bin/make -C arm-linux-androideabi-android-21-debug
/usr/bin/libtool -o libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: adler32.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: crc32.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: deflate.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: infback.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: inffast.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: inflate.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: inftrees.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: trees.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: zutil.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: compress.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: uncompr.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: gzclose.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: gzlib.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: gzread.o is not an object file (not allowed in a library)
error: /Library/Developer/CommandLineTools/usr/bin/libtool: file: gzwrite.o is not an object file (not allowed in a library)
make[2]: *** [libz.a] Error 1
make[1]: *** [arm-linux-androideabi-android-21-debug/zlib.a] Error 2
make: *** [zlib] Error 2

I noticed the configure file for zlib hardcoded AR to /usr/bin/libtool

Is this a mistake, shouldn't I use the libtool in my toolchain?

Thanks,
Reply


Messages In This Thread
android compiled on Mac OS issue - by kraka40 - 2017-04-23, 16:08
android compiled on Mac OS issue - by Memphiz - 2017-04-27, 08:12
android compiled on Mac OS issue - by Memphiz - 2017-04-28, 07:46
android compiled on Mac OS issue - by Memphiz - 2017-04-29, 09:41
android compiled on Mac OS issue - by Memphiz - 2017-04-29, 09:42
android compiled on Mac OS issue - by kraka40 - 2017-04-29, 14:01
android compiled on Mac OS issue - by Memphiz - 2017-05-02, 08:02
android compiled on Mac OS issue - by Memphiz - 2017-05-03, 07:55
android compiled on Mac OS issue - by Memphiz - 2017-05-04, 10:22
Logout Mark Read Team Forum Stats Members Help
android compiled on Mac OS issue0