Vincent
2008-Jan-06 09:20 UTC
[asterisk-users] [FreeBSD 6.2] Error compiling Zaptel from Ports?
Hello I'm trying to build the Zaptel ports on FreeBSD, but it fails: =========# cd /usr/ports/misc/zaptel/ # make install ===> Building for zaptel-1.4.6_3 make -C zaptel all Warning: Object directory not changed from original /usr/ports/misc/zaptel/work/zaptel-bsd-1.4.6/zaptel cc -O2 -fno-strict-aliasing -pipe -Wall -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -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 -Wno-pointer-sign -fformat-extensions -c zaptel.c cc1: error: unrecognized command line option "-Wno-pointer-sign" *** Error code 1 Stop in /usr/ports/misc/zaptel/work/zaptel-bsd-1.4.6/zaptel. *** Error code 1 Stop in /usr/ports/misc/zaptel/work/zaptel-bsd-1.4.6. *** Error code 1 Stop in /usr/ports/misc/zaptel. ========= Has someone seen this and knows what to do? Thank you.
Vincent
2008-Jan-12 14:09 UTC
[asterisk-users] [FreeBSD 6.2] Error compiling Zaptel from Ports?
On Sun, 06 Jan 2008 10:20:38 +0100, Vincent <vincent.delporte at bigfoot.com> wrote:>cc1: error: unrecognized command line option "-Wno-pointer-sign" >*** Error code 1I wonder if maybe the people who ported Asterisk to FreeBSD aren't using a more recent version of GCC than what's available in the 6.2 ports: =====# cc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 ===== Since GCC was not upgraded by running cvsup, what would be a valid way to upgrade it myself? By downloading a package for a more recent version of FBSD? Thank you.