Hi

I need help regarding support of SEMS. I am trying to compile SEMS from
http://ftp.iptel.org/pub/sems/1.1/rc1/src/sems-1.1.0-rc1.tar.gz. I even
tried previous versions of the code. None of the versions compiles.Does SEMS
is supported on solaris 9.0 SUN SPARC Netra240?
This would be a great help if i could compilation version of SEMS for
solaris 9.0 SUN SPARC Netra240.


Thanks & regards
rahul

On Thu, Jan 8, 2009 at 6:07 PM, Chatrapathi. H. Rahul <[email protected]
> wrote:

> Hi
>
> even i tried commenting  setenv function.
> Compilation further proceeds and give error.
> below is what i get.
>
>
> make[4]: Entering directory
> `/export/home/crahul/sems-1.0.0/core/plug-in/sipctrl'
> g++ -Wall -Wno-reorder -fPIC -g -O2  -DMOD_NAME=\"sipctrl\" -D_DEBUG
> -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.0.0-rc1"' -DARCH='"sparc64"'
> -DOS='"solaris"'  -DHAVE_SYS_SOCKIO_H -DBSD_COMP -fPIC -include
> compat/solaris.h -I ../.. -DMOD_NAME=\"sipctrl\" -c SipCtrlInterface.cpp -o
> SipCtrlInterface.o
> In file included from SipCtrlInterface.cpp:7:
> sip_parser.h:121: error: field `local_ip' has incomplete type
> sip_parser.h:123: error: field `remote_ip' has incomplete type
> SipCtrlInterface.cpp: In member function `virtual void
> SipCtrlInterface::handle_sip_request(const char*, sip_msg*)':
> SipCtrlInterface.cpp:469: error: 'struct sip_msg' has no member named
> 'local_ip'
> SipCtrlInterface.cpp:470: error: 'struct sip_msg' has no member named
> 'local_ip'
> SipCtrlInterface.cpp: In member function `virtual void
> SipCtrlInterface::handle_sip_reply(sip_msg*)':
> SipCtrlInterface.cpp:557: error: 'struct sip_msg' has no member named
> 'local_ip'
> SipCtrlInterface.cpp:558: error: 'struct sip_msg' has no member named
> 'local_ip'
> make[4]: *** [SipCtrlInterface.o] Error 1
> make[4]: Leaving directory
> `/export/home/crahul/sems-1.0.0/core/plug-in/sipctrl'
> make[3]: [all] Error 2 (ignored)
> make[3]: Leaving directory
> `/export/home/crahul/sems-1.0.0/core/plug-in/sipctrl'
>
> make[3]: Entering directory
> `/export/home/crahul/sems-1.0.0/core/plug-in/stats'
> g++ -Wall -Wno-reorder -fPIC -g -O2   -o sems-stats query_stats.c
> Undefined                       first referenced
>  symbol                             in file
> recv                                /var/tmp//cc4WF3yq.o
> __xnet_sendto                       /var/tmp//cc4WF3yq.o
> __xnet_socket                       /var/tmp//cc4WF3yq.o
> inet_aton                           /var/tmp//cc4WF3yq.o
> ld: fatal: Symbol referencing errors. No output written to sems-stats
> collect2: ld returned 1 exit status
> make[3]: *** [query_stats] Error 1
> make[3]: Leaving directory
> `/export/home/crahul/sems-1.0.0/core/plug-in/stats'
>
> rahul
>
>
>   On Thu, Jan 8, 2009 at 5:47 PM, Stefan Sayer <[email protected]>wrote:
>
>> Hello,
>>
>> there might be other things broken as well - I am not using solaris. But
>> it is reported to work with solaris 10.
>>
>> For the particular problem, you can try this:
>> Index: AmUtils.cpp
>> ===================================================================
>> --- AmUtils.cpp (revision 1212)
>> +++ AmUtils.cpp (working copy)
>> @@ -978,5 +978,10 @@
>>   }
>>
>>   DBG("setting %s to: '%s'\n",name,var.c_str());
>> +#ifndef BSD_COMP
>>   setenv(name,var.c_str(),1);
>> +#else
>> +  string sol_putenv = name + "=" + var;
>> +  putenv(sol_putenv.c_str());
>> +#endif
>>  }
>>
>> Or just comment the setenv function (it is only used for ivr and py_sems).
>>
>> BR
>> Stefan
>>
>> o Chatrapathi. H. Rahul [01/08/09 13:03]:
>>
>>>
>>> Hi Stefan
>>>  Thanks for the reply.
>>> I downloaded tar file that you mentioned.
>>> Actually even this load is not compiling.
>>>  I started with compiling the core using command make -C core all.
>>> I am getting error as
>>>  AmUtils.cpp: In function `void add_env_path(const char*, const
>>> std::string&)':
>>> AmUtils.cpp:981: error: `setenv' was not declared in this scope
>>> AmUtils.cpp:981: warning: unused variable 'setenv'
>>> make[1]: *** [AmUtils.o] Error 1
>>>  i am using solaris v9 for compilation.
>>> can you help me regarding this.
>>>  thanks & regards
>>>  rahul
>>>
>>>  On Wed, Jan 7, 2009 at 7:35 PM, Stefan Sayer 
>>> <[email protected]<mailto:
>>> [email protected]>> wrote:
>>>
>>>    Hello,
>>>
>>>    try with  1.1 rc1:
>>>    http://ftp.iptel.org/pub/sems/1.1/rc1/src/sems-1.1.0-rc1.tar.gz
>>>
>>>    BR
>>>    Stefan
>>>
>>>    o Chatrapathi. H. Rahul [01/07/09 14:40]:
>>>
>>>
>>>        Hi
>>>
>>>        I have downloaded sems-0.10.0 from http://www.iptel.org/sems. I
>>>        am trying to compile the SEMS on solaris v9 machine.Does SEMS is
>>>        supported on solaris v9?
>>>
>>>        If its supported getting compilation error.below is the error
>>>
>>>         sems.cpp:464: error: `SIOCGIFCONF' was not declared in this scope
>>>        sems.cpp:464: warning: unused variable 'SIOCGIFCONF'
>>>        sems.cpp: In function `std::string getLocalIP(const
>>> std::string&)':
>>>        sems.cpp:509: error: `SIOCGIFADDR' was not declared in this scope
>>>        sems.cpp:509: warning: unused variable 'SIOCGIFADDR'
>>>        sems.cpp:528: error: `SIOCGIFFLAGS' was not declared in this scope
>>>        sems.cpp:528: warning: unused variable 'SIOCGIFFLAGS'
>>>        make[2]: *** [sems.o] Error 1
>>>
>>>
>>>        please help me in compiling SEMS. or can i get some link where i
>>>        can download SEMS compatible with solaris v9.
>>>
>>>        thank you
>>>
>>>        --        Regards
>>>        Rahul
>>>
>>>
>>>
>>>  ------------------------------------------------------------------------
>>>
>>>        _______________________________________________
>>>        Sems mailing list
>>>        [email protected] <mailto:[email protected]>
>>>        http://lists.iptel.org/mailman/listinfo/sems
>>>
>>>
>>>    --    Stefan Sayer
>>>    VoIP Services
>>>
>>>    [email protected] <mailto:[email protected]>
>>>    www.iptego.com <http://www.iptego.com/>
>>>
>>>    IPTEGO GmbH
>>>    Am Borsigturm 40
>>>    13507 Berlin
>>>    Germany
>>>
>>>    Amtsgericht Charlottenburg, HRB 101010
>>>    Geschaeftsfuehrer: Alexander Hoffmann
>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>> Rahul
>>>
>>
>> --
>> Stefan Sayer
>> VoIP Services
>>
>> [email protected]
>> www.iptego.com
>>
>> IPTEGO GmbH
>> Am Borsigturm 40
>> 13507 Berlin
>> Germany
>>
>> Amtsgericht Charlottenburg, HRB 101010
>> Geschaeftsfuehrer: Alexander Hoffmann
>>
>
>
>
> --
> Regards
> Rahul
>



-- 
Regards
Rahul
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to