Hi Maksym,

 

It doesn't work and got the error as below:

if gcc -DHAVE_CONFIG_H -I. -I. -I.    -std=gnu99 -Wall -Wno-uninitialized -g 
-O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o rtpp_notify.o 
rtpp_notify.c; \
        then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f 
".deps/rtpp_notify.Tpo"; exit 1; fi
rtpp_notify.c: In function `reconnect_timeout_handler':
rtpp_notify.c:241: error: `PF_LOCAL' undeclared (first use in this function)
rtpp_notify.c:241: error: (Each undeclared identifier is reported only once
rtpp_notify.c:241: error: for each function it appears in.)
gmake[1]: *** [rtpp_notify.o] Error 1
gmake[1]: Leaving directory `/opt/csw/src/rtpproxy'
gmake: *** [all] Error 2
 

I have tried some suggestion on the net as below, after add these, it can go 
through the gmake, and I also can run the rtpproxy, but I do not sure if it 
will cause any issue as now my kamailio can not access the rtpproxy, the 
nathelper (kamailio 3.0 on the same server) enables and disables the rtpproxy 
continually, and fail to work.


#ifndef AF_LOCAL
#define AF_LOCAL AF_UNIX
#endif

 

 

Thanks,

Kevin
> Date: Wed, 28 Jul 2010 11:26:29 -0700
> From: sobo...@sippysoft.com
> To: users@rtpproxy.org
> CC: kevin....@hotmail.com
> Subject: Re: [RTPproxy Users] compile rtpproxy on Solaris 10 issue
> 
> On 7/28/2010 9:02 AM, JinKevin wrote:
> > 
> > Does Anyone can help on this issue?
> > 
> > Thanks,
> > Kevin
> > ------------------------------------------------------------------------
> > From: kevin....@hotmail.com
> > To: users@rtpproxy.org
> > Subject: compile rtpproxy on Solaris 10 issue
> > Date: Fri, 23 Jul 2010 13:37:01 +0800
> > 
> > Hi All,
> > 
> > When do the gmake on the Solaris 10 Sparc, got the error below, please 
> > suggest how to fix the issue. I'm doing the installation based on the 
> > latest rtpporxy version.
> > 
> > if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized 
> > -g -O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o 
> > rtpp_notify.o rtpp_notify.c; \
> > then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f 
> > ".deps/rtpp_notify.Tpo"; exit 1; fi
> > rtpp_notify.c: In function `reconnect_timeout_handler':
> > rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function)
> > rtpp_notify.c:240: error: (Each undeclared identifier is reported only once
> > rtpp_notify.c:240: error: for each function it appears in.)
> > gmake[1]: *** [rtpp_notify.o] Error 1
> > gmake[1]: Leaving directory `/opt/csw/src/rtpproxy'
> > gmake: *** [all] Error 2
> 
> Dear Kevin,
> 
> Can you edit rtpp_notify.c and replace all occirences of AF_LOCAL with
> PF_LOCAL and let me know if it helps. If it does I will integrate the
> fix into the official build.
> 
> Regards,
> -- 
> Maksym Sobolyev
> Sippy Software, Inc.
> Internet Telephony (VoIP) Experts
> T/F: +1-646-651-1110
> Web: http://www.sippysoft.com
> MSN: sa...@sippysoft.com
> Skype: SippySoft
                                          
_______________________________________________
Users mailing list
Users@rtpproxy.org
http://lists.rtpproxy.org/mailman/listinfo/users

Reply via email to