Re: [asterisk-users] Trouble compiling asterisk 1.2.14

2007-01-04 Thread Tzafrir Cohen
On Thu, Jan 04, 2007 at 01:42:57PM -0500, Guillermo Salas M. wrote:
 Hi, I'm trying to compile asterisk 1.2.14 on a Debian Sarge amd64 with
 kernel  2.6.8-12-amd64-k8
 
 
 make[2]: Entering directory `/usr/src/asterisk-1.2.14/codecs/gsm'
 gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT
 -D_GNU_SOURCE  -O6  -fomit-frame-pointer  -fPIC  -c
 -DNeedFunctionPrototypes=1 -funroll-loops -O6 -march=k8 -fPIC -DSASR
 -DNDEBUG-DWAV49   -I./inc src/add.c
 cc1: error: bad value (k8) for -march= switch
 cc1: error: bad value (k8) for -mcpu= switch

gcc 3.3 and gcc 3.4 (which are availble on Sarge) don't support that, I
believe. Try setting those values explicitly in the makefile. Or try
reproducing the build of the deb package from the pkg-voip buildserver:

http://pkg-voip.buildserver.net

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Trouble compiling asterisk 1.2.14

2007-01-04 Thread Guillermo Salas M.
[SOLVED]

On Thu, 2007-01-04 at 21:33 +0200, Tzafrir Cohen wrote:
 On Thu, Jan 04, 2007 at 01:42:57PM -0500, Guillermo Salas M. wrote:
  Hi, I'm trying to compile asterisk 1.2.14 on a Debian Sarge amd64 with
  kernel  2.6.8-12-amd64-k8

[..]

 gcc 3.3 and gcc 3.4 (which are availble on Sarge) don't support that, I
 believe. Try setting those values explicitly in the makefile. Or try
 reproducing the build of the deb package from the pkg-voip buildserver:
 
 http://pkg-voip.buildserver.net



The problem is solved using the pkg-voip packages. Asterisk is installed
and running now.

1.- Edit /etc/apt/sources.list
2.- Add the line: deb http://pkg-voip.buildserver.net/debian sarge main
3.- aptitude update
4.- aptitude install asterisk

Thank you for your help.

Best regards,


 
-- 
Guillermo Salas M.
Telconet S.A.
Calle 15 y Avenida 24 Esq
Edificio Barre #2 Primer Piso
Telefono : +593 5 262 8071
Celular  : +593 9 985 5138
e-mail   : [EMAIL PROTECTED]
www  : http://www.manta.telconet.net
   http://www.telcocarrier.net

Linux User: 255902

Beat me, whip me, make me use Windows!

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Please avoid the Top Posting, see
http://es.wikipedia.org/wiki/Top-posting

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users