[Asterisk-Users] (no subject)

Steve Totaro stotaro at asteriskhelpdesk.com
Thu Apr 13 07:30:33 MST 2006


Currently, compiling asterisk on an Itanium fails with the GSM codec.
All I could find on Google was a hack to basically remove GSM from the
build which is not an option for some.  This patch will allow it to
compile and seems to work perfectly.

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com



--- Makefile	2006-03-12 12:57:37.000000000 -0500
+++ ../../../../asterisk-1.2.6/codecs/gsm/Makefile	2006-04-12
15:11:19.000000000 -0400
@@ -45,6 +45,7 @@
 ifneq ($(shell uname -m),ppc64)
 ifneq ($(shell uname -m),alpha)
 ifneq ($(shell uname -m),armv4l)
+ifneq ($(shell uname -m),ia64)
 ifneq (${PROC},sparc64)
 ifneq (${PROC},arm)
 ifneq (${PROC},ppc)
@@ -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.
@@ -233,6 +235,7 @@
 ifneq ($(shell uname -m),ppc)
 ifneq ($(shell uname -m),ppc64)
 ifneq ($(shell uname -m),alpha)
+ifneq ($(shell uname -m),ia64)
 ifneq ($(shell uname -m),armv4l)
 ifneq ($(shell uname -m),sparc64)
 ifneq (${PROC},arm)
@@ -247,6 +250,7 @@
 endif
 endif
 endif
+endif
 
 TOAST_SOURCES = $(SRC)/toast.c 		\
 		$(SRC)/toast_lin.c	\
@@ -297,6 +301,7 @@
 ifneq ($(shell uname -m), ppc)
 ifneq ($(shell uname -m), ppc64)
 ifneq ($(shell uname -m), alpha)
+ifneq ($(shell uname -m), ia64)
 ifneq ($(shell uname -m), sparc64)
 ifneq ($(shell uname -m), armv4l)
 ifneq ($(shell uname -m), parisc)
@@ -309,6 +314,7 @@
 endif
 endif
 endif
+endif
 
 TOAST_OBJECTS =	$(SRC)/toast.o 		\
 		$(SRC)/toast_lin.o	\




More information about the asterisk-users mailing list