Hello, Kurt!<br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 10:13 PM, Kurt J. Lidl <span dir="ltr"><<a href="mailto:lidl@pix.net">lidl@pix.net</a>></span> wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I attempted to update my asterisk+dahdi configuration on<br>
my freebsd 8.0p3 machine yesterday, and got this error, when<br>
attempting to use the current version in /usr/ports/misc/dahdi:<br>
<br>
root@pbx-134: cd /usr/ports/misc/dahdi<br>
root@pbx-136: make<br>
===> Building for dahdi-2.3.0rc2<br>
make -C freebsd all<br>
===> freebsd (all)<br>
===> freebsd/dahdi (all)<br>
[...]<br>
===> freebsd/dahdi-fw-hx8.bin (all)<br>
tar xvfz dahdi-fw-hx8-2.06.tar.gz<br>
x dahdi-fw-hx8.bin<br>
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<br>
dahdi-fw-hx8.bin.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
dahdi-fw-hx8.bin.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token<br>
*** Error code 1<br>
<br>
I also updated my svn tree to the latest dahdi for freebsd, and<br>
it failed the same way. (Ie, not using the version in /usr/ports)<br></blockquote><div><br>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).<br>
<br>You can apply the following patch: <a href="http://svn.freebsd.org/viewvc/base?view=revision&revision=198783">http://svn.freebsd.org/viewvc/base?view=revision&revision=198783</a><br><br>Now I think that the least evil would be to add FreeBSD version check to the dahdi port. I will do that soon.<br>
<br>Max<br><br></div></div>