Re: [OpenSIPS-Users] Installing OpenSIPS 2.1.0 gives error
Thanks again worked this time. (Y) On Fri, Mar 6, 2015 at 7:21 PM, SamyGo wrote: > Thanks for the fix, will test it now. > > On Fri, Mar 6, 2015 at 5:39 PM, Liviu Chircu wrote: > >> 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 Developerhttp://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 >> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Installing OpenSIPS 2.1.0 gives error
Thanks for the fix, will test it now. On Fri, Mar 6, 2015 at 5:39 PM, Liviu Chircu wrote: > 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 Developerhttp://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 > listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Installing OpenSIPS 2.1.0 gives error
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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Installing OpenSIPS 2.1.0 gives error
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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users