Raised This Month: $51 Target: $400
 12% 

Building Socket Ext


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sahapro33
Member
Join Date: Mar 2014
Old 03-26-2016 , 12:16   Building Socket Ext
Reply With Quote #1

Hello, I want to collect Ext Socket, but I error .
Help please , share your finished assembling the necessary files , and tell what packages are needed for a successful compilation .
sahapro33 is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 03-26-2016 , 12:25   Re: Building Socket Ext
Reply With Quote #2

What error are you getting...
Addicted. is offline
sahapro33
Member
Join Date: Mar 2014
Old 03-26-2016 , 13:05   Re: Building Socket Ext
Reply With Quote #3

OS: debian-8.0-x86_64-minimal

- What is the problem?
PHP Code:
/home/a_sm/mmsource-1.10/stdint.h:33:2error#error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!" 
All errors:
Code:
root@vds-for-test:/home/a_sm/sm-ext-socket# make
mkdir -p Release/sdk
make extension
make[1]: Entering directory '/home/a_sm/sm-ext-socket'
gcc -I. -I/home/a_sm/mmsource-1.10 -I/home/a_sm/mmsource-1.10/sourcehook -I/home/a_sm/mmsource-1.10/sourcemm -I/home/a_sm/sourcemod/public -I/home/a_sm/sourcemod/public/sourcepawn -I/home/a_sm/sourcemod/public/sourcepawn/include -I/home/a_sm/sourcemod/public/extensions -D_LINUX -DSOURCEMOD_BUILD -Wall -fPIC -m32 -O3 -funroll-loops -s -pipe -fno-strict-aliasing   -o Release/Socket.ox -c Socket.cpp
In file included from Socket.h:4:0,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^
In file included from /home/a_sm/mmsource-1.10/boost/cstdint.hpp:60:0,
                 from /home/a_sm/mmsource-1.10/boost/system/error_code.hpp:15,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^
In file included from /usr/include/netinet/in.h:22:0,
                 from /usr/include/netdb.h:27,
                 from /home/a_sm/mmsource-1.10/boost/asio/error.hpp:28,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/posix_mutex.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/posix_mutex.hpp:73,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/mutex.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/service_registry.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^
In file included from /usr/include/netdb.h:28:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/error.hpp:28,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/posix_mutex.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/posix_mutex.hpp:73,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/mutex.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/service_registry.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^
In file included from /usr/include/sys/eventfd.h:21:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp:29,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/eventfd_select_interrupter.hpp:80,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/select_interrupter.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/epoll_reactor.hpp:29,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/reactor.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/task_io_service.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/task_io_service.hpp:198,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:71,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^
In file included from /usr/include/sys/epoll.h:21:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/epoll_reactor.ipp:23,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/epoll_reactor.hpp:239,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/reactor.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/task_io_service.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/task_io_service.hpp:198,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:71,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^
In file included from /usr/include/sp_vm_types.h:40:0,
                 from /home/a_sm/sourcemod/public/IShareSys.h:40,
                 from /home/a_sm/sourcemod/public/IExtensionSys.h:35,
                 from sdk/smsdk_ext.h:41,
                 from Socket.h:11,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
 #error "Use this header only with Microsoft Visual C++ compilers!"
  ^
In file included from Socket.h:4:0,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/stdint.h:89:30: error: expected initializer before 'int64_t'
 typedef signed __int64       int64_t;
                              ^
/home/a_sm/mmsource-1.10/stdint.h:90:30: error: expected initializer before 'uint64_t'
 typedef unsigned __int64     uint64_t;
                              ^
/home/a_sm/mmsource-1.10/stdint.h:97:9: error: 'int64_t' does not name a type
 typedef int64_t   int_least64_t;
         ^
/home/a_sm/mmsource-1.10/stdint.h:101:9: error: 'uint64_t' does not name a type
 typedef uint64_t  uint_least64_t;
         ^
/home/a_sm/mmsource-1.10/stdint.h:107:9: error: 'int64_t' does not name a type
 typedef int64_t   int_fast64_t;
         ^
/home/a_sm/mmsource-1.10/stdint.h:111:9: error: 'uint64_t' does not name a type
 typedef uint64_t  uint_fast64_t;
         ^
/home/a_sm/mmsource-1.10/stdint.h:123:9: error: 'int64_t' does not name a type
 typedef int64_t   intmax_t;
         ^
/home/a_sm/mmsource-1.10/stdint.h:124:9: error: 'uint64_t' does not name a type
 typedef uint64_t  uintmax_t;
         ^
In file included from /home/a_sm/mmsource-1.10/boost/system/error_code.hpp:15:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/cstdint.hpp:130:11: error: '::int_least64_t' has not been declared
   using ::int_least64_t;
           ^
/home/a_sm/mmsource-1.10/boost/cstdint.hpp:131:11: error: '::int_fast64_t' has not been declared
   using ::int_fast64_t;
           ^
/home/a_sm/mmsource-1.10/boost/cstdint.hpp:132:11: error: '::uint64_t' has not been declared
   using ::uint64_t;
           ^
/home/a_sm/mmsource-1.10/boost/cstdint.hpp:133:11: error: '::uint_least64_t' has not been declared
   using ::uint_least64_t;
           ^
/home/a_sm/mmsource-1.10/boost/cstdint.hpp:134:11: error: '::uint_fast64_t' has not been declared
   using ::uint_fast64_t;
           ^
/home/a_sm/mmsource-1.10/boost/cstdint.hpp:138:11: error: '::intmax_t' has not been declared
   using ::intmax_t;
           ^
/home/a_sm/mmsource-1.10/boost/cstdint.hpp:139:11: error: '::uintmax_t' has not been declared
   using ::uintmax_t;
           ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp:29:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/eventfd_select_interrupter.hpp:80,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/select_interrupter.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/epoll_reactor.hpp:29,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/reactor.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/task_io_service.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/task_io_service.hpp:198,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:71,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/usr/include/sys/eventfd.h:27:9: error: 'uint64_t' does not name a type
 typedef uint64_t eventfd_t;
         ^
/usr/include/sys/eventfd.h:37:36: error: 'eventfd_t' has not been declared
 extern int eventfd_read (int __fd, eventfd_t *__value);
                                    ^
/usr/include/sys/eventfd.h:40:37: error: 'eventfd_t' has not been declared
 extern int eventfd_write (int __fd, eventfd_t __value);
                                     ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp:31:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/eventfd_select_interrupter.hpp:80,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/select_interrupter.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/epoll_reactor.hpp:29,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/reactor.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/task_io_service.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/task_io_service.hpp:198,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:71,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/asio/detail/cstdint.hpp:42:14: error: 'boost::uint64_t' has not been declared
 using boost::uint64_t;
              ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/detail/eventfd_select_interrupter.hpp:80:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/select_interrupter.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/epoll_reactor.hpp:29,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/reactor.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/task_io_service.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/task_io_service.hpp:198,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:71,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp: In member function 'void boost::asio::detail::eventfd_select_interrupter::interrupt()':
/home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp:121:3: error: 'uint64_t' was not declared in this scope
   uint64_t counter(1UL);
   ^
/home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp:122:44: error: 'counter' was not declared in this scope
   int result = ::write(write_descriptor_, &counter, sizeof(uint64_t));
                                            ^
/home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp: In member function 'bool boost::asio::detail::eventfd_select_interrupter::reset()':
/home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp:133:7: error: 'uint64_t' was not declared in this scope
       uint64_t counter(0);
       ^
/home/a_sm/mmsource-1.10/boost/asio/detail/impl/eventfd_select_interrupter.ipp:135:50: error: 'counter' was not declared in this scope
       int bytes_read = ::read(read_descriptor_, &counter, sizeof(uint64_t));
                                                  ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/epoll_reactor.ipp:23:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/epoll_reactor.hpp:239,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/reactor.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/task_io_service.ipp:24,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/task_io_service.hpp:198,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:71,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/usr/include/sys/epoll.h: At global scope:
/usr/include/sys/epoll.h:84:3: error: 'uint64_t' does not name a type
   uint64_t u64;
   ^
In file included from /home/a_sm/mmsource-1.10/boost/asio.hpp:90:0,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:80:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers);
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:125:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:181:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:230:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:265:5: error: 'uint64_t' has not been declared
     uint64_t offset, basic_streambuf<Allocator>& b);
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:297:5: error: 'uint64_t' has not been declared
     uint64_t offset, basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:340:5: error: 'uint64_t' has not been declared
     uint64_t offset, basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:384:5: error: 'uint64_t' has not been declared
     uint64_t offset, basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:461:47: error: 'uint64_t' has not been declared
 async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
                                               ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:535:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:590:47: error: 'uint64_t' has not been declared
 async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
                                               ^
/home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:651:5: error: 'uint64_t' has not been declared
     uint64_t offset, basic_streambuf<Allocator>& b,
     ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/read_at.hpp:664:0,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:90,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:41:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:64:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers)
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:75:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:84:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:99:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:122:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b)
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:133:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:142:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:164:9: error: 'uint64_t' has not been declared
         uint64_t offset, const MutableBufferSequence& buffers,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:227:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In constructor 'boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, MutableBufferSequence, CompletionCondition, ReadHandler>::read_at_op(AsyncRandomAccessReadDevice&, int, const MutableBufferSequence&, CompletionCondition, ReadHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:169:9: error: class 'boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, MutableBufferSequence, CompletionCondition, ReadHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In member function 'void boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, MutableBufferSequence, CompletionCondition, ReadHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:210:38: error: 'offset_' was not declared in this scope
           device_.async_read_some_at(offset_ + total_transferred_,
                                      ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:243:9: error: 'uint64_t' has not been declared
         uint64_t offset, const boost::asio::mutable_buffers_1& buffers,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:307:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In constructor 'boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, boost::asio::mutable_buffers_1, CompletionCondition, ReadHandler>::read_at_op(AsyncRandomAccessReadDevice&, int, const boost::asio::mutable_buffers_1&, CompletionCondition, ReadHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:248:9: error: class 'boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, boost::asio::mutable_buffers_1, CompletionCondition, ReadHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In member function 'void boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, boost::asio::mutable_buffers_1, CompletionCondition, ReadHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:290:38: error: 'offset_' was not declared in this scope
           device_.async_read_some_at(offset_ + total_transferred_,
                                      ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:322:9: error: 'uint64_t' has not been declared
         uint64_t offset, const boost::array<Elem, 2>& buffers,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:396:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In constructor 'boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, boost::array<Elem, 2u>, CompletionCondition, ReadHandler>::read_at_op(AsyncRandomAccessReadDevice&, int, const boost::array<Elem, 2u>&, CompletionCondition, ReadHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:327:9: error: class 'boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, boost::array<Elem, 2u>, CompletionCondition, ReadHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In member function 'void boost::asio::detail::read_at_op<AsyncRandomAccessReadDevice, boost::array<Elem, 2u>, CompletionCondition, ReadHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:380:38: error: 'offset_' was not declared in this scope
           device_.async_read_some_at(offset_ + total_transferred_,
                                      ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:558:7: error: 'uint64_t' has not been declared
       uint64_t offset, const MutableBufferSequence& buffers,
       ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:572:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:598:5: error: 'uint64_t' has not been declared
     uint64_t offset, const MutableBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:629:9: error: 'uint64_t' has not been declared
         uint64_t offset, basic_streambuf<Allocator>& streambuf,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:695:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In constructor 'boost::asio::detail::read_at_streambuf_op<AsyncRandomAccessReadDevice, Allocator, CompletionCondition, ReadHandler>::read_at_streambuf_op(AsyncRandomAccessReadDevice&, int, boost::asio::basic_streambuf<Allocator>&, CompletionCondition, ReadHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:634:9: error: class 'boost::asio::detail::read_at_streambuf_op<AsyncRandomAccessReadDevice, Allocator, CompletionCondition, ReadHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: In member function 'void boost::asio::detail::read_at_streambuf_op<AsyncRandomAccessReadDevice, Allocator, CompletionCondition, ReadHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:677:38: error: 'offset_' was not declared in this scope
           device_.async_read_some_at(offset_ + total_transferred_,
                                      ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:759:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/read_at.hpp:785:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
In file included from /home/a_sm/mmsource-1.10/boost/asio.hpp:119:0,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:78:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers);
     ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:122:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:177:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:225:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:261:5: error: 'uint64_t' has not been declared
     uint64_t offset, basic_streambuf<Allocator>& b);
     ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:294:5: error: 'uint64_t' has not been declared
     uint64_t offset, basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:337:54: error: 'uint64_t' has not been declared
 std::size_t write_at(SyncRandomAccessWriteDevice& d, uint64_t offset,
                                                      ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:381:54: error: 'uint64_t' has not been declared
 std::size_t write_at(SyncRandomAccessWriteDevice& d, uint64_t offset,
                                                      ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:456:49: error: 'uint64_t' has not been declared
 async_write_at(AsyncRandomAccessWriteDevice& d, uint64_t offset,
                                                 ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:536:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:591:49: error: 'uint64_t' has not been declared
 async_write_at(AsyncRandomAccessWriteDevice& d, uint64_t offset,
                                                 ^
/home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:657:49: error: 'uint64_t' has not been declared
 async_write_at(AsyncRandomAccessWriteDevice& d, uint64_t offset,
                                                 ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/write_at.hpp:670:0,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:119,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:39:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:62:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers)
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:73:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:82:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:97:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:108:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b)
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:118:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:127:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:148:9: error: 'uint64_t' has not been declared
         uint64_t offset, const ConstBufferSequence& buffers,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:212:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In constructor 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, ConstBufferSequence, CompletionCondition, WriteHandler>::write_at_op(AsyncRandomAccessWriteDevice&, int, const ConstBufferSequence&, CompletionCondition, WriteHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:153:9: error: class 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, ConstBufferSequence, CompletionCondition, WriteHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In member function 'void boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, ConstBufferSequence, CompletionCondition, WriteHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:195:15: error: 'offset_' was not declared in this scope
               offset_ + total_transferred_, buffers_,
               ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:228:9: error: 'uint64_t' has not been declared
         uint64_t offset, const boost::asio::mutable_buffers_1& buffers,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:293:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In constructor 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::asio::mutable_buffers_1, CompletionCondition, WriteHandler>::write_at_op(AsyncRandomAccessWriteDevice&, int, const boost::asio::mutable_buffers_1&, CompletionCondition, WriteHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:234:9: error: class 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::asio::mutable_buffers_1, CompletionCondition, WriteHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In member function 'void boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::asio::mutable_buffers_1, CompletionCondition, WriteHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:276:39: error: 'offset_' was not declared in this scope
           device_.async_write_some_at(offset_ + total_transferred_,
                                       ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:308:9: error: 'uint64_t' has not been declared
         uint64_t offset, const boost::asio::const_buffers_1& buffers,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:373:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In constructor 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::asio::const_buffers_1, CompletionCondition, WriteHandler>::write_at_op(AsyncRandomAccessWriteDevice&, int, const boost::asio::const_buffers_1&, CompletionCondition, WriteHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:314:9: error: class 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::asio::const_buffers_1, CompletionCondition, WriteHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In member function 'void boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::asio::const_buffers_1, CompletionCondition, WriteHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:356:39: error: 'offset_' was not declared in this scope
           device_.async_write_some_at(offset_ + total_transferred_,
                                       ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:388:9: error: 'uint64_t' has not been declared
         uint64_t offset, const boost::array<Elem, 2>& buffers,
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:462:5: error: 'uint64_t' does not name a type
     uint64_t offset_;
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In constructor 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::array<Elem, 2u>, CompletionCondition, WriteHandler>::write_at_op(AsyncRandomAccessWriteDevice&, int, const boost::array<Elem, 2u>&, CompletionCondition, WriteHandler&)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:393:9: error: class 'boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::array<Elem, 2u>, CompletionCondition, WriteHandler>' does not have any field named 'offset_'
         offset_(offset),
         ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: In member function 'void boost::asio::detail::write_at_op<AsyncRandomAccessWriteDevice, boost::array<Elem, 2u>, CompletionCondition, WriteHandler>::operator()(const boost::system::error_code&, std::size_t, int)':
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:446:39: error: 'offset_' was not declared in this scope
           device_.async_write_some_at(offset_ + total_transferred_,
                                       ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:620:7: error: 'uint64_t' has not been declared
       uint64_t offset, const ConstBufferSequence& buffers,
       ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:634:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:660:5: error: 'uint64_t' has not been declared
     uint64_t offset, const ConstBufferSequence& buffers,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:776:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
/home/a_sm/mmsource-1.10/boost/asio/impl/write_at.hpp:801:5: error: 'uint64_t' has not been declared
     uint64_t offset, boost::asio::basic_streambuf<Allocator>& b,
     ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:38:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/gcd.hpp:77:33: error: 'boost::intmax_t' has not been declared
   template< typename T1, boost::intmax_t n1, bool n1_is_0
                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/gcd.hpp:78:41: error: 'boost::intmax_t' has not been declared
                   , typename T2, boost::intmax_t n2, bool n2_is_0 >
                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/gcd.hpp:83:37: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2>
                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/gcd.hpp:83:70: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2>
                                                                      ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/gcd.hpp:87:37: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2, bool C>
                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/gcd.hpp:87:70: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2, bool C>
                                                                      ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:39:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/lcm.hpp:76:33: error: 'boost::intmax_t' has not been declared
   template< typename T1, boost::intmax_t n1, bool n1_is_0
                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/lcm.hpp:77:49: error: 'boost::intmax_t' has not been declared
                           , typename T2, boost::intmax_t n2, bool n2_is_0 >
                                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/lcm.hpp:84:37: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2>
                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/lcm.hpp:84:70: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2>
                                                                      ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/lcm.hpp:88:37: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2, bool C>
                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/mpl/lcm.hpp:88:70: error: 'boost::intmax_t' has not been declared
       template <typename T1, boost::intmax_t n1, typename T2, boost::intmax_t n2, bool C>
                                                                      ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:47:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/ratio_fwd.hpp:51:18: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D = 1> class ratio;
                  ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio_fwd.hpp:51:37: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D = 1> class ratio;
                                     ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:68:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:68:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:68:58: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                                          ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:68:81: error: 'intmax_t' is not a member of 'boost'
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                                                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:68:81: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:68:99: error: template argument 1 is invalid
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                                                                                   ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:68:99: note: invalid template non-type parameter
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:71:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:71:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:74:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:75:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
                           ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:77:7: error: 'max' was not declared in this scope
       BOOST_RATIO_STATIC_ASSERT(X <= max - Y , BOOST_RATIO_OVERFLOW_IN_ADD, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:77:7: note: suggested alternative:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/string:40,
                 from Socket.h:5,
                 from Socket.cpp:1:
/usr/include/c++/4.9/bits/stl_algobase.h:261:5: note:   'std::max'
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:79:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X + Y;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:82:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:82:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:86:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:89:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:89:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:92:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:93:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
                           ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:95:7: error: 'min' was not declared in this scope
       BOOST_RATIO_STATIC_ASSERT(min - Y <= X, BOOST_RATIO_OVERFLOW_IN_ADD, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:95:7: note: suggested alternative:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/string:40,
                 from Socket.h:5,
                 from Socket.cpp:1:
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note:   'std::min'
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:97:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X + Y;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:100:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:100:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:100:58: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                                          ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:100:81: error: 'intmax_t' is not a member of 'boost'
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                                                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:100:81: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:100:99: error: template argument 1 is invalid
   template <boost::intmax_t X, boost::intmax_t Y, boost::intmax_t = mpl::sign_c<boost::intmax_t, Y>::value>
                                                                                                   ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:100:99: note: invalid template non-type parameter
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:103:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:103:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:106:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:107:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
                           ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:109:7: error: 'min' was not declared in this scope
       BOOST_RATIO_STATIC_ASSERT(min + Y <= X, BOOST_RATIO_OVERFLOW_IN_SUB, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:109:7: note: suggested alternative:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/string:40,
                 from Socket.h:5,
                 from Socket.cpp:1:
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note:   'std::min'
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:111:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X - Y;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:114:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:114:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:118:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:121:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:121:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:124:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:125:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
                           ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:127:7: error: 'max' was not declared in this scope
       BOOST_RATIO_STATIC_ASSERT(X <= max + Y, BOOST_RATIO_OVERFLOW_IN_SUB, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:127:7: note: suggested alternative:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/string:40,
                 from Socket.h:5,
                 from Socket.cpp:1:
/usr/include/c++/4.9/bits/stl_algobase.h:261:5: note:   'std::max'
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:129:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X - Y;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:132:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:132:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:135:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t nan =
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:137:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:138:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:140:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t a_x = mpl::abs_c<boost::intmax_t, X>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:141:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t a_y = mpl::abs_c<boost::intmax_t, Y>::value;
                           ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:143:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       BOOST_RATIO_STATIC_ASSERT(X != nan, BOOST_RATIO_OVERFLOW_IN_MUL, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/config.hpp:75:121: error: array bound is not an integer constant before ']' token
 #define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_RATIO_NAME(__boost_ratio_test_,__LINE__)[(CND)?1:-1]
                                                                                                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:144:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_MUL, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/config.hpp:75:121: error: array bound is not an integer constant before ']' token
 #define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_RATIO_NAME(__boost_ratio_test_,__LINE__)[(CND)?1:-1]
                                                                                                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:145:7: error: 'a_x' was not declared in this scope
       BOOST_RATIO_STATIC_ASSERT(a_x <= max / a_y, BOOST_RATIO_OVERFLOW_IN_MUL, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:145:7: error: 'max' was not declared in this scope
       BOOST_RATIO_STATIC_ASSERT(a_x <= max / a_y, BOOST_RATIO_OVERFLOW_IN_MUL, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:145:7: note: suggested alternative:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/string:40,
                 from Socket.h:5,
                 from Socket.cpp:1:
/usr/include/c++/4.9/bits/stl_algobase.h:261:5: note:   'std::max'
     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:145:7: error: 'a_y' was not declared in this scope
       BOOST_RATIO_STATIC_ASSERT(a_x <= max / a_y, BOOST_RATIO_OVERFLOW_IN_MUL, ());
       ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:147:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X * Y;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:150:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:154:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = 0;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:157:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:161:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = 0;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:168:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = 0;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:172:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:172:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t X, boost::intmax_t Y>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:175:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t nan = boost::intmax_t(BOOST_RATIO_UINTMAX_C(1) << (sizeof(boost::intmax_t) * CHAR_BIT - 1));
                           ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:176:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:177:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
                           ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:179:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       BOOST_RATIO_STATIC_ASSERT(X != nan, BOOST_RATIO_OVERFLOW_IN_DIV, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/config.hpp:75:121: error: array bound is not an integer constant before ']' token
 #define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_RATIO_NAME(__boost_ratio_test_,__LINE__)[(CND)?1:-1]
                                                                                                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:180:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       BOOST_RATIO_STATIC_ASSERT(Y != nan, BOOST_RATIO_OVERFLOW_IN_DIV, ());
       ^
/home/a_sm/mmsource-1.10/boost/ratio/config.hpp:75:121: error: array bound is not an integer constant before ']' token
 #define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_RATIO_NAME(__boost_ratio_test_,__LINE__)[(CND)?1:-1]
                                                                                                                         ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:48:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:183:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t value = X / Y;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:199:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_n1_n2 = mpl::gcd_c<boost::intmax_t, R1::num, R2::num>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:200:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_d1_d2 = mpl::gcd_c<boost::intmax_t, R1::den, R2::den>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:205:20: error: 'gcd_n1_n2' was not declared in this scope
              ratio<gcd_n1_n2, R1::den / gcd_d1_d2>,
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:205:41: error: 'gcd_d1_d2' was not declared in this scope
              ratio<gcd_n1_n2, R1::den / gcd_d1_d2>,
                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:205:50: error: template argument 1 is invalid
              ratio<gcd_n1_n2, R1::den / gcd_d1_d2>,
                                                  ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:210:60: error: 'gcd_n1_n2' was not declared in this scope
                      boost::ratio_detail::br_mul<R1::num / gcd_n1_n2, R2::den / gcd_d1_d2>::value,
                                                            ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:210:81: error: 'gcd_d1_d2' was not declared in this scope
                      boost::ratio_detail::br_mul<R1::num / gcd_n1_n2, R2::den / gcd_d1_d2>::value,
                                                                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:211:60: error: 'gcd_n1_n2' was not declared in this scope
                      boost::ratio_detail::br_mul<R2::num / gcd_n1_n2, R1::den / gcd_d1_d2>::value
                                                            ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:211:81: error: 'gcd_d1_d2' was not declared in this scope
                      boost::ratio_detail::br_mul<R2::num / gcd_n1_n2, R1::den / gcd_d1_d2>::value
                                                                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:212:18: error: template argument 3 is invalid
                  >::value,
                  ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:214:14: error: template argument 1 is invalid
              >
              ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:215:10: error: template argument 1 is invalid
          >::type type;
          ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:215:10: error: template argument 2 is invalid
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:217:29: error: 'boost::intmax_t' has not been declared
   template <class R, boost::intmax_t D>
                             ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:230:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_n1_n2 = mpl::gcd_c<boost::intmax_t, R1::num, R2::num>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:231:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_d1_d2 = mpl::gcd_c<boost::intmax_t, R1::den, R2::den>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:236:20: error: 'gcd_n1_n2' was not declared in this scope
              ratio<gcd_n1_n2, R1::den / gcd_d1_d2>,
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:236:41: error: 'gcd_d1_d2' was not declared in this scope
              ratio<gcd_n1_n2, R1::den / gcd_d1_d2>,
                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:236:50: error: template argument 1 is invalid
              ratio<gcd_n1_n2, R1::den / gcd_d1_d2>,
                                                  ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:241:60: error: 'gcd_n1_n2' was not declared in this scope
                      boost::ratio_detail::br_mul<R1::num / gcd_n1_n2, R2::den / gcd_d1_d2>::value,
                                                            ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:241:81: error: 'gcd_d1_d2' was not declared in this scope
                      boost::ratio_detail::br_mul<R1::num / gcd_n1_n2, R2::den / gcd_d1_d2>::value,
                                                                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:242:60: error: 'gcd_n1_n2' was not declared in this scope
                      boost::ratio_detail::br_mul<R2::num / gcd_n1_n2, R1::den / gcd_d1_d2>::value
                                                            ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:242:81: error: 'gcd_d1_d2' was not declared in this scope
                      boost::ratio_detail::br_mul<R2::num / gcd_n1_n2, R1::den / gcd_d1_d2>::value
                                                                                 ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:243:18: error: template argument 3 is invalid
                  >::value,
                  ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:245:14: error: template argument 1 is invalid
              >
              ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:246:10: error: template argument 1 is invalid
          >::type type;
          ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:246:10: error: template argument 2 is invalid
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:249:29: error: 'boost::intmax_t' has not been declared
   template <class R, boost::intmax_t D>
                             ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:261:26: error: 'intmax_t' in namespace 'boost' does not name a type
      static const boost::intmax_t gcd_n1_d2 = mpl::gcd_c<boost::intmax_t, R1::num, R2::den>::value;
                          ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:262:26: error: 'intmax_t' in namespace 'boost' does not name a type
      static const boost::intmax_t gcd_d1_n2 = mpl::gcd_c<boost::intmax_t, R1::den, R2::num>::value;
                          ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:266:52: error: 'gcd_n1_d2' was not declared in this scope
              boost::ratio_detail::br_mul<R1::num / gcd_n1_d2, R2::num / gcd_d1_n2>::value,
                                                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:266:73: error: 'gcd_d1_n2' was not declared in this scope
              boost::ratio_detail::br_mul<R1::num / gcd_n1_d2, R2::num / gcd_d1_n2>::value,
                                                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:267:52: error: 'gcd_n1_d2' was not declared in this scope
              boost::ratio_detail::br_mul<R2::den / gcd_n1_d2, R1::den / gcd_d1_n2>::value
                                                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:267:73: error: 'gcd_d1_n2' was not declared in this scope
              boost::ratio_detail::br_mul<R2::den / gcd_n1_d2, R1::den / gcd_d1_n2>::value
                                                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:277:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_n1_n2 = mpl::gcd_c<boost::intmax_t, R1::num, R2::num>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:278:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_d1_d2 = mpl::gcd_c<boost::intmax_t, R1::den, R2::den>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:282:52: error: 'gcd_n1_n2' was not declared in this scope
              boost::ratio_detail::br_mul<R1::num / gcd_n1_n2, R2::den / gcd_d1_d2>::value,
                                                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:282:73: error: 'gcd_d1_d2' was not declared in this scope
              boost::ratio_detail::br_mul<R1::num / gcd_n1_n2, R2::den / gcd_d1_d2>::value,
                                                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:283:52: error: 'gcd_n1_n2' was not declared in this scope
              boost::ratio_detail::br_mul<R2::num / gcd_n1_n2, R1::den / gcd_d1_d2>::value
                                                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:283:73: error: 'gcd_d1_d2' was not declared in this scope
              boost::ratio_detail::br_mul<R2::num / gcd_n1_n2, R1::den / gcd_d1_d2>::value
                                                                         ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:290:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_n1_n2 = mpl::gcd_c<boost::intmax_t, R1::num, R2::num>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:291:27: error: 'intmax_t' in namespace 'boost' does not name a type
       static const boost::intmax_t gcd_d1_d2 = mpl::gcd_c<boost::intmax_t, R1::den, R2::den>::value;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:294:26: error: 'gcd_n1_n2' was not declared in this scope
              ((R2::num / gcd_n1_n2 ==1) && (R1::den / gcd_d1_d2)==1)
                          ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:294:55: error: 'gcd_d1_d2' was not declared in this scope
              ((R2::num / gcd_n1_n2 ==1) && (R1::den / gcd_d1_d2)==1)
                                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:301:20: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t N, boost::intmax_t D>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:301:39: error: 'boost::intmax_t' has not been declared
   template <boost::intmax_t N, boost::intmax_t D>
                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:306:20: error: 'boost::intmax_t' has not been declared
             boost::intmax_t Q1 = R1::num / R1::den, boost::intmax_t M1 = R1::num % R1::den,
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:306:60: error: 'boost::intmax_t' has not been declared
             boost::intmax_t Q1 = R1::num / R1::den, boost::intmax_t M1 = R1::num % R1::den,
                                                            ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:307:20: error: 'boost::intmax_t' has not been declared
             boost::intmax_t Q2 = R2::num / R2::den, boost::intmax_t M2 = R2::num % R2::den>
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:307:60: error: 'boost::intmax_t' has not been declared
             boost::intmax_t Q2 = R2::num / R2::den, boost::intmax_t M2 = R2::num % R2::den>
                                                            ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:313:40: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q>
                                        ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:319:40: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q, boost::intmax_t M2>
                                        ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:319:59: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q, boost::intmax_t M2>
                                                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:325:40: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q, boost::intmax_t M1>
                                        ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:325:59: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q, boost::intmax_t M1>
                                                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:331:40: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q, boost::intmax_t M1, boost::intmax_t M2>
                                        ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:331:59: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q, boost::intmax_t M1, boost::intmax_t M2>
                                                           ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:331:79: error: 'boost::intmax_t' has not been declared
   template <class R1, class R2, boost::intmax_t Q, boost::intmax_t M1, boost::intmax_t M2>
                                                                               ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:341:14: error: 'boost::intmax_t' has not been declared
       boost::intmax_t S1 = mpl::sign_c<boost::intmax_t, R1::num>::value,
              ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:341:40: error: 'intmax_t' is not a member of 'boost'
       boost::intmax_t S1 = mpl::sign_c<boost::intmax_t, R1::num>::value,
                                        ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:341:40: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:341:64: error: template argument 1 is invalid
       boost::intmax_t S1 = mpl::sign_c<boost::intmax_t, R1::num>::value,
                                                                ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:341:64: note: invalid template non-type parameter
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:342:12: error: 'boost::intmax_t' has not been declared
     boost::intmax_t S2 = mpl::sign_c<boost::intmax_t, R2::num>::value
            ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:342:38: error: 'intmax_t' is not a member of 'boost'
     boost::intmax_t S2 = mpl::sign_c<boost::intmax_t, R2::num>::value
                                      ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:342:38: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:342:62: error: template argument 1 is invalid
     boost::intmax_t S2 = mpl::sign_c<boost::intmax_t, R2::num>::value
                                                              ^
/home/a_sm/mmsource-1.10/boost/ratio/detail/overflow_helpers.hpp:342:62: note: invalid template non-type parameter
In file included from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:76:18: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D>
                  ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:76:37: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D>
                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:79:25: error: 'intmax_t' in namespace 'boost' does not name a type
     static const boost::intmax_t ABS_N = mpl::abs_c<boost::intmax_t, N>::value;
                         ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:80:25: error: 'intmax_t' in namespace 'boost' does not name a type
     static const boost::intmax_t ABS_D = mpl::abs_c<boost::intmax_t, D>::value;
                         ^
In file included from /home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:35:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:81:5: error: 'ABS_N' was not declared in this scope
     BOOST_RATIO_STATIC_ASSERT(ABS_N >= 0, BOOST_RATIO_NUMERATOR_IS_OUT_OF_RANGE, ());
     ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:82:5: error: 'ABS_D' was not declared in this scope
     BOOST_RATIO_STATIC_ASSERT(ABS_D > 0, BOOST_RATIO_DENOMINATOR_IS_OUT_OF_RANGE, ());
     ^
In file included from /home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:41:0,
                 from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:84:25: error: 'intmax_t' in namespace 'boost' does not name a type
     static const boost::intmax_t SIGN_N = mpl::sign_c<boost::intmax_t,N>::value
                         ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:86:25: error: 'intmax_t' in namespace 'boost' does not name a type
     static const boost::intmax_t GCD = mpl::gcd_c<boost::intmax_t, ABS_N, ABS_D>::value;
                         ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:88:35: error: 'intmax_t' in namespace 'boost' does not name a type
     BOOST_STATIC_CONSTEXPR boost::intmax_t num = SIGN_N * ABS_N / GCD;
                                   ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:89:35: error: 'intmax_t' in namespace 'boost' does not name a type
     BOOST_STATIC_CONSTEXPR boost::intmax_t den = ABS_D / GCD;
                                   ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:119:19: error: 'num' was not declared in this scope
     typedef ratio<num, den> type;
                   ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:119:24: error: 'den' was not declared in this scope
     typedef ratio<num, den> type;
                        ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:119:27: error: template argument 1 is invalid
     typedef ratio<num, den> type;
                           ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:119:27: error: template argument 2 is invalid
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:123:18: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D>
                  ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:123:37: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D>
                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:124:17: error: 'intmax_t' in namespace 'boost' does not name a type
 const    boost::intmax_t ratio<N, D>::num;
                 ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:125:18: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D>
                  ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:125:37: error: 'boost::intmax_t' has not been declared
 template <boost::intmax_t N, boost::intmax_t D>
                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:126:17: error: 'intmax_t' in namespace 'boost' does not name a type
 const    boost::intmax_t ratio<N, D>::den;
                 ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:182:76: error: template argument 3 is invalid
     : boost::integral_constant<bool, boost::ratio_detail::ratio_less<R1, R2>::value>
                                                                            ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:182:76: error: template argument 4 is invalid
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:182:84: error: template argument 2 is invalid
     : boost::integral_constant<bool, boost::ratio_detail::ratio_less<R1, R2>::value>
                                                                                    ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:202:22: error: 'intmax_t' is not a member of 'boost'
     ratio<mpl::gcd_c<boost::intmax_t, R1::num, R2::num>::value,
                      ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:202:22: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:202:55: error: template argument 1 is invalid
     ratio<mpl::gcd_c<boost::intmax_t, R1::num, R2::num>::value,
                                                       ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:202:55: note: invalid template non-type parameter
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:202:55: note: invalid template non-type parameter
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:20: error: 'intmax_t' is not a member of 'boost'
         mpl::lcm_c<boost::intmax_t, R1::den, R2::den>::value>::type
                    ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:20: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:53: error: template argument 1 is invalid
         mpl::lcm_c<boost::intmax_t, R1::den, R2::den>::value>::type
                                                     ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:53: note: invalid template non-type parameter
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:53: note: invalid template non-type parameter
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:61: error: template argument 1 is invalid
         mpl::lcm_c<boost::intmax_t, R1::den, R2::den>::value>::type
                                                             ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:61: error: template argument 2 is invalid
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:203:64: error: expected '{' before 'type'
         mpl::lcm_c<boost::intmax_t, R1::den, R2::den>::value>::type
                                                                ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:204:1: error: invalid type in declaration before '{' token
 {
 ^
/home/a_sm/mmsource-1.10/boost/ratio/ratio.hpp:204:1: error: template declaration of 'int boost::type'
In file included from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:198:22: error: 'int_least64_t' is not a member of 'boost'
     typedef duration<boost::int_least64_t, nano> nanoseconds;    // at least 64 bits needed
                      ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:198:22: error: 'int_least64_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:198:48: error: template argument 1 is invalid
     typedef duration<boost::int_least64_t, nano> nanoseconds;    // at least 64 bits needed
                                                ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:198:61: error: invalid type in declaration before ';' token
     typedef duration<boost::int_least64_t, nano> nanoseconds;    // at least 64 bits needed
                                                             ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:199:22: error: 'int_least64_t' is not a member of 'boost'
     typedef duration<boost::int_least64_t, micro> microseconds;  // at least 55 bits needed
                      ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:199:22: error: 'int_least64_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:199:49: error: template argument 1 is invalid
     typedef duration<boost::int_least64_t, micro> microseconds;  // at least 55 bits needed
                                                 ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:199:63: error: invalid type in declaration before ';' token
     typedef duration<boost::int_least64_t, micro> microseconds;  // at least 55 bits needed
                                                               ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:200:22: error: 'int_least64_t' is not a member of 'boost'
     typedef duration<boost::int_least64_t, milli> milliseconds;  // at least 45 bits needed
                      ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:200:22: error: 'int_least64_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:200:49: error: template argument 1 is invalid
     typedef duration<boost::int_least64_t, milli> milliseconds;  // at least 45 bits needed
                                                 ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:200:63: error: invalid type in declaration before ';' token
     typedef duration<boost::int_least64_t, milli> milliseconds;  // at least 45 bits needed
                                                               ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:201:22: error: 'int_least64_t' is not a member of 'boost'
     typedef duration<boost::int_least64_t> seconds;              // at least 35 bits needed
                      ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:201:22: error: 'int_least64_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:201:42: error: template argument 1 is invalid
     typedef duration<boost::int_least64_t> seconds;              // at least 35 bits needed
                                          ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:201:51: error: invalid type in declaration before ';' token
     typedef duration<boost::int_least64_t> seconds;              // at least 35 bits needed
                                                   ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp: In member function 'ToDuration boost::chrono::detail::duration_cast_aux<FromDuration, ToDuration, Period, true, false>::operator()(const FromDuration&) const':
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:256:17: error: 'intmax_t' is not a member of 'boost'
                 boost::intmax_t>::type C;
                 ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:256:17: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:256:32: error: template argument 3 is invalid
                 boost::intmax_t>::type C;
                                ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:256:41: error: invalid type in declaration before ';' token
                 boost::intmax_t>::type C;
                                         ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp: In member function 'ToDuration boost::chrono::detail::duration_cast_aux<FromDuration, ToDuration, Period, false, true>::operator()(const FromDuration&) const':
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:275:15: error: 'intmax_t' is not a member of 'boost'
               boost::intmax_t>::type C;
               ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:275:15: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:275:30: error: template argument 3 is invalid
               boost::intmax_t>::type C;
                              ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:275:39: error: invalid type in declaration before ';' token
               boost::intmax_t>::type C;
                                       ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp: In member function 'ToDuration boost::chrono::detail::duration_cast_aux<FromDuration, ToDuration, Period, false, false>::operator()(const FromDuration&) const':
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:295:15: error: 'intmax_t' is not a member of 'boost'
               boost::intmax_t>::type C;
               ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:295:15: error: 'intmax_t' is not a member of 'boost'
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:295:30: error: template argument 3 is invalid
               boost::intmax_t>::type C;
                              ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:295:39: error: invalid type in declaration before ';' token
               boost::intmax_t>::type C;
                                       ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:19:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/mutex.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:39:13: error: 'int_fast64_t' does not name a type
     typedef int_fast64_t xtime_sec_t; //INT_FAST64_MIN <= sec <= INT_FAST64_MAX
             ^
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:44:5: error: 'xtime_sec_t' does not name a type
     xtime_sec_t sec;
     ^
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp: In member function 'boost::xtime::operator boost::system_time() const':
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:50:58: error: 'sec' was not declared in this scope
             boost::posix_time::seconds(static_cast<long>(sec))+
                                                          ^
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:50:58: note: suggested alternative:
In file included from /home/a_sm/mmsource-1.10/boost/date_time/time_duration.hpp:15:0,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/posix_time_config.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/posix_time_system.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/ptime.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/posix_time_types.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/asio/time_traits.hpp:23,
                 from /home/a_sm/mmsource-1.10/boost/asio/deadline_timer_service.hpp:27,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_deadline_timer.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:22,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/date_time/time_defs.hpp:24:5: note:   'sec'
     sec,
     ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:19:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/mutex.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp: In function 'boost::xtime boost::get_xtime(const system_time&)':
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:65:9: error: 'struct boost::xtime' has no member named 'sec'
     res.sec=static_cast<xtime::xtime_sec_t>(time_since_epoch.total_seconds());
         ^
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:65:32: error: 'xtime_sec_t' in 'struct boost::xtime' does not name a type
     res.sec=static_cast<xtime::xtime_sec_t>(time_since_epoch.total_seconds());
                                ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:19:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/mutex.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp: In function 'int boost::xtime_cmp(const boost::xtime&, const boost::xtime&)':
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:83:13: error: 'const struct boost::xtime' has no member named 'sec'
     if (xt1.sec == xt2.sec)
             ^
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:83:24: error: 'const struct boost::xtime' has no member named 'sec'
     if (xt1.sec == xt2.sec)
                        ^
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:86:21: error: 'const struct boost::xtime' has no member named 'sec'
         return (xt1.sec > xt2.sec) ? 1 : -1;
                     ^
/home/a_sm/mmsource-1.10/boost/thread/xtime.hpp:86:31: error: 'const struct boost::xtime' has no member named 'sec'
         return (xt1.sec > xt2.sec) ? 1 : -1;
                               ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:22:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/mutex.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp: In function 'timespec boost::detail::to_timespec(const nanoseconds&)':
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:51:78: error: no matching function for call to 'duration_cast(const nanoseconds&)'
       ts.tv_sec = static_cast<long>(chrono::duration_cast<chrono::seconds>(ns).count());
                                                                              ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:51:78: note: candidate is:
In file included from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:786:5: note: template<class ToDuration, class Rep, class Period> typename boost::enable_if<boost::chrono::detail::is_duration<Rep>, ToDuration>::type boost::chrono::duration_cast(const boost::chrono::duration<Rep2, Period>&)
     duration_cast(const duration<Rep, Period>& fd)
     ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:786:5: note:   template argument deduction/substitution failed:
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp: In substitution of 'template<class ToDuration, class Rep, class Period> typename boost::enable_if<boost::chrono::detail::is_duration<Rep>, ToDuration>::type boost::chrono::duration_cast(const boost::chrono::duration<Rep2, Period>&) [with ToDuration = int; Rep = <missing>; Period = <missing>]':
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:51:78:   required from here
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:786:5: error: no type named 'type' in 'struct boost::enable_if<boost::chrono::detail::is_duration<int>, int>'
In file included from /home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:22:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/mutex.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:52:85: error: no matching function for call to 'duration_cast(const nanoseconds&)'
       ts.tv_nsec = static_cast<long>((ns - chrono::duration_cast<chrono::seconds>(ns)).count());
                                                                                     ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:52:85: note: candidate is:
In file included from /home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:33:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:786:5: note: template<class ToDuration, class Rep, class Period> typename boost::enable_if<boost::chrono::detail::is_duration<Rep>, ToDuration>::type boost::chrono::duration_cast(const boost::chrono::duration<Rep2, Period>&)
     duration_cast(const duration<Rep, Period>& fd)
     ^
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:786:5: note:   template argument deduction/substitution failed:
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp: In substitution of 'template<class ToDuration, class Rep, class Period> typename boost::enable_if<boost::chrono::detail::is_duration<Rep>, ToDuration>::type boost::chrono::duration_cast(const boost::chrono::duration<Rep2, Period>&) [with ToDuration = int; Rep = <missing>; Period = <missing>]':
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:52:85:   required from here
/home/a_sm/mmsource-1.10/boost/chrono/duration.hpp:786:5: error: no type named 'type' in 'struct boost::enable_if<boost::chrono::detail::is_duration<int>, int>'
In file included from /home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:22:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/mutex.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:58:49: error: 'boost::detail::to_timespec' declared as an 'inline' variable
     inline timespec to_timespec(boost::intmax_t const& ns)
                                                 ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:58:49: error: 'timespec boost::detail::to_timespec' redeclared as different kind of symbol
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:48:21: note: previous declaration 'timespec boost::detail::to_timespec(const nanoseconds&)'
     inline timespec to_timespec(chrono::nanoseconds const& ns)
                     ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:58:33: error: 'intmax_t' is not a member of 'boost'
     inline timespec to_timespec(boost::intmax_t const& ns)
                                 ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:66:19: error: 'intmax_t' in namespace 'boost' does not name a type
     inline boost::intmax_t to_nanoseconds_int_max(timespec const& ts)
                   ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp: In function 'timespec boost::detail::timespec_plus(const timespec&, const timespec&)':
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:100:52: error: 'to_nanoseconds_int_max' was not declared in this scope
       return to_timespec(to_nanoseconds_int_max(lhs) + to_nanoseconds_int_max(rhs));
                                                    ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp: In function 'timespec boost::detail::timespec_minus(const timespec&, const timespec&)':
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:104:52: error: 'to_nanoseconds_int_max' was not declared in this scope
       return to_timespec(to_nanoseconds_int_max(lhs) - to_nanoseconds_int_max(rhs));
                                                    ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp: In function 'bool boost::detail::timespec_gt(const timespec&, const timespec&)':
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:108:40: error: 'to_nanoseconds_int_max' was not declared in this scope
       return to_nanoseconds_int_max(lhs) > to_nanoseconds_int_max(rhs);
                                        ^
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp: In function 'bool boost::detail::timespec_ge(const timespec&, const timespec&)':
/home/a_sm/mmsource-1.10/boost/thread/pthread/timespec.hpp:112:40: error: 'to_nanoseconds_int_max' was not declared in this scope
       return to_nanoseconds_int_max(lhs) >= to_nanoseconds_int_max(rhs);
                                        ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:25:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/mutex.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:131:25: error: typedef name may not be a nested-name-specifier
       typedef duration::rep                        rep;
                         ^
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:131:25: error: expected ';' at end of member declaration
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:131:52: error: declaration does not declare anything [-fpermissive]
       typedef duration::rep                        rep;
                                                    ^
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:132:25: error: typedef name may not be a nested-name-specifier
       typedef duration::period                     period;
                         ^
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:132:25: error: expected ';' at end of member declaration
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:132:52: error: declaration does not declare anything [-fpermissive]
       typedef duration::period                     period;
                                                    ^
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:157:25: error: typedef name may not be a nested-name-specifier
       typedef duration::rep                        rep;
                         ^
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:157:25: error: expected ';' at end of member declaration
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:157:52: error: declaration does not declare anything [-fpermissive]
       typedef duration::rep                        rep;
                                                    ^
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:158:25: error: typedef name may not be a nested-name-specifier
       typedef duration::period                     period;
                         ^
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:158:25: error: expected ';' at end of member declaration
/home/a_sm/mmsource-1.10/boost/chrono/system_clocks.hpp:158:52: error: declaration does not declare anything [-fpermissive]
       typedef duration::period                     period;
                                                    ^
In file included from /home/a_sm/mmsource-1.10/boost/config.hpp:61:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/config.hpp:26,
                 from /home/a_sm/mmsource-1.10/boost/asio/async_result.hpp:18,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:20,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp: In instantiation of 'class boost::chrono::time_point<boost::chrono::system_clock>':
/home/a_sm/mmsource-1.10/boost/thread/pthread/mutex.hpp:336:37:   required from here
/home/a_sm/mmsource-1.10/boost/chrono/detail/static_assert.hpp:26:76: error: size of array is negative
 #define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_JOIN(boost_chrono_test_,__LINE__)[(CND)?1:-1]
                                                                            ^
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:158:9: note: in expansion of macro 'BOOST_CHRONO_STATIC_ASSERT'
         BOOST_CHRONO_STATIC_ASSERT(boost::chrono::detail::is_duration<Duration>::value,
         ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:163:43: error: 'boost::chrono::time_point<boost::chrono::system_clock>::duration {aka int}' is not a class, struct, or union type
         typedef typename duration::rep    rep;
                                           ^
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:164:43: error: 'boost::chrono::time_point<boost::chrono::system_clock>::duration {aka int}' is not a class, struct, or union type
         typedef typename duration::period period;
                                           ^
In file included from /home/a_sm/mmsource-1.10/boost/config.hpp:61:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/config.hpp:26,
                 from /home/a_sm/mmsource-1.10/boost/asio/async_result.hpp:18,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:20,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp: In instantiation of 'class boost::chrono::time_point<boost::chrono::steady_clock>':
/home/a_sm/mmsource-1.10/boost/thread/pthread/condition_variable_fwd.hpp:239:40:   required from here
/home/a_sm/mmsource-1.10/boost/chrono/detail/static_assert.hpp:26:76: error: size of array is negative
 #define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_JOIN(boost_chrono_test_,__LINE__)[(CND)?1:-1]
                                                                            ^
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:158:9: note: in expansion of macro 'BOOST_CHRONO_STATIC_ASSERT'
         BOOST_CHRONO_STATIC_ASSERT(boost::chrono::detail::is_duration<Duration>::value,
         ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/lock_types.hpp:22:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/thread_data.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:163:43: error: 'boost::chrono::time_point<boost::chrono::steady_clock>::duration {aka int}' is not a class, struct, or union type
         typedef typename duration::rep    rep;
                                           ^
/home/a_sm/mmsource-1.10/boost/chrono/time_point.hpp:164:43: error: 'boost::chrono::time_point<boost::chrono::steady_clock>::duration {aka int}' is not a class, struct, or union type
         typedef typename duration::period period;
                                           ^
In file included from /home/a_sm/mmsource-1.10/boost/integer/static_log2.hpp:19:0,
                 from /home/a_sm/mmsource-1.10/boost/functional/hash/detail/hash_float.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/functional/hash/hash.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/functional/hash.hpp:6,
                 from /home/a_sm/mmsource-1.10/boost/thread/detail/thread.hpp:38,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:29:21: error: 'uintmax_t' in namespace 'boost' does not name a type
      typedef boost::uintmax_t static_min_max_unsigned_type;
                     ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:30:21: error: 'intmax_t' in namespace 'boost' does not name a type
      typedef boost::intmax_t  static_min_max_signed_type;
                     ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:31:21: error: 'uintmax_t' in namespace 'boost' does not name a type
      typedef boost::uintmax_t static_log2_argument_type;
                     ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:141:11: error: 'static_log2_argument_type' has not been declared
 template <static_log2_argument_type Value >
           ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:149:11: error: 'static_min_max_signed_type' has not been declared
 template <static_min_max_signed_type Value1, static_min_max_signed_type Value2>
           ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:149:46: error: 'static_min_max_signed_type' has not been declared
 template <static_min_max_signed_type Value1, static_min_max_signed_type Value2>
                                              ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:152:11: error: 'static_min_max_signed_type' has not been declared
 template <static_min_max_signed_type Value1, static_min_max_signed_type Value2>
           ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:152:46: error: 'static_min_max_signed_type' has not been declared
 template <static_min_max_signed_type Value1, static_min_max_signed_type Value2>
                                              ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:155:11: error: 'static_min_max_unsigned_type' has not been declared
 template <static_min_max_unsigned_type Value1, static_min_max_unsigned_type Value2>
           ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:155:48: error: 'static_min_max_unsigned_type' has not been declared
 template <static_min_max_unsigned_type Value1, static_min_max_unsigned_type Value2>
                                                ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:158:11: error: 'static_min_max_unsigned_type' has not been declared
 template <static_min_max_unsigned_type Value1, static_min_max_unsigned_type Value2>
           ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:158:48: error: 'static_min_max_unsigned_type' has not been declared
 template <static_min_max_unsigned_type Value1, static_min_max_unsigned_type Value2>
                                                ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:167:21: error: 'uintmax_t' in namespace 'boost' does not name a type
      typedef boost::uintmax_t static_gcd_type;
                     ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:170:12: error: 'static_gcd_type' has not been declared
 template < static_gcd_type Value1, static_gcd_type Value2 >
            ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:170:36: error: 'static_gcd_type' has not been declared
 template < static_gcd_type Value1, static_gcd_type Value2 >
                                    ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:172:12: error: 'static_gcd_type' has not been declared
 template < static_gcd_type Value1, static_gcd_type Value2 >
            ^
/home/a_sm/mmsource-1.10/boost/integer_fwd.hpp:172:36: error: 'static_gcd_type' has not been declared
 template < static_gcd_type Value1, static_gcd_type Value2 >
                                    ^
In file included from /home/a_sm/mmsource-1.10/boost/functional/hash/detail/hash_float.hpp:17:0,
                 from /home/a_sm/mmsource-1.10/boost/functional/hash/hash.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/functional/hash.hpp:6,
                 from /home/a_sm/mmsource-1.10/boost/thread/detail/thread.hpp:38,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/integer/static_log2.hpp:44:21: error: 'static_log2_argument_type' in namespace 'boost' does not name a type
      typedef boost::static_log2_argument_type argument_type;
                     ^
In file included from /home/a_sm/mmsource-1.10/boost/config.hpp:61:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/config.hpp:26,
                 from /home/a_sm/mmsource-1.10/boost/asio/async_result.hpp:18,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:20,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/integer/static_log2.hpp:50:58: error: a function call cannot appear in a constant-expression
          BOOST_STATIC_CONSTANT(bool, c = (argument_type(1) << n << n) != 0);
                                                          ^
/home/a_sm/mmsource-1.10/boost/integer/static_log2.hpp:53:51: error: template argument 1 is invalid
              value = !c*n + choose_initial_n<2*c*n>::value
                                                   ^
In file included from /home/a_sm/mmsource-1.10/boost/functional/hash/detail/hash_float.hpp:17:0,
                 from /home/a_sm/mmsource-1.10/boost/functional/hash/hash.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/functional/hash.hpp:6,
                 from /home/a_sm/mmsource-1.10/boost/thread/detail/thread.hpp:38,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:22,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/integer/static_log2.hpp:84:16: error: 'argument_type' has not been declared
      template <argument_type x, result_type n = initial_n>
                ^
/home/a_sm/mmsource-1.10/boost/integer/static_log2.hpp:109:12: error: 'static_log2_argument_type' has not been declared
  template <static_log2_argument_type x>
            ^
In file included from /home/a_sm/mmsource-1.10/boost/thread/thread_only.hpp:26:0,
                 from /home/a_sm/mmsource-1.10/boost/thread/thread.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:13,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/thread/v2/thread.hpp: In function 'void boost::this_thread::no_interruption_point::sleep_for(const boost::chrono::duration<Rep, Period>&)':
/home/a_sm/mmsource-1.10/boost/thread/v2/thread.hpp:44:39: error: 'nanoseconds' is not a class or namespace
           duration<long double> Max = nanoseconds::max BOOST_PREVENT_MACRO_SUBSTITUTION ();
                                       ^
/home/a_sm/mmsource-1.10/boost/thread/v2/thread.hpp:53:20: error: 'nanoseconds' is not a class or namespace
               ns = nanoseconds:: max BOOST_PREVENT_MACRO_SUBSTITUTION ();
                    ^
/home/a_sm/mmsource-1.10/boost/thread/v2/thread.hpp: In function 'void boost::this_thread::sleep_for(const boost::chrono::duration<Rep, Period>&)':
/home/a_sm/mmsource-1.10/boost/thread/v2/thread.hpp:114:39: error: 'nanoseconds' is not a class or namespace
           duration<long double> Max = nanoseconds::max BOOST_PREVENT_MACRO_SUBSTITUTION ();
                                       ^
/home/a_sm/mmsource-1.10/boost/thread/v2/thread.hpp:123:20: error: 'nanoseconds' is not a class or namespace
               ns = nanoseconds:: max BOOST_PREVENT_MACRO_SUBSTITUTION ();
                    ^
In file included from /home/a_sm/mmsource-1.10/boost/atomic/detail/ops_gcc_atomic.hpp:19:0,
                 from /home/a_sm/mmsource-1.10/boost/atomic/detail/operations_lockfree.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/atomic/detail/operations.hpp:17,
                 from /home/a_sm/mmsource-1.10/boost/atomic/fences.hpp:21,
                 from /home/a_sm/mmsource-1.10/boost/atomic/atomic.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/atomic.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/once_atomic.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/thread/once.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:17,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:168:20: error: 'uint64_t' in namespace 'boost' does not name a type
     typedef boost::uint64_t type;
                    ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:172:28: error: invalid use of template-name 'boost::type' without an argument list
         BOOST_ALIGNMENT(8) type value;
                            ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:175:65: error: expected ')' before 'v'
         BOOST_FORCEINLINE BOOST_CONSTEXPR explicit aligned(type v) BOOST_NOEXCEPT : value(v) {}
                                                                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:227:12: error: 'uint64_t' in namespace 'boost' does not name a type
     boost::uint64_t data[2];
            ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp: In member function 'bool boost::atomics::detail::storage128_t::operator!() const':
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:231:16: error: 'data' was not declared in this scope
         return data[0] == 0 && data[1] == 0;
                ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp: In function 'bool boost::atomics::detail::operator==(const boost::atomics::detail::storage128_t&, const boost::atomics::detail::storage128_t&)':
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:237:17: error: 'const struct boost::atomics::detail::storage128_t' has no member named 'data'
     return left.data[0] == right.data[0] && left.data[1] == right.data[1];
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:237:34: error: 'const struct boost::atomics::detail::storage128_t' has no member named 'data'
     return left.data[0] == right.data[0] && left.data[1] == right.data[1];
                                  ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:237:50: error: 'const struct boost::atomics::detail::storage128_t' has no member named 'data'
     return left.data[0] == right.data[0] && left.data[1] == right.data[1];
                                                  ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:237:67: error: 'const struct boost::atomics::detail::storage128_t' has no member named 'data'
     return left.data[0] == right.data[0] && left.data[1] == right.data[1];
                                                                   ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp: In function 'void boost::atomics::detail::non_atomic_load(const volatile boost::atomics::detail::storage128_t&, boost::atomics::detail::storage128_t&)':
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:246:8: error: 'struct boost::atomics::detail::storage128_t' has no member named 'data'
     to.data[0] = from.data[0];
        ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:246:23: error: 'const volatile struct boost::atomics::detail::storage128_t' has no member named 'data'
     to.data[0] = from.data[0];
                       ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:247:8: error: 'struct boost::atomics::detail::storage128_t' has no member named 'data'
     to.data[1] = from.data[1];
        ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/storage_type.hpp:247:23: error: 'const volatile struct boost::atomics::detail::storage128_t' has no member named 'data'
     to.data[1] = from.data[1];
                       ^
In file included from /home/a_sm/mmsource-1.10/boost/atomic/atomic.hpp:22:0,
                 from /home/a_sm/mmsource-1.10/boost/atomic.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/thread/pthread/once_atomic.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/thread/once.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/thread.hpp:17,
                 from Socket.h:8,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp: At global scope:
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:724:17: error: 'uint64_t' was not declared in this scope
 typedef atomic< uint64_t > atomic_uint64_t;
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:724:26: error: template argument 1 is invalid
 typedef atomic< uint64_t > atomic_uint64_t;
                          ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:724:43: error: invalid type in declaration before ';' token
 typedef atomic< uint64_t > atomic_uint64_t;
                                           ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:746:17: error: 'int_least64_t' was not declared in this scope
 typedef atomic< int_least64_t > atomic_int_least64_t;
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:746:31: error: template argument 1 is invalid
 typedef atomic< int_least64_t > atomic_int_least64_t;
                               ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:746:53: error: invalid type in declaration before ';' token
 typedef atomic< int_least64_t > atomic_int_least64_t;
                                                     ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:747:17: error: 'uint_least64_t' was not declared in this scope
 typedef atomic< uint_least64_t > atomic_uint_least64_t;
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:747:32: error: template argument 1 is invalid
 typedef atomic< uint_least64_t > atomic_uint_least64_t;
                                ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:747:55: error: invalid type in declaration before ';' token
 typedef atomic< uint_least64_t > atomic_uint_least64_t;
                                                       ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:754:17: error: 'int_fast64_t' was not declared in this scope
 typedef atomic< int_fast64_t > atomic_int_fast64_t;
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:754:30: error: template argument 1 is invalid
 typedef atomic< int_fast64_t > atomic_int_fast64_t;
                              ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:754:51: error: invalid type in declaration before ';' token
 typedef atomic< int_fast64_t > atomic_int_fast64_t;
                                                   ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:755:17: error: 'uint_fast64_t' was not declared in this scope
 typedef atomic< uint_fast64_t > atomic_uint_fast64_t;
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:755:31: error: template argument 1 is invalid
 typedef atomic< uint_fast64_t > atomic_uint_fast64_t;
                               ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:755:53: error: invalid type in declaration before ';' token
 typedef atomic< uint_fast64_t > atomic_uint_fast64_t;
                                                     ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:756:17: error: 'intmax_t' was not declared in this scope
 typedef atomic< intmax_t > atomic_intmax_t;
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:756:26: error: template argument 1 is invalid
 typedef atomic< intmax_t > atomic_intmax_t;
                          ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:756:43: error: invalid type in declaration before ';' token
 typedef atomic< intmax_t > atomic_intmax_t;
                                           ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:757:17: error: 'uintmax_t' was not declared in this scope
 typedef atomic< uintmax_t > atomic_uintmax_t;
                 ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:757:27: error: template argument 1 is invalid
 typedef atomic< uintmax_t > atomic_uintmax_t;
                           ^
/home/a_sm/mmsource-1.10/boost/atomic/detail/atomic_template.hpp:757:45: error: invalid type in declaration before ';' token
 typedef atomic< uintmax_t > atomic_uintmax_t;
                                             ^
In file included from /home/a_sm/mmsource-1.10/boost/date_time/time_duration.hpp:14:0,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/posix_time_config.hpp:16,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/posix_time_system.hpp:13,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/ptime.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/date_time/posix_time/posix_time_types.hpp:12,
                 from /home/a_sm/mmsource-1.10/boost/asio/time_traits.hpp:23,
                 from /home/a_sm/mmsource-1.10/boost/asio/deadline_timer_service.hpp:27,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_deadline_timer.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:22,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/integer.hpp:117:7: error: 'intmax_t' is not a member of 'boost'
       BOOST_STATIC_ASSERT_MSG(Bits <= (int)(sizeof(boost::intmax_t) * CHAR_BIT),
       ^
/home/a_sm/mmsource-1.10/boost/integer.hpp:117:7: error: template argument 1 is invalid
       BOOST_STATIC_ASSERT_MSG(Bits <= (int)(sizeof(boost::intmax_t) * CHAR_BIT),
       ^
/home/a_sm/mmsource-1.10/boost/integer.hpp:138:6: error: 'uintmax_t' is not a member of 'boost'
      BOOST_STATIC_ASSERT_MSG(Bits <= (int)(sizeof(boost::uintmax_t) * CHAR_BIT),
      ^
/home/a_sm/mmsource-1.10/boost/integer.hpp:138:6: error: template argument 1 is invalid
      BOOST_STATIC_ASSERT_MSG(Bits <= (int)(sizeof(boost::uintmax_t) * CHAR_BIT),
      ^
In file included from /home/a_sm/sourcemod/public/IShareSys.h:40:0,
                 from /home/a_sm/sourcemod/public/IExtensionSys.h:35,
                 from sdk/smsdk_ext.h:41,
                 from Socket.h:11,
                 from Socket.cpp:1:
/usr/include/sp_vm_types.h: In constructor 'sp_native_t::sp_native_t()':
/usr/include/sp_vm_types.h:162:14: error: 'nullptr' was not declared in this scope
    : unused1(nullptr),
              ^
In file included from /home/a_sm/sourcemod/public/IShareSys.h:41:0,
                 from /home/a_sm/sourcemod/public/IExtensionSys.h:35,
                 from sdk/smsdk_ext.h:41,
                 from Socket.h:11,
                 from Socket.cpp:1:
/usr/include/sp_vm_api.h: At global scope:
/usr/include/sp_vm_api.h:256:40: error: 'nullptr' was not declared in this scope
     virtual bool Invoke(cell_t *rval = nullptr) = 0;
                                        ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:25:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/system/error_code.hpp:221:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
/home/a_sm/mmsource-1.10/boost/system/error_code.hpp:222:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
/home/a_sm/mmsource-1.10/boost/system/error_code.hpp:223:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
In file included from /home/a_sm/mmsource-1.10/boost/asio/detail/impl/posix_mutex.ipp:24:0,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/posix_mutex.hpp:73,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/mutex.hpp:25,
                 from /home/a_sm/mmsource-1.10/boost/asio/detail/service_registry.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/impl/io_service.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/io_service.hpp:767,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_io_object.hpp:19,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio/basic_datagram_socket.hpp:20,
                 from /home/a_sm/mmsource-1.10/boost/asio.hpp:21,
                 from Socket.h:7,
                 from Socket.cpp:1:
/home/a_sm/mmsource-1.10/boost/asio/error.hpp:258:45: warning: 'boost::asio::error::system_category' defined but not used [-Wunused-variable]
 static const boost::system::error_category& system_category
                                             ^
/home/a_sm/mmsource-1.10/boost/asio/error.hpp:260:45: warning: 'boost::asio::error::netdb_category' defined but not used [-Wunused-variable]
 static const boost::system::error_category& netdb_category
                                             ^
/home/a_sm/mmsource-1.10/boost/asio/error.hpp:262:45: warning: 'boost::asio::error::addrinfo_category' defined but not used [-Wunused-variable]
 static const boost::system::error_category& addrinfo_category
                                             ^
/home/a_sm/mmsource-1.10/boost/asio/error.hpp:264:45: warning: 'boost::asio::error::misc_category' defined but not used [-Wunused-variable]
 static const boost::system::error_category& misc_category
                                             ^
Makefile:55: recipe for target 'Release/Socket.ox' failed
make[1]: *** [Release/Socket.ox] Error 1
make[1]: Leaving directory '/home/a_sm/sm-ext-socket'
Makefile:61: recipe for target 'all' failed
make: *** [all] Error 2
root@vds-for-test:/home/a_sm/sm-ext-socket#
ls -l
Quote:
root@vds-for-test:/home/a_sm/sm-ext-socket# ls -l
total 196
-rw-r--r-- 1 root root 6606 Mar 26 02:00 Callback.cpp
-rw-r--r-- 1 root root 1081 Mar 26 02:00 Callback.h
-rw-r--r-- 1 root root 1416 Mar 26 02:00 CallbackHandler.cpp
-rw-r--r-- 1 root root 653 Mar 26 02:00 CallbackHandler.h
-rw-r--r-- 1 root root 1195 Mar 26 02:00 Define.h
-rw-r--r-- 1 root root 15900 Mar 26 02:00 Extension.cpp
-rw-r--r-- 1 root root 473 Mar 26 02:00 Extension.h
-rw-r--r-- 1 root root 18025 Mar 26 02:00 LICENSE
-rw-r--r-- 1 root root 2162 Mar 26 023 Makefile
-rw-r--r-- 1 root root 737 Mar 26 02:00 README.md
drwxr-xr-x 3 root root 4096 Mar 26 13:05 Release
-rw-r--r-- 1 root root 24343 Mar 26 02:00 Socket.cpp
-rw-r--r-- 1 root root 2994 Mar 26 02:00 Socket.h
-rw-r--r-- 1 root root 2780 Mar 26 02:00 SocketHandler.cpp
-rw-r--r-- 1 root root 1012 Mar 26 02:00 SocketHandler.h
drwxr-xr-x 2 root root 4096 Mar 26 02:00 examples
-rw-r--r-- 1 root root 35147 Mar 26 02:00 gpl-3.0.txt
-rw-r--r-- 1 root root 3986 Mar 26 02:00 license.txt
drwxr-xr-x 2 root root 4096 Mar 26 02:00 msvc10
drwxr-xr-x 2 root root 4096 Mar 26 02:00 sdk
-rw-r--r-- 1 root root 7016 Mar 26 02:00 sm_ext_socket.kdevelop
-rw-r--r-- 1 root root 387 Mar 26 02:00 sm_ext_socket.kdevelop.filelist
-rw-r--r-- 1 root root 16895 Mar 26 02:00 socket.inc

Last edited by sahapro33; 03-26-2016 at 13:08.
sahapro33 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-26-2016 , 15:14   Re: Building Socket Ext
Reply With Quote #4

That doesn't look right as MMSource 1.10's source doesn't have stdint.h
WildCard65 is offline
sahapro33
Member
Join Date: Mar 2014
Old 03-26-2016 , 15:49   Re: Building Socket Ext
Reply With Quote #5

You can share prepared Sourcemod, MM, for the assembly of socket?
sahapro33 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-26-2016 , 16:13   Re: Building Socket Ext
Reply With Quote #6

First, run this in folder where you want SOURCe copies of SM and it's dependencies:
Code:
git clone --recursive https://github.com/alliedmodders/sourcemod.git && cd sourcemod && git checkout 1.7-dev && cd ../
then run this(same folder):
Code:
bash sourcemod/tools/checkout-deps.sh

Last edited by WildCard65; 03-26-2016 at 16:14.
WildCard65 is offline
sahapro33
Member
Join Date: Mar 2014
Old 03-26-2016 , 16:26   Re: Building Socket Ext
Reply With Quote #7

/del

Last edited by sahapro33; 03-26-2016 at 16:29.
sahapro33 is offline
sahapro33
Member
Join Date: Mar 2014
Old 03-26-2016 , 16:36   Re: Building Socket Ext
Reply With Quote #8

Errors:
Quote:
root@vds-for-test:/home/a_sm/sm-ext-socket# make
mkdir -p Release/sdk
make extension
make[1]: Entering directory '/home/a_sm/sm-ext-socket'
gcc -I. -I/home/a_sm/metamod-source -I/home/a_sm/metamod-source/sourcehook -I/home/a_sm/metamod-s
ource/sourcemm -I/home/a_sm/sourcemod/public -I/home/a_sm/sourcemod/public/sourcepawn -I/home/a_s
m/sourcemod/public/extensions -D_LINUX -DSOURCEMOD_BUILD -Wall -fPIC -m32 -O3 -funroll-loops -s -
pipe -fno-strict-aliasing -o Release/Socket.ox -c Socket.cpp
In file included from /home/a_sm/sourcemod/public/IExtensionSys.h5:0,
from sdk/smsdk_ext.h:41,
from Socket.h:11,
from Socket.cpp:1:
/home/a_sm/sourcemod/public/IShareSys.h:40:25: fatal error: sp_vm_types.h: No such file or direct
ory
#include <sp_vm_types.h>
^
compilation terminated.
Makefile:55: recipe for target 'Release/Socket.ox' failed
make[1]: *** [Release/Socket.ox] Error 1
make[1]: Leaving directory '/home/a_sm/sm-ext-socket'
Makefile:61: recipe for target 'all' failed
make: *** [all] Error 2
sahapro33 is offline
sahapro33
Member
Join Date: Mar 2014
Old 03-26-2016 , 16:59   Re: Building Socket Ext
Reply With Quote #9

Quote:
root@vds-for-test:/home/a_sm/sourcemod/sourcepawn/include# ls -l
total 76
drwxr-xr-x 2 root root 4096 Mar 26 16:03 smx
-rw-r--r-- 1 root root 2239 Mar 26 16:03 sp_typeutil.h
-rw-r--r-- 1 root root 51142 Mar 26 16:03 sp_vm_api.h
-rw-r--r-- 1 root root 1977 Mar 26 16:03 sp_vm_base.h
-rw-r--r-- 1 root root 9434 Mar 26 16:03 sp_vm_types.h
root@vds-for-test:/home/a_sm/sourcemod/sourcepawn/include
sahapro33 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-26-2016 , 18:58   Re: Building Socket Ext
Reply With Quote #10

You didn't run the command: "git checkout 1.7-dev", but if you WANT to build against SM 1.8, change the makefile so it looks in "sourcemod/sourcepawn/include" instead of "sourcemod/public/sourcepawn"

and don't forget to get the makefile to look in the follow directories also(Applies to both 1.7 and 1.:
"sourcemod/public/amtl"
"sourcemod/public/amtl/amtl"

Last edited by WildCard65; 03-26-2016 at 18:59.
WildCard65 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode