Package: socketapi Version: 1.3.2-1 Severity: serious Tags: patch When building 'socketapi' on unstable, I get the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -Wall -O0 -g -DLINUX -O0 -g -Wall -DLINUX -c sctpsocketwrapper.cc -MT libsctpsocket_la-sctpsocketwrapper.lo -MD -MP -MF .deps/libsctpsocket_la-sctpsocketwrapper.TPlo -fPIC -DPIC -o .libs/libsctpsocket_la-sctpsocketwrapper.o sctpassociation.h:429: error: expected `)' before '*' token sctpassociation.h:439: error: ISO C++ forbids declaration of 'SCTPSocket' with no type sctpassociation.h:439: error: expected ';' before '*' token make[2]: *** [libsctpsocket_la-sctpsocketwrapper.lo] Error 1 make[2]: Leaving directory `/socketapi-1.3.2/socketapi' With the attached patch 'socketapi' can be compiled using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/socketapi-1.3.2/socketapi/sctpassociation.h ./socketapi/sctpassociation.h --- ../tmp-orig/socketapi-1.3.2/socketapi/sctpassociation.h 2004-11-19 22:30:23.000000000 +0000 +++ ./socketapi/sctpassociation.h 2005-08-14 13:23:45.000000000 +0000 @@ -47,7 +47,7 @@ #include <sctp.h> - +class SCTPSocket; /** * This structure contains defaults for an association. diff -urN ../tmp-orig/socketapi-1.3.2/socketapi/sctpsocket.h ./socketapi/sctpsocket.h --- ../tmp-orig/socketapi-1.3.2/socketapi/sctpsocket.h 2005-03-04 18:30:36.000000000 +0000 +++ ./socketapi/sctpsocket.h 2005-08-14 13:26:34.000000000 +0000 @@ -50,6 +50,7 @@ #include <sctp.h> #include <map> +class SCTPAssociation; /** * This class manages a SCTP socket (SCTP instance). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]