Menu

Building demo examples out of the box

Help
Anonymous
2000-12-02
2000-12-15
  • Anonymous

    Anonymous - 2000-12-02

    >> Building tcp service gives following errors:

    >tcpservice.cpp:91: warning: `class ts_list_head' has virtual functions but non-virtual destructor
    >tcpservice.cpp: In method `ChatterSession::ChatterSession(cc_TCPSocket &, cc_SocketService *, ts_list_head *)':
    >tcpservice.cpp:175: `tpport_t' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.) parse error before `;'
    >tcpservice.cpp:176: `port' undeclared (first use this function)
    >tcpservice.cpp: At top level:
    >tcpservice.cpp:373: warning: default argument given for parameter 1 of `int CCExec::RunApp(char * = "localhost")'
    >tcpservice.cpp:302: warning: after previous specification in `int CCExec::RunApp(char * = "localhost")'

    >>I am using linux Mandrake 7.2 and g++ as follows :g++ -Wall -W -pedantic -D_REENTRANT -D_THREAD_SAFE  -O2 -fsigned-char
    -D_GNU_SOURCE -pthread -lccxx   -c -o tcpservice.o tcpservice.cpp

    >>Attempts to build my personal (elementary) code from USPSocket class breaks on :

    servUDP.o(.rodata+0x190): undefined reference to `cc_TCPStream type_info node'

    Am I doing wrong ? How can I find a solution ?

     
    • Anonymous

      Anonymous - 2000-12-15

      I solved that by :

      rpm --rebuild ###.src.rmp
      rpm -Uvh ###.rpm

      and using flags as given in conf.def

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.