>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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2000-12-15
I solved that by :
rpm --rebuild ###.src.rmp
rpm -Uvh ###.rpm
and using flags as given in conf.def
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>> 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 ?
I solved that by :
rpm --rebuild ###.src.rmp
rpm -Uvh ###.rpm
and using flags as given in conf.def