[Asterisk-bsd] Update FreeBSD to verion 6?

Randy Bush randy at psg.com
Sun Jan 8 12:15:39 CST 2006


> What is the reliability of Asterisk on FreeBSD when you run the port code
> available when you do 'portupgrade -N net/asterisk' ?

rock solid.  been running it for two years from 5.x through 7-current
today.

> So your point is that you'd have a reliable Asterisk on FreeBSD too
> 'except zaptel is broken against current' ?

last successfully built about 1 oct.  current builds fail in zaptel
as posted earlier

@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro -march=pentiumpro -g -Wall -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/contrib/altq -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -o gendigits gendigits.c -lm
gendigits.c:4:19: stdio.h: No such file or directory
gendigits.c:5:18: math.h: No such file or directory
gendigits.c:6:20: string.h: No such file or directory
gendigits.c:7:20: unistd.h: No such file or directory
gendigits.c:8:20: stdlib.h: No such file or directory
gendigits.c:103: error: syntax error before '*' token
gendigits.c:104: warning: function declaration isn't a prototype
gendigits.c: In function `process':
gendigits.c:110: error: `z' undeclared (first use in this function)
gendigits.c:110: error: (Each undeclared identifier is reported only once
gendigits.c:110: error: for each function it appears in.)
gendigits.c:117: warning: implicit declaration of function `pow'
gendigits.c:117: warning: nested extern declaration of `pow'
gendigits.c:119: warning: implicit declaration of function `cos'
gendigits.c:119: warning: nested extern declaration of `cos'
gendigits.c:119: error: `M_PI' undeclared (first use in this function)
gendigits.c:120: warning: implicit declaration of function `sin'
gendigits.c:120: warning: nested extern declaration of `sin'
gendigits.c:127: warning: implicit declaration of function `fprintf'
gendigits.c:127: warning: nested extern declaration of `fprintf'
gendigits.c:127: error: `f' undeclared (first use in this function)
gendigits.c:127: error: `label' undeclared (first use in this function)
gendigits.c: In function `main':
gendigits.c:139: error: `FILE' undeclared (first use in this function)
gendigits.c:139: error: `f' undeclared (first use in this function)
gendigits.c:141: warning: implicit declaration of function `fopen'
gendigits.c:141: warning: nested extern declaration of `fopen'
gendigits.c:142: warning: nested extern declaration of `fprintf'
gendigits.c:127: warning: redundant redeclaration of 'fprintf'
gendigits.c:127: warning: previous implicit declaration of 'fprintf' was here
gendigits.c:151: warning: implicit declaration of function `fclose'
gendigits.c:151: warning: nested extern declaration of `fclose'
gendigits.c:153: warning: nested extern declaration of `fprintf'
gendigits.c:127: warning: redundant redeclaration of 'fprintf'
gendigits.c:127: warning: previous implicit declaration of 'fprintf' was here
gendigits.c:153: error: `stderr' undeclared (first use in this function)
*** Error code 1

but this is 7-current.  it may work on 6.  no harm in trying.

the problem i have with trying the cvs of the week is that it
does not install in the same dir structure as the port.  so one
can not easily test and switch back.  major pita.

randy



More information about the Asterisk-BSD mailing list