[Asterisk-Users] Building on Itanium

Jonas Arndt jonas_arndt at comcast.net
Wed Aug 10 12:41:59 MST 2005


Hi Guys,

Just an update on building on an Itanium, in case somebody else want to 
do that.

The file that needs to be changed is codecs/gsm/Makefile to include 
ia64. No more segfaults. Everything is working so far.

Cheers,

// Jonas

========================================================================

--- Makefile    2005-08-10 13:42:36.388087029 -0600
+++ Makefile.ia64       2005-08-10 13:42:14.946681042 -0600
@@ -49,6 +49,7 @@
 ifneq (${PROC},arm)
 ifneq (${PROC},ppc)
 ifneq (${PROC},ppc64)
+ifneq (${PROC},ia64)
 OPTIMIZE+=-march=$(PROC)
 endif
 endif
@@ -62,6 +63,7 @@
 endif
 endif
 endif
+endif

 #The problem with sparc is the best stuff is in newer versions of gcc 
(post 3.0) only.
 #This works for even old (2.96) versions of gcc and provides a small 
boost either way.
@@ -232,6 +234,7 @@
 ifneq ($(shell uname -m),armv4l)
 ifneq ($(shell uname -m),sparc64)
 ifneq (${PROC},arm)
+ifneq (${PROC},ia64)
 GSM_SOURCES+= $(SRC)/k6opt.s
 endif
 endif
@@ -241,6 +244,7 @@
 endif
 endif
 endif
+endif

 TOAST_SOURCES = $(SRC)/toast.c                 \
                $(SRC)/toast_lin.c      \
@@ -293,6 +297,7 @@
 ifneq ($(shell uname -m), alpha)
 ifneq ($(shell uname -m), sparc64)
 ifneq ($(shell uname -m), armv4l)
+ifneq ($(shell uname -m), ia64)
 GSM_OBJECTS+= $(SRC)/k6opt.o
 endif
 endif
@@ -301,6 +306,7 @@
 endif
 endif
 endif
+endif

 TOAST_OBJECTS =        $(SRC)/toast.o          \
                $(SRC)/toast_lin.o      \






More information about the asterisk-users mailing list