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