我有一个简单的项目:
https://github.com/spesmilo/obelisk
出于某种原因'make install'导致我的整个项目每次都重建。此外,似乎目标文件正在构建两次。我不明白为什么。
'make'本身就很好。
完整输出:http://pastebin.com/gvwi2bkN
~/obelisk> make; make; make install
Making all in include/obelisk
make[1]: Entering directory `/home/genjix/obelisk/include/obelisk'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/genjix/obelisk/include/obelisk'
Making all in src
make[1]: Entering directory `/home/genjix/obelisk/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/genjix/obelisk/src'
make[1]: Entering directory `/home/genjix/obelisk'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/genjix/obelisk'
Making all in include/obelisk
make[1]: Entering directory `/home/genjix/obelisk/include/obelisk'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/genjix/obelisk/include/obelisk'
Making all in src
make[1]: Entering directory `/home/genjix/obelisk/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/genjix/obelisk/src'
make[1]: Entering directory `/home/genjix/obelisk'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/genjix/obelisk'
Making install in include/obelisk
make[1]: Entering directory `/home/genjix/obelisk/include/obelisk'
make[2]: Entering directory `/home/genjix/obelisk/include/obelisk'
make[2]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/home/genjix/usr/include/obelisk/client'
/usr/bin/install -c -m 644 client/backend.hpp client/interface.hpp client/blockchain.hpp client/transaction_pool.hpp '/home/genjix/usr/include/obelisk/client'
/bin/mkdir -p '/home/genjix/usr/include/obelisk'
/usr/bin/install -c -m 644 message.hpp zmq_message.hpp '/home/genjix/usr/include/obelisk'
make[2]: Leaving directory `/home/genjix/obelisk/include/obelisk'
make[1]: Leaving directory `/home/genjix/obelisk/include/obelisk'
Making install in src
make[1]: Entering directory `/home/genjix/obelisk/src'
depbase=`echo message.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"obelisk\ 0.1\" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT message.lo -MD -MP -MF $depbase.Tpo -c -o message.lo message.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT message.lo -MD -MP -MF .deps/message.Tpo -c message.cpp -fPIC -DPIC -o .libs/message.o
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT message.lo -MD -MP -MF .deps/message.Tpo -c message.cpp -o message.o >/dev/null 2>&1
depbase=`echo zmq_message.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"obelisk\ 0.1\" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT zmq_message.lo -MD -MP -MF $depbase.Tpo -c -o zmq_message.lo zmq_message.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT zmq_message.lo -MD -MP -MF .deps/zmq_message.Tpo -c zmq_message.cpp -fPIC -DPIC -o .libs/zmq_message.o
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT zmq_message.lo -MD -MP -MF .deps/zmq_message.Tpo -c zmq_message.cpp -o zmq_message.o >/dev/null 2>&1
depbase=`echo client/backend.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"obelisk\ 0.1\" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/backend.lo -MD -MP -MF $depbase.Tpo -c -o client/backend.lo client/backend.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/backend.lo -MD -MP -MF client/.deps/backend.Tpo -c client/backend.cpp -fPIC -DPIC -o client/.libs/backend.o
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/backend.lo -MD -MP -MF client/.deps/backend.Tpo -c client/backend.cpp -o client/backend.o >/dev/null 2>&1
depbase=`echo client/interface/interface.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"obelisk\ 0.1\" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/interface.lo -MD -MP -MF $depbase.Tpo -c -o client/interface/interface.lo client/interface/interface.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/interface.lo -MD -MP -MF client/interface/.deps/interface.Tpo -c client/interface/interface.cpp -fPIC -DPIC -o client/interface/.libs/interface.o
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/interface.lo -MD -MP -MF client/interface/.deps/interface.Tpo -c client/interface/interface.cpp -o client/interface/interface.o >/dev/null 2>&1
depbase=`echo client/interface/fetch_history.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"obelisk\ 0.1\" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/fetch_history.lo -MD -MP -MF $depbase.Tpo -c -o client/interface/fetch_history.lo client/interface/fetch_history.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/fetch_history.lo -MD -MP -MF client/interface/.deps/fetch_history.Tpo -c client/interface/fetch_history.cpp -fPIC -DPIC -o client/interface/.libs/fetch_history.o
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/fetch_history.lo -MD -MP -MF client/interface/.deps/fetch_history.Tpo -c client/interface/fetch_history.cpp -o client/interface/fetch_history.o >/dev/null 2>&1
depbase=`echo client/interface/blockchain.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"obelisk\ 0.1\" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/blockchain.lo -MD -MP -MF $depbase.Tpo -c -o client/interface/blockchain.lo client/interface/blockchain.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/blockchain.lo -MD -MP -MF client/interface/.deps/blockchain.Tpo -c client/interface/blockchain.cpp -fPIC -DPIC -o client/interface/.libs/blockchain.o
libtool: compile: g++ -DPACKAGE_NAME=\"obelisk\" -DPACKAGE_TARNAME=\"obelisk\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"obelisk 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"obelisk\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -I. -std=c++11 -DLEVELDB_ENABLED -I/home/genjix/usr/include -I./../include -DSYSCONFDIR=\"/home/genjix/usr/etc\" -g -O2 -std=c++11 -MT client/interface/blockchain.lo -MD -MP -MF client/interface/.deps/blockchain.Tpo -c client/interface/blockchain.cpp -o client/interface/blockchain.o >/dev/null 2>&1
depbase=`echo client/interface/transaction_pool.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
答案 0 :(得分:1)
欢迎使用Stack Overflow!
当我使用recursive makefiles时,我曾经遇到过这些问题。转向非递归make系统解决了这些问题。您为该项目构建的系统并不复杂。您可能会找到更具体的建议(和其他可能的解决方案)here如何去做。
答案 1 :(得分:0)
您是否在命令make
中两次~/obelisk> make; make; make install
?
make
比较时间戳并仅构建需要重建的文件。很常见的是all
依赖于install
,我的意思是install: all
,但是如果目标已经构建,则不会再次构建它们。