[solved] skstream build errors
  • Hi, i get errors during compilation and i have no idea, what caused them.

    This is 0.3.6 version of skstream, older versions behave in the same way.
    I have gcc 4.4.1

    make all-recursive
    ...
    make[2]: Wejście do katalogu `/home/piotr/projekty/Worldforge/Biblioteki/skstream-0.3.6/skstream'
    if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -Wall -DNDEBUG -MT skstream.lo -MD -MP -MF ".deps/skstream.Tpo" -c -o skstream.lo skstream.cpp; \
    then mv -f ".deps/skstream.Tpo" ".deps/skstream.Plo"; else rm -f ".deps/skstream.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -Wall -DNDEBUG -MT skstream.lo -MD -MP -MF .deps/skstream.Tpo -c skstream.cpp -fPIC -DPIC -o .libs/skstream.o
    In file included from skstream.cpp:34:
    ../skstream/skstream.h:94: error: 'EOF' was not declared in this scope
    ../skstream/skstream.h:124: error: 'EOF' was not declared in this scope
    ../skstream/skstream.h:178: error: 'EOF' was not declared in this scope
    skstream.cpp: In constructor 'socketbuf::socketbuf(SOCKET_TYPE, unsigned int, unsigned int)':
    skstream.cpp:154: error: '::memset' has not been declared
    skstream.cpp: In member function 'virtual int socketbuf::sync()':
    skstream.cpp:192: error: the default argument for parameter 0 of 'virtual int socketbuf::overflow(int)' has not yet been parsed
    skstream.cpp: In member function 'bool dgram_socketbuf::setTarget(const std::string&, unsigned int, int)':
    skstream.cpp:393: error: '::memcpy' has not been declared
    skstream.cpp: In member function 'void tcp_socket_stream::open(const std::string&, int, bool)':
    skstream.cpp:740: error: '::memcpy' has not been declared
    skstream.cpp: In member function 'bool tcp_socket_stream::isReady(unsigned int)':
    skstream.cpp:1008: error: '::memcpy' has not been declared
    skstream.cpp: In member function 'int dgram_socket_stream::bindToIpService(int, int, int)':
    skstream.cpp:1110: error: '::memcpy' has not been declared


    Anyone have an idea?

    Regards, Peter
    ***********************SOLVED*****************************
    It's OK.
    I get the latest version using GIT (i would be nice, if there will be any info about GIT repo's on www)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID