[OpenSIPS-Users] Installing OpenSIPS 2.1.0 gives error

Liviu Chircu liviu at opensips.org
Fri Mar 6 23:39:39 CET 2015


Hello Samy,

I moved some allocator-specific global variables in their own file, 
however the cfg.y file was referencing them regardless of the allocator 
you compile with. Fixed, and thanks for reporting!

Cheers,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 06.03.2015 23:04, SamyGo wrote:
> Hi All,
>
> Im trying to install new OpenSIPS 2.1.0 from git. Im getting 
> compilation errors; something like this.
>
> Compiling net/proto_tcp/proto_tcp.c
> Compiling net/proto_udp/proto_udp.c
> Compiling lex.yy.c
> lex.yy.c:4142:12: warning: redundant redeclaration of ‘isatty’ 
> [-Wredundant-decls]
> /usr/include/unistd.h:802:12: note: previous declaration of ‘isatty’ 
> was here
> Compiling cfg.tab.c
> Linking opensips
> cfg.tab.o: In function `yyparse':
> /usr/src/opensips/cfg.y:648: undefined reference to 
> `mem_warming_percentage'
> /usr/src/opensips/cfg.y:646: undefined reference to 
> `mem_warming_pattern_file'
> /usr/src/opensips/cfg.y:644: undefined reference to `mem_warming_enabled'
> collect2: ld returned 1 exit status
> make: *** [opensips] Error 1
>
>
> I've downloaded it from git
> git clone https://github.com/OpenSIPS/opensips.git -b 2.1.0
>
> Am I missing something, or need some external package installed to 
> have this resolved ?
>
>
> Thanks,
> Sammy
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150307/378b27eb/attachment.htm>


More information about the Users mailing list