Share

CPP Socket library

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

compiling

You are viewing a single message from this topic. View all messages.

  1. 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
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.