[Asterisk-bsd] Compiling Zaptel 1.2.3 on FreeBSD 7.0-CURRENT-200702

demuel at thephinix.org demuel at thephinix.org
Sat Feb 24 04:10:35 MST 2007


Hello Everyone,

I tried to make zaptel work on FreeBSD 7.0-CURRENT-200702 but I encountered some difficulties.
Also, I installed it using the current ports tree. Below is the error:



cc -O2 -fno-strict-aliasing -pipe -DCONFIG_PCI=1 -Wall -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc
-I-  -I../zaptel -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
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -fformat-extensions -c qozap_freebsd.c
qozap_freebsd.c: In function `qozap_attach':
qozap_freebsd.c:180: warning: passing arg 4 of `bus_setup_intr' from incompatible pointer type
qozap_freebsd.c:180: warning: passing arg 5 of `bus_setup_intr' from incompatible pointer type
qozap_freebsd.c:180: error: too few arguments to function `bus_setup_intr'
*** Error code 1

Stop in /usr/ports/misc/zaptel/work/zaptel-bsd-1.1/qozap.
*** Error code 1

Stop in /usr/ports/misc/zaptel/work/zaptel-bsd-1.1.
*** Error code 1



Any tips and side comments to sort this out?


Regards,
Demuel



More information about the Asterisk-BSD mailing list