[Asterisk-bsd] FreeBSD 7.1 and WanPipe
Chad Albert
Chad.Albert at healthcarefirst.com
Mon Apr 6 11:35:10 CDT 2009
I am trying to compile wanpipe on current ports and FreeBSD 7.1-RELEASE. During build I get the error below. Has anyone else encountered this or know how to get past it. I tried Sangoma and even though they list FreeBSD as a supported operating system they will not support it and have told me I need to move to Linux. I am using Sangoma A102 2 port E1/T1 cards. If anyone has a T1 card they get better support out of I would love input as well.
Compile error:
-----8<-------8<---------8<----------8<
In file included from /usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel.h:36,
from sdla_tdmv.c:36:
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:35: error:
conflicting types for 'atomic_t'
../../include/wanpipe_defines.h:970: error: previous declaration of 'atomic_t'
was here
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:66: error:
conflicting types for 'change_bit'
/sys/gnu/fs/ext2fs/i386-bitops.h:63: error: previous definition of 'change_bit'
was here
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:75: error:
conflicting types for 'clear_bit'
/sys/gnu/fs/ext2fs/i386-bitops.h:53: error: previous definition of 'clear_bit'
was here
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:81: error:
conflicting types for 'set_bit'
/sys/gnu/fs/ext2fs/i386-bitops.h:43: error: previous definition of 'set_bit' was
here
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:87: error:
conflicting types for 'test_bit'
/sys/gnu/fs/ext2fs/i386-bitops.h:77: error: previous definition of 'test_bit'
was here
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:93: error:
conflicting types for 'find_first_zero_bit'
/sys/gnu/fs/ext2fs/i386-bitops.h:90: error: previous definition of
'find_first_zero_bit' was here
In file included from /usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel.h:36,
from sdla_tdmv.c:36:
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:169:1: warning:
"MOD_DEC_USE_COUNT" redefined
In file included from sdla_tdmv.c:32:
../../include/wanpipe_common.h:260:1: warning: this is the location of the
previous definition
In file included from /usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel.h:36,
from sdla_tdmv.c:36:
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel-compat.h:170:1: warning:
"MOD_INC_USE_COUNT" redefined
In file included from sdla_tdmv.c:32:
../../include/wanpipe_common.h:259:1: warning: this is the location of the
previous definition
sdla_tdmv.c:95: error: conflicting types for '__zt_mulaw'
/usr/ports/misc/zaptel/work/zaptel-bsd/zaptel/zaptel.h:1791: error: previous
declaration of '__zt_mulaw' was here
*** Error code 1
Stop in /usr/ports/misc/wanpipe/work/wanpipe-3.3.1/sources/wanpipe.
*** Error code 1
Stop in /usr/ports/misc/wanpipe/work/wanpipe-3.3.1/sources.
*** Error code 1
Stop in /usr/ports/misc/wanpipe/work/wanpipe-3.3.1.
*** Error code 1
Stop in /usr/ports/misc/wanpipe.
*** Error code 1
Stop in /usr/ports/misc/wanpipe.
More information about the Asterisk-BSD
mailing list