[Asterisk-bsd] zaptel build fails on 7-current

Randy Bush randy at psg.com
Fri Jan 6 01:34:34 CST 2006


===>  Extracting for zaptel-0.11
=> MD5 Checksum OK for zaptel-freebsd-0.11.tar.gz.
=> SHA256 Checksum OK for zaptel-freebsd-0.11.tar.gz.
===>  Patching for zaptel-0.11
===>   zaptel-0.11 depends on shared library: newt.51 - found
===>  Configuring for zaptel-0.11
===>  Building for zaptel-0.11
make -C zaptel
Warning: Object directory not changed from original /usr/ports/misc/zaptel/work/zaptel-freebsd-0.11/zaptel
@ -> /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

Stop in /usr/ports/misc/zaptel/work/zaptel-freebsd-0.11/zaptel.
*** Error code 1



More information about the Asterisk-BSD mailing list