Hello, Kurt! On Wed, Jun 9, 2010 at 10:13 PM, Kurt J. Lidl <[email protected]> wrote:
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: > > r...@pbx-134: cd /usr/ports/misc/dahdi > r...@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) > I thought that I merged firmare(9) fix to handle firmware names with hyphens correctly to RELENG_8 before 8.0-RELEASE (it exists in 7.3-RELEASE). Sorry about that. The problem does not affect RELENG_8 since Nov 2009 (including 8.1 betas). You can apply the following patch: http://svn.freebsd.org/viewvc/base?view=revision&revision=198783 Now I think that the least evil would be to add FreeBSD version check to the dahdi port. I will do that soon. Max
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Asterisk-BSD mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-bsd

