2005-04-01 07:54:07 UTC
What do I forgot to include?? I receive following compile error:
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -fexceptions -DHAVE_LIBPTHREAD -c tcpthreadedserver.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -fexceptions -DHAVE_LIBPTHREAD -Wp,-MD,.deps/tcpthreadedserver.pp -c tcpthreadedserver.cpp -fPIC -DPIC -o tcpthreadedserver.lo
In file included from ../cppsocket/socket.h:31,
from ../cppsocket/tcpconnection.h:26,
from ../cppsocket/tcpserver.h:26,
from ../cppsocket/tcpthreadedserver.h:30,
from tcpthreadedserver.cpp:23:
../cppsocket/option.h:181: error: `SOL_IP' was not declared in this scope
../cppsocket/option.h:181: error: `ip_opts' was not declared in this scope
../cppsocket/option.h:181: error: template argument 1 is invalid
../cppsocket/option.h:181: error: template argument 3 is invalid
../cppsocket/option.h:181: error: ISO C++ forbids declaration of `Options' with no type
../cppsocket/option.h:184: error: `SOL_IP' was not declared in this scope