[Asterisk-bsd] dahdi-2.3.0rc2 will not build on freebsd 8.0p3

Kurt J. Lidl lidl at pix.net
Wed Jun 9 10:13:44 CDT 2010


I attempted to update my asterisk+dahdi configuration on
my freebsd 8.0p3 machine yesterday, and got this error, when
attempting to use the current version in /usr/ports/misc/dahdi:

root at pbx-134: cd /usr/ports/misc/dahdi
root at pbx-136: make
===>  Building for dahdi-2.3.0rc2
make -C freebsd all
===> freebsd (all)
===> freebsd/dahdi (all)
[...]
===> freebsd/dahdi-fw-hx8.bin (all)
tar xvfz dahdi-fw-hx8-2.06.tar.gz
x dahdi-fw-hx8.bin
cc -O2 -pipe -fno-strict-aliasing -D__KERNEL__ -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/misc/dahdi/work/dahdi-freebsd-complete-2.3.0-rc2+2.3.0/freebsd/freebsd/dahdi-fw-hx8.bin/../../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c dahdi-fw-hx8.bin.c
dahdi-fw-hx8.bin.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
dahdi-fw-hx8.bin.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
*** Error code 1

I also updated my svn tree to the latest dahdi for freebsd, and
it failed the same way.  (Ie, not using the version in /usr/ports)

-Kurt



More information about the Asterisk-BSD mailing list