[Asterisk-bsd] asterisk-1.2.9.1 from pkgsrc.

Robin-David Hammond %KB3IEN asterisk at kb3ien.us
Wed Aug 16 18:31:40 MST 2006


This is a build from pkgsrc. It apears that the -arch option is not 
understood.

This is a mono-processor system.

cpu0 at mainbus0: 603ev (Revision 2.1), ID 0 (primary)
cpu0: HID0 90c001<DOZE,DPM,ICE,DCE,NOPTI>
cpu0: ohare L2 cache enabled

The logicboard is a PowerComputing Valkyrie, the OS is netbsd-3.0.1

i would expect -mpowerpc and -mcpu=603 in this case. Any suggestions?


/usr/include/pthread.h:306:1: warning: this is the location of the 
previous definition
In file included from codec_gsm.c:40:
../include/asterisk/lock.h:653:1: warning: "pthread_cond_destroy" 
redefined
In file included from ../include/asterisk/lock.h:26,
                  from codec_gsm.c:40:
/usr/include/pthread.h:311:1: warning: this is the location of the 
previous definition
In file included from codec_gsm.c:40:
../include/asterisk/lock.h:654:1: warning: "pthread_cond_signal" redefined
In file included from ../include/asterisk/lock.h:26,
                  from codec_gsm.c:40:
/usr/include/pthread.h:307:1: warning: this is the location of the 
previous definition
In file included from codec_gsm.c:40:
../include/asterisk/lock.h:655:1: warning: "pthread_cond_broadcast" 
redefined
In file included from ../include/asterisk/lock.h:26,
                  from codec_gsm.c:40:
/usr/include/pthread.h:308:1: warning: this is the location of the 
previous definition
In file included from codec_gsm.c:40:
../include/asterisk/lock.h:656:1: warning: "pthread_cond_wait" redefined
In file included from ../include/asterisk/lock.h:26,
                  from codec_gsm.c:40:
/usr/include/pthread.h:309:1: warning: this is the location of the 
previous definition
In file included from codec_gsm.c:40:
../include/asterisk/lock.h:657:1: warning: "pthread_cond_timedwait" 
redefined
In file included from ../include/asterisk/lock.h:26,
                  from codec_gsm.c:40:
/usr/include/pthread.h:310:1: warning: this is the location of the 
previous definition
/usr/local/bin/gmake -C gsm lib/libgsm.a
gmake[2]: Entering directory 
`/usr/pkgsrc/comms/asterisk/work/asterisk-1.2.9.1/codecs/gsm'
if [ ! -d ./lib ] ; then mkdir ./lib ; fi
gcc -O2 -I/usr/include  -pipe  -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -g3  -Iinclude -I../include 
-I/usr/local/include -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/include 
-L/usr/local/lib  -pthread         -fomit-frame-pointer  -fPIC 
-I/usr/local/include -L/usr/local/lib  -c -DNeedFunctionPrototypes=1 
-funroll-loops -march=powerpc -fPIC -DSASR -DNDEBUG    -DWAV49   -I./inc 
src/add.c
cc1: error: invalid option `arch=powerpc'
gmake[2]: *** [src/add.o] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/comms/asterisk/work/asterisk-1.2.9.1/codecs/gsm'
gmake[1]: *** [gsm/lib/libgsm.a] Error 2
gmake[1]: Leaving directory 
`/usr/pkgsrc/comms/asterisk/work/asterisk-1.2.9.1/codecs'
gmake: *** [subdirs] Error 1
*** Error code 2




Robin-David Hammond     KB3IEN
+1 347 350 34 00



More information about the Asterisk-BSD mailing list