Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
Thanks, that was a simple fix. On Jul 6, 2011, at 4:21 AM, Denis Putyato wrote: > " b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In > file included from records.h:36, from b2b_logic.c:41:" > > You should install libxml development (libxml2-dev) package in your OS. > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Mark Holloway > Sent: Wednesday, July 06, 2011 3:14 PM > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not > compile > > Here is the complete output for b2b_logic > > Compiling b2b_logic.c > gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall > -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott > -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls > -DMOD_NAME='"b2b_logic"'-DNAME='"opensips"' -DVERSION='"1.6.0-notls"' > -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 > -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC > -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE > -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC > -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 > -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL > -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL > -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include/libxml2 > -I/usr/local/include/libxml2 -I/usr/local/include -c b2b_logic.c -o > b2b_logic.o > b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory > In file included from records.h:36, > from b2b_logic.c:41: > b2b_logic.h:55: error: expected specifier-qualifier-list before ‘xmlNodePtr’ > b2b_logic.h:67: error: expected specifier-qualifier-list before ‘xmlDocPtr’ > In file included from b2b_logic.c:41: > records.h:92: error: expected declaration specifiers or ‘...’ before > ‘xmlNodePtr’ > In file included from b2b_logic.c:42: > pidf.h:32: error: expected ‘)’ before ‘node’ > pidf.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘xmlNodeGetChildByName’ > pidf.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘xmlDocGetNodeByName’ > pidf.h:38: error: expected ‘)’ before ‘root’ > b2b_logic.c: In function ‘load_scenario’: > b2b_logic.c:184: error: ‘xmlDocPtr’ undeclared (first use in this function) > b2b_logic.c:184: error: (Each undeclared identifier is reported only once > b2b_logic.c:184: error: for each function it appears in.) > b2b_logic.c:184: error: expected ‘;’ before ‘doc’ > b2b_logic.c:185: error: ‘xmlNodePtr’ undeclared (first use in this function) > b2b_logic.c:185: error: expected ‘;’ before ‘node’ > b2b_logic.c:188: error: expected ‘;’ before ‘rules_node’ > b2b_logic.c:192: error: ‘doc’ undeclared (first use in this function) > b2b_logic.c:192: warning: implicit declaration of function ‘xmlParseFile’ > b2b_logic.c:203: warning: implicit declaration of function ‘xmlFreeDoc’ > b2b_logic.c:213: warning: implicit declaration of function > ‘xmlNodeGetAttrContentByName’ > b2b_logic.c:236: warning: implicit declaration of function ‘xmlFree’ > b2b_logic.c:243: error: ‘b2b_scenario_t’ has no member named ‘init_node’ > b2b_logic.c:243: warning: implicit declaration of function > ‘xmlDocGetNodeByName’ > b2b_logic.c:244: error: ‘b2b_scenario_t’ has no member named ‘init_node’ > b2b_logic.c:251: error: ‘node’ undeclared (first use in this function) > b2b_logic.c:258: error: ‘rules_node’ undeclared (first use in this function) > b2b_logic.c:258: warning: implicit declaration of function > ‘xmlNodeGetChildByName’ > b2b_logic.c:264: error: ‘request_node’ undeclared (first use in this function) > b2b_logic.c:266: warning: implicit declaration of function ‘xmlStrcasecmp’ > b2b_logic.c:279: error: ‘rule_node’ undeclared (first use in this function) > b2b_logic.c:291: error: ‘b2b_rule_t’ has no member named ‘next’ > b2b_logic.c:291: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ > b2b_logic.c:292: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ > b2b_logic.c:313: error: ‘b2b_rule_t’ has no member named ‘cond_node’ > b2b_logic.c:314: error: ‘b2b_rule_t’ has no member named ‘cond_node’ > b2b_logic.c:317: warning: implicit declaration of function > ‘xmlNodeGetNodeContentByName’ > b2b_logic.c:317: error: ‘b2b_rule_t’ has no member named ‘cond_node’ > b2b_logic.c:337: error: ‘b2b_rule_t’ has no member named ‘action_node’ > b2b_logic.c:344: erro
Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
" b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In file included from records.h:36, from b2b_logic.c:41:" You should install libxml development (libxml2-dev) package in your OS. -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Mark Holloway Sent: Wednesday, July 06, 2011 3:14 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile Here is the complete output for b2b_logic Compiling b2b_logic.c gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"b2b_logic"' -DNAME='"opensips"' -DVERSION='"1.6.0-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -c b2b_logic.c -o b2b_logic.o b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In file included from records.h:36, from b2b_logic.c:41: b2b_logic.h:55: error: expected specifier-qualifier-list before ‘xmlNodePtr’ b2b_logic.h:67: error: expected specifier-qualifier-list before ‘xmlDocPtr’ In file included from b2b_logic.c:41: records.h:92: error: expected declaration specifiers or ‘...’ before ‘xmlNodePtr’ In file included from b2b_logic.c:42: pidf.h:32: error: expected ‘)’ before ‘node’ pidf.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmlNodeGetChildByName’ pidf.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmlDocGetNodeByName’ pidf.h:38: error: expected ‘)’ before ‘root’ b2b_logic.c: In function ‘load_scenario’: b2b_logic.c:184: error: ‘xmlDocPtr’ undeclared (first use in this function) b2b_logic.c:184: error: (Each undeclared identifier is reported only once b2b_logic.c:184: error: for each function it appears in.) b2b_logic.c:184: error: expected ‘;’ before ‘doc’ b2b_logic.c:185: error: ‘xmlNodePtr’ undeclared (first use in this function) b2b_logic.c:185: error: expected ‘;’ before ‘node’ b2b_logic.c:188: error: expected ‘;’ before ‘rules_node’ b2b_logic.c:192: error: ‘doc’ undeclared (first use in this function) b2b_logic.c:192: warning: implicit declaration of function ‘xmlParseFile’ b2b_logic.c:203: warning: implicit declaration of function ‘xmlFreeDoc’ b2b_logic.c:213: warning: implicit declaration of function ‘xmlNodeGetAttrContentByName’ b2b_logic.c:236: warning: implicit declaration of function ‘xmlFree’ b2b_logic.c:243: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:243: warning: implicit declaration of function ‘xmlDocGetNodeByName’ b2b_logic.c:244: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:251: error: ‘node’ undeclared (first use in this function) b2b_logic.c:258: error: ‘rules_node’ undeclared (first use in this function) b2b_logic.c:258: warning: implicit declaration of function ‘xmlNodeGetChildByName’ b2b_logic.c:264: error: ‘request_node’ undeclared (first use in this function) b2b_logic.c:266: warning: implicit declaration of function ‘xmlStrcasecmp’ b2b_logic.c:279: error: ‘rule_node’ undeclared (first use in this function) b2b_logic.c:291: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c:291: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:292: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:313: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:314: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:317: warning: implicit declaration of function ‘xmlNodeGetNodeContentByName’ b2b_logic.c:317: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:337: error: ‘b2b_rule_t’ has no member named ‘action_node’ b2b_logic.c:344: error: ‘b2b_scenario_t’ has no member named ‘doc’ b2b_logic.c:345: error: ‘b2b_scenario_t’ has no member named ‘next’ b2b_logic.c:359: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:363: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c:368: error: ‘b2b_scenario_t’ has no member named ‘reply_rules’ b2b_logic.c:372: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c: In function ‘mod_destroy’: b2b_logic.c:403: error: ‘b2b_scenario_t’ has no mem
Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
xt’ b2b_logic.c: In function ‘fixup_b2b_logic’: b2b_logic.c:495: error: ‘b2b_scenario_t’ has no member named ‘next’ b2b_logic.c: In function ‘mi_trigger_scenario’: b2b_logic.c:517: error: ‘xmlNodePtr’ undeclared (first use in this function) b2b_logic.c:517: error: expected ‘;’ before ‘xml_node’ b2b_logic.c:544: error: ‘b2b_scenario_t’ has no member named ‘next’ b2b_logic.c:595: error: ‘xml_node’ undeclared (first use in this function) b2b_logic.c:595: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:598: warning: implicit declaration of function ‘xmlNodeGetContent’ b2b_logic.c:617: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:624: error: too many arguments to function ‘process_bridge_action’ make[1]: *** [b2b_logic.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/b2b_logic' make: *** [modules] Error 2 On Jul 6, 2011, at 12:25 AM, Denis Putyato wrote: > I think there were more error strings in log during compile process. Show all > error strings. > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Mark Holloway > Sent: Wednesday, July 06, 2011 11:23 AM > To: OpenSIPS users mailling list > Subject: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile > > When editing the Makefile to enable aaa_radius or b2b_logic and then > executing "make all" I continue to receive the following error: > > make[1]: *** [aaa_radius.o] Error 1 > make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/aaa_radius' > make: *** [modules] Error 2 > > make[1]: *** [b2b_logic.o] Error 1 > make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/b2b_logic' > make: *** [modules] Error 2 > > > Does anyone know what causes this? > ___ > 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 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
I think there were more error strings in log during compile process. Show all error strings. -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Mark Holloway Sent: Wednesday, July 06, 2011 11:23 AM To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile When editing the Makefile to enable aaa_radius or b2b_logic and then executing "make all" I continue to receive the following error: make[1]: *** [aaa_radius.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/aaa_radius' make: *** [modules] Error 2 make[1]: *** [b2b_logic.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/b2b_logic' make: *** [modules] Error 2 Does anyone know what causes this? ___ 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] aaa_radius and b2b_logic modules will not compile
When editing the Makefile to enable aaa_radius or b2b_logic and then executing "make all" I continue to receive the following error: make[1]: *** [aaa_radius.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/aaa_radius' make: *** [modules] Error 2 make[1]: *** [b2b_logic.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/b2b_logic' make: *** [modules] Error 2 Does anyone know what causes this? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users