g++ -D_REENTRANT -I/opt/loreley/include -I../include -Wextra -Wall -Wno-unused -g -Woverloaded-virtual -Wformat=2 -Winit-self -Wswitch-enum -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -c net.cc
/opt/loreley/include/boost/archive/iterators/dataflow_exception.hpp: In member function 'virtual const char* boost::archive::iterators::dataflow_exception::what() const':
/opt/loreley/include/boost/archive/iterators/dataflow_exception.hpp:51: warning: enumeration value 'other_exception' not handled in switch
net.cc: In member function 'void net::socket::cork()':
net.cc:641: error: 'TCP_CORK' was not declared in this scope
net.cc: In member function 'void net::socket::uncork()':
net.cc:648: error: 'TCP_CORK' was not declared in this scope
net.cc: In member function 'void net::socket::mcast_join(const string&)':
net.cc:766: error: 'IPV6_ADD_MEMBERSHIP' was not declared in this scope
make[2]: *** [net.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1