diff --git a/Makefile b/Makefile index 66664c21dd92e650b45b3e322f58e873f1676bbb..331d111cbab9700e0ba7e44fa61c7e59f6b9fd6c 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ INSTALL_DIR=/usr/local/bin INC_DIR=/usr/local/omniORB/include \ /usr/local/zeromq/include/zmq \ /usr/local/tango/include/tango \ + /usr/local/boost/include \ /usr/local/soci/include \ /usr/local/soci/include/soci \ /usr/include/mysql \ @@ -15,6 +16,7 @@ INC_DIR=/usr/local/omniORB/include \ LIB_DIR=/usr/local/omniORB/lib \ /usr/local/zeromq/lib \ /usr/local/tango/lib \ + /usr/local/boost/lib \ /usr/local/soci/lib64 \ /usr/local/protobuf/lib #================================================================================ diff --git a/src/FileWrapper.h b/src/FileWrapper.h index 35ffd9e9630e912e378818ca3a6eec5e7ee16c1d..60b373c0b0dacdf2c5d3f5f468393d2e650be162 100644 --- a/src/FileWrapper.h +++ b/src/FileWrapper.h @@ -62,7 +62,7 @@ protected: std::ifstream m_inputFileStream; //Read buffer size - const boost::uint64_t BUFFER_SIZE = 1024; + static const boost::uint64_t BUFFER_SIZE = 1024; }; } //End of namespace diff --git a/src/Session.h b/src/Session.h index 1ccae616e45de15a21a8e1bb2ec58dfa1d5630d1..7d2c7085792b6899b5263da15b32f4f01b2df986 100644 --- a/src/Session.h +++ b/src/Session.h @@ -92,7 +92,7 @@ protected: boost::asio::io_service::strand m_strand; //Header size written on socket - const unsigned int HEADER_SIZE = 4; + static const unsigned int HEADER_SIZE = 4; //Binary buffer for read data std::vector<boost::uint8_t> m_readBuff;