gcc has been installed,as follows:
~/caffe-android-lib$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ubuntu16 , cmake version 3.5.1, android-ndk-r13b
make[1]: Entering directory '/home/yg_dl/caffe-android-lib/snappy' /bin/bash ./libtool --tag=CXX --mode=compile -DHAVE_CONFIG_H -I. -g -O2 -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c -o snappy.lo snappy.cc /bin/bash ./libtool --tag=CXX --mode=compile -DHAVE_CONFIG_H -I. -g -O2 -MT snappy-sinksource.lo -MD -MP -MF .deps/snappy-sinksource.Tpo -c -o snappy-sinksource.lo snappy-sinksource.cc /bin/bash ./libtool --tag=CXX --mode=compile -DHAVE_CONFIG_H -I. -g -O2 -MT snappy-stubs-internal.lo -MD -MP -MF .deps/snappy-stubs-internal.Tpo -c -o snappy-stubs-internal.lo snappy-stubs-internal.cc /bin/bash ./libtool --tag=CXX --mode=compile -DHAVE_CONFIG_H -I. -g -O2 -MT snappy-c.lo -MD -MP -MF .deps/snappy-c.Tpo -c -o snappy-c.lo snappy-c.cc Usage: /home/yg_dl/caffe-android-lib/snappy/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. Usage: /home/yg_dl/caffe-android-lib/snappy/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. Usage: /home/yg_dl/caffe-android-lib/snappy/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. Usage: /home/yg_dl/caffe-android-lib/snappy/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. libtool: error: unrecognised option: '-DHAVE_CONFIG_H' libtool: error: unrecognised option: '-DHAVE_CONFIG_H' Makefile:725: recipe for target 'snappy-sinksource.lo' failed make[1]: [snappy-sinksource.lo] Error 1 make[1]: 正在等待未完成的任务.... Makefile:725: recipe for target 'snappy.lo' failed make[1]: [snappy.lo] Error 1 libtool: error: unrecognised option: '-DHAVE_CONFIG_H' Makefile:725: recipe for target 'snappy-stubs-internal.lo' failed libtool: error: unrecognised option: '-DHAVE_CONFIG_H' make[1]: [snappy-stubs-internal.lo] Error 1 Makefile:725: recipe for target 'snappy-c.lo' failed make[1]: [snappy-c.lo] Error 1 make[1]: Leaving directory '/home/yg_dl/caffe-android-lib/snappy' Makefile:589: recipe for target 'all' failed make: [all] Error 2
gcc has been installed,as follows: ~/caffe-android-lib$ gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.