g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/ -DNDEBUG -pedantic -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -g -O2 -MT commands.lo -MD -MP -MF .deps/commands.Tpo -c commands.cpp -fPIC -DPIC -o .libs/commands.o g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/ -DNDEBUG -pedantic -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -g -O2 -MT worker.lo -MD -MP -MF .deps/worker.Tpo -c worker.cpp -fPIC -DPIC -o .libs/worker.o commands.h:31: error: using typedef-name 'boost::filesystem::path' after 'class' /usr/include/boost/filesystem/path.hpp:43: error: 'boost::filesystem::path' has a previous declaration here make[3]: *** [commands.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... commands.h:31: error: using typedef-name 'boost::filesystem::path' after 'class' /usr/include/boost/filesystem/path.hpp:43: error: 'boost::filesystem::path' has a previous declaration here