Hi Guys, I hope this is the correct mailing list for this question. I have a dual 1.6 Ghz Itanium with 4 Gb of memory. Yes, a lot of power for Asterisk. I am running SuSE Enterprise Server with the 2.6.5-7.97-default kernel. I have just started to look into Asterisk and I am in the building stage. Now building something on Itanium is almost always a bit of a challange. This is unfortunately the case for Asterisk as well. I have seen some binary build for Itanium on Debian, so it should work somehow. The problem I am currently facing seem to be in the codecs/gsm directory. I am getting the error: ==============================================================make[2]: Entering directory `/usr/src/asterisk/codecs/gsm' if [ ! -d ./lib ] ; then mkdir ./lib ; fi gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -DNeedFunctionPrototypes=1 -funroll-loops -fPIC -O6 -march=ia64 -DSASR -DNDEBUG -DWAV49 -I./inc src/add.c cc1: error: invalid option `arch=ia64' ============================================================== Can somebody help me? Thanks, // Jonas
Jonas Arndt wrote:> The problem I am currently facing seem to be in the codecs/gsm > directory. I am getting the error: > ==============================================================> make[2]: Entering directory `/usr/src/asterisk/codecs/gsm' > if [ ! -d ./lib ] ; then mkdir ./lib ; fi > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -DZAPTEL_OPTIMIZATIONS > -fomit-frame-pointer -fPIC -c -DNeedFunctionPrototypes=1 > -funroll-loops -fPIC -O6 -march=ia64 -DSASR -DNDEBUG -DWAV49 > -I./inc src/add.c > cc1: error: invalid option `arch=ia64' > ==============================================================The GSM Makefile is somewhat stupid in this regard; it also fails on x86-64 machines. I'd suggest just editing codecs/gsm/Makefile to remove the 'arch' flag, since it really won't make a big difference, especially if you aren't doing GSM transcoding.
On Tuesday 09 Aug 2005 17:26, Jonas Arndt wrote:> Hi Guys, > > I hope this is the correct mailing list for this question. > > I have a dual 1.6 Ghz Itanium with 4 Gb of memory. Yes, a lot of power > for Asterisk. I am running SuSE Enterprise Server with the > 2.6.5-7.97-default kernel. I have just started to look into Asterisk and > I am in the building stage. Now building something on Itanium is almost > always a bit of a challange. This is unfortunately the case for Asterisk > as well. I have seen some binary build for Itanium on Debian, so it > should work somehow. > > The problem I am currently facing seem to be in the codecs/gsm > directory. I am getting the error: > ==============================================================> make[2]: Entering directory `/usr/src/asterisk/codecs/gsm' > if [ ! -d ./lib ] ; then mkdir ./lib ; fi > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -DZAPTEL_OPTIMIZATIONS > -fomit-frame-pointer -fPIC -c -DNeedFunctionPrototypes=1 > -funroll-loops -fPIC -O6 -march=ia64 -DSASR -DNDEBUG -DWAV49 > -I./inc src/add.c > cc1: error: invalid option `arch=ia64' > ==============================================================> > Can somebody help me?Remove the options from the Makefiles?
Jose, It might help to have a look at the debian SOURCE package for Asterisk. Here is the Debian DIFF File http://ftp.debian.org/debian/pool/main/a/asterisk/asterisk_1.0.7.dfsg.1-2.diff.gz They've obviously been successful in compiling it for Itanium - maybe something obvious will jump out. I wish I had time to look it over myself, as I'd normally be happy to help, but unfortunately, today I'm just too busy. Best Regards Ben>>As they have build Debian packages for Itanium I was hoping that >>somebody would have experience with compiling on Itanium and could >>give me some pointers.This message was checked by MailScan for WorkgroupMail. www.govarion.com