Hello, I signed up with IPCB to terminate international traffic. I tried compiling their module ipcb_auth_adapter under FreeBSD 5.4 using the following syntax
gmake modules=modules/ipcb_auth_adapter modules
But all I got is a lot of errors (see below) and the module wont compile. Is some one else using IPCB for termination traffic from their SER?
gmake[1]: Entering directory `/root/ser-0.9.3/modules/ipcb_auth_adapter' ../../Makefile.rules:80: sip_md5.d: No such file or directory sip_md5.c:11:23: md5global.h: No such file or directory gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mtune=athlon -Wmain -Wimplicit -Wmissing-braces -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -c ipcb_auth_adapter.c -o ipcb_auth_adapter.o ipcb_auth_adapter.c:96: error: variable `nonce_regex' has initializer but incomplete type ipcb_auth_adapter.c:97: error: variable `realm_regex' has initializer but incomplete type ipcb_auth_adapter.c:98: error: variable `to_user_regex' has initializer but incomplete type ipcb_auth_adapter.c: In function `on_load': ipcb_auth_adapter.c:126: error: syntax error before "old_syntax" ipcb_auth_adapter.c:137: error: `old_syntax' undeclared (first use in this function) ipcb_auth_adapter.c:137: error: (Each undeclared identifier is reported only once ipcb_auth_adapter.c:137: error: for each function it appears in.) ipcb_auth_adapter.c:137: warning: implicit declaration of function `re_set_syntax' ipcb_auth_adapter.c:137: error: `RE_SYNTAX_EGREP' undeclared (first use in this function) ipcb_auth_adapter.c:139: warning: implicit declaration of function `re_compile_pattern' ipcb_auth_adapter.c:145: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:145: error: `REGS_FIXED' undeclared (first use in this function) ipcb_auth_adapter.c:146: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:147: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c: In function `on_unload': ipcb_auth_adapter.c:156: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:157: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:158: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c: In function `remove_hf': ipcb_auth_adapter.c:359: warning: implicit declaration of function `del_lump' ipcb_auth_adapter.c: In function `extract_first_group': ipcb_auth_adapter.c:373: error: variable `match' has initializer but incomplete type ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: error: storage size of 'match' isn't known ipcb_auth_adapter.c:378: warning: implicit declaration of function `re_search' ipcb_auth_adapter.c:373: warning: unused variable `match' ipcb_auth_adapter.c: At top level: ipcb_auth_adapter.c:96: error: storage size of `nonce_regex' isn't known ipcb_auth_adapter.c:97: error: storage size of `realm_regex' isn't known ipcb_auth_adapter.c:98: error: storage size of `to_user_regex' isn't known gmake[1]: *** [ipcb_auth_adapter.o] Error 1 gmake[1]: Leaving directory `/root/ser-0.9.3/modules/ipcb_auth_adapter
Where did you get the module from ? Could you send it to me ?
Jan.
On 12-08-2005 22:49, Roger Lewau wrote:
Hello, I signed up with IPCB to terminate international traffic. I tried compiling their module ipcb_auth_adapter under FreeBSD 5.4 using the following syntax
gmake modules=modules/ipcb_auth_adapter modules
But all I got is a lot of errors (see below) and the module wont compile. Is some one else using IPCB for termination traffic from their SER?
gmake[1]: Entering directory `/root/ser-0.9.3/modules/ipcb_auth_adapter' ../../Makefile.rules:80: sip_md5.d: No such file or directory sip_md5.c:11:23: md5global.h: No such file or directory gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mtune=athlon -Wmain -Wimplicit -Wmissing-braces -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -c ipcb_auth_adapter.c -o ipcb_auth_adapter.o ipcb_auth_adapter.c:96: error: variable `nonce_regex' has initializer but incomplete type ipcb_auth_adapter.c:97: error: variable `realm_regex' has initializer but incomplete type ipcb_auth_adapter.c:98: error: variable `to_user_regex' has initializer but incomplete type ipcb_auth_adapter.c: In function `on_load': ipcb_auth_adapter.c:126: error: syntax error before "old_syntax" ipcb_auth_adapter.c:137: error: `old_syntax' undeclared (first use in this function) ipcb_auth_adapter.c:137: error: (Each undeclared identifier is reported only once ipcb_auth_adapter.c:137: error: for each function it appears in.) ipcb_auth_adapter.c:137: warning: implicit declaration of function `re_set_syntax' ipcb_auth_adapter.c:137: error: `RE_SYNTAX_EGREP' undeclared (first use in this function) ipcb_auth_adapter.c:139: warning: implicit declaration of function `re_compile_pattern' ipcb_auth_adapter.c:145: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:145: error: `REGS_FIXED' undeclared (first use in this function) ipcb_auth_adapter.c:146: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:147: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c: In function `on_unload': ipcb_auth_adapter.c:156: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:157: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:158: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c: In function `remove_hf': ipcb_auth_adapter.c:359: warning: implicit declaration of function `del_lump' ipcb_auth_adapter.c: In function `extract_first_group': ipcb_auth_adapter.c:373: error: variable `match' has initializer but incomplete type ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: error: storage size of 'match' isn't known ipcb_auth_adapter.c:378: warning: implicit declaration of function `re_search' ipcb_auth_adapter.c:373: warning: unused variable `match' ipcb_auth_adapter.c: At top level: ipcb_auth_adapter.c:96: error: storage size of `nonce_regex' isn't known ipcb_auth_adapter.c:97: error: storage size of `realm_regex' isn't known ipcb_auth_adapter.c:98: error: storage size of `to_user_regex' isn't known gmake[1]: *** [ipcb_auth_adapter.o] Error 1 gmake[1]: Leaving directory `/root/ser-0.9.3/modules/ipcb_auth_adapter
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello Jan,
I got it from their helpdesk when I told them I use SER.
Sure no problem, I send it to you directly instead of to the list.
Kind regards Roger
-----Ursprungligt meddelande----- Från: Jan Janak [mailto:jan@iptel.org] Skickat: den 13 augusti 2005 00:11 Till: Roger Lewau Kopia: serusers@lists.iptel.org Ämne: Re: [Serusers] Using IPCB.net for terminatin traffic with SER
Where did you get the module from ? Could you send it to me ?
Jan.
On 12-08-2005 22:49, Roger Lewau wrote:
Hello, I signed up with IPCB to terminate international traffic. I tried compiling their module ipcb_auth_adapter under FreeBSD 5.4 using the following syntax
gmake modules=modules/ipcb_auth_adapter modules
But all I got is a lot of errors (see below) and the module wont compile. Is some one else using IPCB for termination traffic from their
SER?
gmake[1]: Entering directory `/root/ser-0.9.3/modules/ipcb_auth_adapter' ../../Makefile.rules:80: sip_md5.d: No such file or directory sip_md5.c:11:23: md5global.h: No such file or directory gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mtune=athlon -Wmain -Wimplicit -Wmissing-braces -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -c ipcb_auth_adapter.c -o ipcb_auth_adapter.o ipcb_auth_adapter.c:96: error: variable `nonce_regex' has initializer but incomplete type ipcb_auth_adapter.c:97: error: variable `realm_regex' has initializer but incomplete type ipcb_auth_adapter.c:98: error: variable `to_user_regex' has initializer but incomplete type ipcb_auth_adapter.c: In function `on_load': ipcb_auth_adapter.c:126: error: syntax error before "old_syntax" ipcb_auth_adapter.c:137: error: `old_syntax' undeclared (first use in this function) ipcb_auth_adapter.c:137: error: (Each undeclared identifier is reported only once ipcb_auth_adapter.c:137: error: for each function it appears in.) ipcb_auth_adapter.c:137: warning: implicit declaration of function `re_set_syntax' ipcb_auth_adapter.c:137: error: `RE_SYNTAX_EGREP' undeclared (first use in this function) ipcb_auth_adapter.c:139: warning: implicit declaration of function `re_compile_pattern' ipcb_auth_adapter.c:145: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:145: error: `REGS_FIXED' undeclared (first use in this function) ipcb_auth_adapter.c:146: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:147: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c: In function `on_unload': ipcb_auth_adapter.c:156: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:157: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:158: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c: In function `remove_hf': ipcb_auth_adapter.c:359: warning: implicit declaration of function `del_lump' ipcb_auth_adapter.c: In function `extract_first_group': ipcb_auth_adapter.c:373: error: variable `match' has initializer but incomplete type ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: error: storage size of 'match' isn't known ipcb_auth_adapter.c:378: warning: implicit declaration of function `re_search' ipcb_auth_adapter.c:373: warning: unused variable `match' ipcb_auth_adapter.c: At top level: ipcb_auth_adapter.c:96: error: storage size of `nonce_regex' isn't known ipcb_auth_adapter.c:97: error: storage size of `realm_regex' isn't known ipcb_auth_adapter.c:98: error: storage size of `to_user_regex' isn't known gmake[1]: *** [ipcb_auth_adapter.o] Error 1 gmake[1]: Leaving directory `/root/ser-0.9.3/modules/ipcb_auth_adapter
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi
The module does work, I used it to send traffic to ipcb. what version u got
Iqbal On 8/13/2005, "Roger Lewau" roger.lewau@serverhallen.com wrote:
Hello Jan,
I got it from their helpdesk when I told them I use SER.
Sure no problem, I send it to you directly instead of to the list.
Kind regards Roger
-----Ursprungligt meddelande----- Från: Jan Janak [mailto:jan@iptel.org] Skickat: den 13 augusti 2005 00:11 Till: Roger Lewau Kopia: serusers@lists.iptel.org Ämne: Re: [Serusers] Using IPCB.net for terminatin traffic with SER
Where did you get the module from ? Could you send it to me ?
Jan.
On 12-08-2005 22:49, Roger Lewau wrote:
Hello, I signed up with IPCB to terminate international traffic. I tried compiling their module ipcb_auth_adapter under FreeBSD 5.4 using the following syntax
gmake modules=modules/ipcb_auth_adapter modules
But all I got is a lot of errors (see below) and the module wont compile. Is some one else using IPCB for termination traffic from their
SER?
gmake[1]: Entering directory `/root/ser-0.9.3/modules/ipcb_auth_adapter' ../../Makefile.rules:80: sip_md5.d: No such file or directory sip_md5.c:11:23: md5global.h: No such file or directory gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mtune=athlon -Wmain -Wimplicit -Wmissing-braces -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -c ipcb_auth_adapter.c -o ipcb_auth_adapter.o ipcb_auth_adapter.c:96: error: variable `nonce_regex' has initializer but incomplete type ipcb_auth_adapter.c:97: error: variable `realm_regex' has initializer but incomplete type ipcb_auth_adapter.c:98: error: variable `to_user_regex' has initializer but incomplete type ipcb_auth_adapter.c: In function `on_load': ipcb_auth_adapter.c:126: error: syntax error before "old_syntax" ipcb_auth_adapter.c:137: error: `old_syntax' undeclared (first use in this function) ipcb_auth_adapter.c:137: error: (Each undeclared identifier is reported only once ipcb_auth_adapter.c:137: error: for each function it appears in.) ipcb_auth_adapter.c:137: warning: implicit declaration of function `re_set_syntax' ipcb_auth_adapter.c:137: error: `RE_SYNTAX_EGREP' undeclared (first use in this function) ipcb_auth_adapter.c:139: warning: implicit declaration of function `re_compile_pattern' ipcb_auth_adapter.c:145: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:145: error: `REGS_FIXED' undeclared (first use in this function) ipcb_auth_adapter.c:146: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:147: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c: In function `on_unload': ipcb_auth_adapter.c:156: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:157: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:158: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c: In function `remove_hf': ipcb_auth_adapter.c:359: warning: implicit declaration of function `del_lump' ipcb_auth_adapter.c: In function `extract_first_group': ipcb_auth_adapter.c:373: error: variable `match' has initializer but incomplete type ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: error: storage size of 'match' isn't known ipcb_auth_adapter.c:378: warning: implicit declaration of function `re_search' ipcb_auth_adapter.c:373: warning: unused variable `match' ipcb_auth_adapter.c: At top level: ipcb_auth_adapter.c:96: error: storage size of `nonce_regex' isn't known ipcb_auth_adapter.c:97: error: storage size of `realm_regex' isn't known ipcb_auth_adapter.c:98: error: storage size of `to_user_regex' isn't known gmake[1]: *** [ipcb_auth_adapter.o] Error 1 gmake[1]: Leaving directory `/root/ser-0.9.3/modules/ipcb_auth_adapter
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello,
Well, my problem is that I can not compile it at all... See below transcript... The module version I use is unknown/unstated (files are from 2004), my ser is 0.9.3 and my OS is FreeBSD 5.4 Release. Are you using the same setup?
Kind regards Roger -----Ursprungligt meddelande----- Från: Iqbal [mailto:iqbal@gigo.co.uk] Skickat: den 13 augusti 2005 14:53 Till: roger.lewau@serverhallen.com; jan@iptel.org Kopia: serusers@lists.iptel.org Ämne: Re: SV: [Serusers] Using IPCB.net for terminatin traffic with SER
Hi
The module does work, I used it to send traffic to ipcb. what version u got
Iqbal On 8/13/2005, "Roger Lewau" roger.lewau@serverhallen.com wrote:
Hello Jan,
I got it from their helpdesk when I told them I use SER.
Sure no problem, I send it to you directly instead of to the list.
Kind regards Roger
-----Ursprungligt meddelande----- Från: Jan Janak [mailto:jan@iptel.org] Skickat: den 13 augusti 2005 00:11 Till: Roger Lewau Kopia: serusers@lists.iptel.org Ämne: Re: [Serusers] Using IPCB.net for terminatin traffic with SER
Where did you get the module from ? Could you send it to me ?
Jan.
On 12-08-2005 22:49, Roger Lewau wrote:
Hello, I signed up with IPCB to terminate international traffic. I tried compiling their module ipcb_auth_adapter under FreeBSD 5.4 using the following syntax
gmake modules=modules/ipcb_auth_adapter modules
But all I got is a lot of errors (see below) and the module wont compile. Is some one else using IPCB for termination traffic from their
SER?
gmake[1]: Entering directory `/root/ser-0.9.3/modules/ipcb_auth_adapter' ../../Makefile.rules:80: sip_md5.d: No such file or directory sip_md5.c:11:23: md5global.h: No such file or directory gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mtune=athlon
-Wmain
-Wimplicit -Wmissing-braces -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -c ipcb_auth_adapter.c -o ipcb_auth_adapter.o ipcb_auth_adapter.c:96: error: variable `nonce_regex' has initializer but incomplete type ipcb_auth_adapter.c:97: error: variable `realm_regex' has initializer but incomplete type ipcb_auth_adapter.c:98: error: variable `to_user_regex' has initializer but incomplete type ipcb_auth_adapter.c: In function `on_load': ipcb_auth_adapter.c:126: error: syntax error before "old_syntax" ipcb_auth_adapter.c:137: error: `old_syntax' undeclared (first use in this function) ipcb_auth_adapter.c:137: error: (Each undeclared identifier is reported only once ipcb_auth_adapter.c:137: error: for each function it appears in.) ipcb_auth_adapter.c:137: warning: implicit declaration of function `re_set_syntax' ipcb_auth_adapter.c:137: error: `RE_SYNTAX_EGREP' undeclared (first use in this function) ipcb_auth_adapter.c:139: warning: implicit declaration of function `re_compile_pattern' ipcb_auth_adapter.c:145: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:145: error: `REGS_FIXED' undeclared (first use in this function) ipcb_auth_adapter.c:146: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:147: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c: In function `on_unload': ipcb_auth_adapter.c:156: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:157: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:158: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c: In function `remove_hf': ipcb_auth_adapter.c:359: warning: implicit declaration of function `del_lump' ipcb_auth_adapter.c: In function `extract_first_group': ipcb_auth_adapter.c:373: error: variable `match' has initializer but incomplete type ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: error: storage size of 'match' isn't known ipcb_auth_adapter.c:378: warning: implicit declaration of function `re_search' ipcb_auth_adapter.c:373: warning: unused variable `match' ipcb_auth_adapter.c: At top level: ipcb_auth_adapter.c:96: error: storage size of `nonce_regex' isn't known ipcb_auth_adapter.c:97: error: storage size of `realm_regex' isn't known ipcb_auth_adapter.c:98: error: storage size of `to_user_regex' isn't known gmake[1]: *** [ipcb_auth_adapter.o] Error 1 gmake[1]: Leaving directory `/root/ser-0.9.3/modules/ipcb_auth_adapter
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello again,
Fired up my WMWare Workstation and created a virtual Fedora4 installation and tried to compile the module. And Ofcourse this worked. Seems this is more of a FreeBSD compile issue. I will look further to solve this issue.
Kind regards Roger
-----Ursprungligt meddelande----- Från: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] För Roger Lewau Skickat: den 13 augusti 2005 17:17 Till: 'Iqbal'; jan@iptel.org Kopia: serusers@lists.iptel.org Ämne: SV: SV: [Serusers] Using IPCB.net for terminatin traffic with SER
Hello,
Well, my problem is that I can not compile it at all... See below transcript... The module version I use is unknown/unstated (files are from 2004), my ser is 0.9.3 and my OS is FreeBSD 5.4 Release. Are you using the same setup?
Kind regards Roger -----Ursprungligt meddelande----- Från: Iqbal [mailto:iqbal@gigo.co.uk] Skickat: den 13 augusti 2005 14:53 Till: roger.lewau@serverhallen.com; jan@iptel.org Kopia: serusers@lists.iptel.org Ämne: Re: SV: [Serusers] Using IPCB.net for terminatin traffic with SER
Hi
The module does work, I used it to send traffic to ipcb. what version u got
Iqbal On 8/13/2005, "Roger Lewau" roger.lewau@serverhallen.com wrote:
Hello Jan,
I got it from their helpdesk when I told them I use SER.
Sure no problem, I send it to you directly instead of to the list.
Kind regards Roger
-----Ursprungligt meddelande----- Från: Jan Janak [mailto:jan@iptel.org] Skickat: den 13 augusti 2005 00:11 Till: Roger Lewau Kopia: serusers@lists.iptel.org Ämne: Re: [Serusers] Using IPCB.net for terminatin traffic with SER
Where did you get the module from ? Could you send it to me ?
Jan.
On 12-08-2005 22:49, Roger Lewau wrote:
Hello, I signed up with IPCB to terminate international traffic. I tried compiling their module ipcb_auth_adapter under FreeBSD 5.4 using the following syntax
gmake modules=modules/ipcb_auth_adapter modules
But all I got is a lot of errors (see below) and the module wont compile. Is some one else using IPCB for termination traffic from their
SER?
gmake[1]: Entering directory `/root/ser-0.9.3/modules/ipcb_auth_adapter' ../../Makefile.rules:80: sip_md5.d: No such file or directory sip_md5.c:11:23: md5global.h: No such file or directory gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mtune=athlon
-Wmain
-Wimplicit -Wmissing-braces -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -c ipcb_auth_adapter.c -o ipcb_auth_adapter.o ipcb_auth_adapter.c:96: error: variable `nonce_regex' has initializer but incomplete type ipcb_auth_adapter.c:97: error: variable `realm_regex' has initializer but incomplete type ipcb_auth_adapter.c:98: error: variable `to_user_regex' has initializer but incomplete type ipcb_auth_adapter.c: In function `on_load': ipcb_auth_adapter.c:126: error: syntax error before "old_syntax" ipcb_auth_adapter.c:137: error: `old_syntax' undeclared (first use in this function) ipcb_auth_adapter.c:137: error: (Each undeclared identifier is reported only once ipcb_auth_adapter.c:137: error: for each function it appears in.) ipcb_auth_adapter.c:137: warning: implicit declaration of function `re_set_syntax' ipcb_auth_adapter.c:137: error: `RE_SYNTAX_EGREP' undeclared (first use in this function) ipcb_auth_adapter.c:139: warning: implicit declaration of function `re_compile_pattern' ipcb_auth_adapter.c:145: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:145: error: `REGS_FIXED' undeclared (first use in this function) ipcb_auth_adapter.c:146: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:147: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c: In function `on_unload': ipcb_auth_adapter.c:156: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:157: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:158: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c: In function `remove_hf': ipcb_auth_adapter.c:359: warning: implicit declaration of function `del_lump' ipcb_auth_adapter.c: In function `extract_first_group': ipcb_auth_adapter.c:373: error: variable `match' has initializer but incomplete type ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: error: storage size of 'match' isn't known ipcb_auth_adapter.c:378: warning: implicit declaration of function `re_search' ipcb_auth_adapter.c:373: warning: unused variable `match' ipcb_auth_adapter.c: At top level: ipcb_auth_adapter.c:96: error: storage size of `nonce_regex' isn't known ipcb_auth_adapter.c:97: error: storage size of `realm_regex' isn't known ipcb_auth_adapter.c:98: error: storage size of `to_user_regex' isn't known gmake[1]: *** [ipcb_auth_adapter.o] Error 1 gmake[1]: Leaving directory `/root/ser-0.9.3/modules/ipcb_auth_adapter
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Ok, I got one step closer to solving this issue. It seems that the references to regex.h in ipcb_auth_adapter.c and md5.h and md5global.h in sip_md5.c needs to be updated in order for the module to compile under FreeBSD. It seems Linux OS make use a different includes than FreeBSD. I did the following to compile the module under freebsd
In ipcb_auth_adapter.c changed #include <regex.h> to #include <gnu/regex.h>
In sip_md5.c changed #include "md5.h" to #include "../../md5.h" #include "md5global.h" to #include "../../md5global.h"
Then did gmake modules=modules/ipcb_auth_adapter modules
This successfully compiles the module under FreeBSD. BUT!!! When loading it into ser I get the the following error:
0(88218) ERROR: load_module: could not open module </usr/local/lib/ser/modules/ipcb_auth_adapter.so>: /usr/local/lib/ser/modules/ipcb_auth_adapter.so: Undefined symbol "re_compile_pattern"
I think is because ser is compiled with a different regex.h but the error still occurs when compiling with the same regex.h as the module.
It seems strange to me that gmake does not use the gnu includes instead of the make includes by default. Instead of changing the source files it should be possible to set which sets och include files that should be used during compile. Anybody who knows how to do that?
Kind regards Roger
-----Ursprungligt meddelande----- Från: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] För Roger Lewau Skickat: den 13 augusti 2005 21:20 Till: 'Iqbal'; jan@iptel.org Kopia: serusers@lists.iptel.org Ämne: SV: SV: [Serusers] Using IPCB.net for terminatin traffic with SER
Hello again,
Fired up my WMWare Workstation and created a virtual Fedora4 installation and tried to compile the module. And Ofcourse this worked. Seems this is more of a FreeBSD compile issue. I will look further to solve this issue.
Kind regards Roger
-----Ursprungligt meddelande----- Från: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] För Roger Lewau Skickat: den 13 augusti 2005 17:17 Till: 'Iqbal'; jan@iptel.org Kopia: serusers@lists.iptel.org Ämne: SV: SV: [Serusers] Using IPCB.net for terminatin traffic with SER
Hello,
Well, my problem is that I can not compile it at all... See below transcript... The module version I use is unknown/unstated (files are from 2004), my ser is 0.9.3 and my OS is FreeBSD 5.4 Release. Are you using the same setup?
Kind regards Roger -----Ursprungligt meddelande----- Från: Iqbal [mailto:iqbal@gigo.co.uk] Skickat: den 13 augusti 2005 14:53 Till: roger.lewau@serverhallen.com; jan@iptel.org Kopia: serusers@lists.iptel.org Ämne: Re: SV: [Serusers] Using IPCB.net for terminatin traffic with SER
Hi
The module does work, I used it to send traffic to ipcb. what version u got
Iqbal On 8/13/2005, "Roger Lewau" roger.lewau@serverhallen.com wrote:
Hello Jan,
I got it from their helpdesk when I told them I use SER.
Sure no problem, I send it to you directly instead of to the list.
Kind regards Roger
-----Ursprungligt meddelande----- Från: Jan Janak [mailto:jan@iptel.org] Skickat: den 13 augusti 2005 00:11 Till: Roger Lewau Kopia: serusers@lists.iptel.org Ämne: Re: [Serusers] Using IPCB.net for terminatin traffic with SER
Where did you get the module from ? Could you send it to me ?
Jan.
On 12-08-2005 22:49, Roger Lewau wrote:
Hello, I signed up with IPCB to terminate international traffic. I tried compiling their module ipcb_auth_adapter under FreeBSD 5.4 using the following syntax
gmake modules=modules/ipcb_auth_adapter modules
But all I got is a lot of errors (see below) and the module wont compile. Is some one else using IPCB for termination traffic from their
SER?
gmake[1]: Entering directory `/root/ser-0.9.3/modules/ipcb_auth_adapter' ../../Makefile.rules:80: sip_md5.d: No such file or directory sip_md5.c:11:23: md5global.h: No such file or directory gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mtune=athlon
-Wmain
-Wimplicit -Wmissing-braces -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG -c ipcb_auth_adapter.c -o ipcb_auth_adapter.o ipcb_auth_adapter.c:96: error: variable `nonce_regex' has initializer but incomplete type ipcb_auth_adapter.c:97: error: variable `realm_regex' has initializer but incomplete type ipcb_auth_adapter.c:98: error: variable `to_user_regex' has initializer but incomplete type ipcb_auth_adapter.c: In function `on_load': ipcb_auth_adapter.c:126: error: syntax error before "old_syntax" ipcb_auth_adapter.c:137: error: `old_syntax' undeclared (first use in this function) ipcb_auth_adapter.c:137: error: (Each undeclared identifier is reported only once ipcb_auth_adapter.c:137: error: for each function it appears in.) ipcb_auth_adapter.c:137: warning: implicit declaration of function `re_set_syntax' ipcb_auth_adapter.c:137: error: `RE_SYNTAX_EGREP' undeclared (first use in this function) ipcb_auth_adapter.c:139: warning: implicit declaration of function `re_compile_pattern' ipcb_auth_adapter.c:145: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:145: error: `REGS_FIXED' undeclared (first use in this function) ipcb_auth_adapter.c:146: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c:147: error: invalid use of undefined type `struct re_pattern_buffer' ipcb_auth_adapter.c: In function `on_unload': ipcb_auth_adapter.c:156: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:157: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c:158: warning: passing arg 1 of `regfree' from incompatible pointer type ipcb_auth_adapter.c: In function `remove_hf': ipcb_auth_adapter.c:359: warning: implicit declaration of function `del_lump' ipcb_auth_adapter.c: In function `extract_first_group': ipcb_auth_adapter.c:373: error: variable `match' has initializer but incomplete type ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: warning: excess elements in struct initializer ipcb_auth_adapter.c:373: warning: (near initialization for `match') ipcb_auth_adapter.c:373: error: storage size of 'match' isn't known ipcb_auth_adapter.c:378: warning: implicit declaration of function `re_search' ipcb_auth_adapter.c:373: warning: unused variable `match' ipcb_auth_adapter.c: At top level: ipcb_auth_adapter.c:96: error: storage size of `nonce_regex' isn't known ipcb_auth_adapter.c:97: error: storage size of `realm_regex' isn't known ipcb_auth_adapter.c:98: error: storage size of `to_user_regex' isn't known gmake[1]: *** [ipcb_auth_adapter.o] Error 1 gmake[1]: Leaving directory `/root/ser-0.9.3/modules/ipcb_auth_adapter
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers