< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] reSIProcate compilation errors on Fedora 15 & network down notification issue


On Tue, Sep 20, 2011 at 12:18 PM, he yaxin <crazyplayer1983@xxxxxxxxxxxx> wrote:

Hi,

I’m trying to get reSIProcate built on Fedaro 15. I believe I have done everything said in the “Quick Subversion Checkout and Compilation HOWTO” for the compilation, but I am still getting errors:

Some of the errors are as follows:

Line 28 of ParserContainer.hxx:
typedef ptrdiff_t difference_type;
The compiler is saying “ptrdiff_t” is not defined

Line 4282 of dumTests.cxx
if(signal(SIGPIPE, SIG_IGN)==SIG_ERR)
The compiler is saying “signal”, “SIGPIPE”, “SIG_IGN” and “SIG_ERR” were not declared in the scope

Line 93 of DtlsSocket.hxx and Line 48 of FlowDtlsSocketContext.cxx
SRTP_PROTECTION_PROFILE* getSrtpProfile();
SRTP_PROTECTION_PROTFILE *srtp_profile;
The compiler is saying “SRTP_PROTECTION_PROFILE” is not defined

..........

According to the tutorial, everything should be compiled OK, but, apparently I got errors…I’m new to the Linux OS and I may not have done the configuration right on the makefile. Any veterans or people who have successfully resolved such issues could shed some light on this? Thanks very much sincerely.

The other issue is that has there been any implementation done in terms of network down notification or the reSIProcate Stack down notification in reSIProcate? There was a previous post saying that network down notification is not implemented because the actual code would be OS specific, but that post was 6 years ago.

 

Alex


_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/

Hi,

Are you trying to compile the mainline or a branch? To compile the main on Fedora 15 you need to apply this patch:

Index: resip/stack/ParserContainer.hxx
===================================================================
--- resip/stack/ParserContainer.hxx     (revision 9267)
+++ resip/stack/ParserContainer.hxx     (working copy)
@@ -10,6 +10,8 @@
 namespace resip
 {

+   using std::ptrdiff_t;
+
 /**
    @ingroup resip_crit
    @brief Container class for ParserCategory, used by SipMessage.

I'll see about having this patch checked in the repository.

I do not know about the other errors... I'll look into them when I get a chance. Same for network down detection: I am not aware of anything currently implementing this in the code base.

Hope this helps,
Francis