[Asterisk-bsd] FreeBSD 6.0 (STABLE) amd64 / asterisk 1.0.9

Low, Adam ALow at Prioritytelecom.com
Thu Nov 17 06:41:46 CST 2005


Thanks for the reply, I've just successfully compiled 1.2.0, FreeBSD 6.0 STABLE on my dual amd64 Opteron machine.

It runs perfectly, the only thing I had to do was to modify my march/mtune/mcpu from amd64 to k8, patch for asterisk 1.2.0 below:

--- Makefile    Wed Nov 16 20:23:53 2005
+++ ../asterisk-1.2.01/Makefile.new     Thu Nov 17 12:41:57 2005
@@ -181,7 +181,6 @@
     #PROC=athlon
     OPTIONS+=-m64
   endif
-
   ifeq ($(PROC),sparc64)
     #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.
@@ -244,6 +243,11 @@
 endif
 
 ifeq ($(OSARCH),FreeBSD)
+  ifeq ($(PROC),amd64)
+    PROC=k8
+    OPTIONS+=-m64
+  endif
+
   BSDVERSION=$(shell make -V OSVERSION -f $(CROSS_COMPILE_TARGET)/usr/share/mk/bsd.port.subdir.mk)
   ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
   LIBS+=$(shell if test  $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)




-----Original Message-----
From: Lists [mailto:lists at optimlabs.com] 
Sent: 15 November 2005 18:04
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] FreeBSD 6.0 (STABLE) amd64 / asterisk 1.0.9

all i did was download the 1.2 tgz's from asterisk, and zaptel-freebsd extracted them, built zaptel-freebsd trunk with make and make install, then built libpri, asterisk, asterisk-addons in that order with gmake and all was fine even installed under /usr/local/etc/asterisk by default for asterisk you needs to do a gmake, gmake install, gmake samples to toss the configs into /usr/local/etc/asterisk

On Tue, 2005-11-15 at 17:09 +0100, Low, Adam wrote:
> I'm running the 1.0.9 from port at the moment, had intended to try the 1.2.0rc2 but haven't had the time to manually update the Makefile for my enviroment, I don't suppose you can share your Makefile or diff ?
> 
> 
> BTW: Apologies all for the lame disclaimer ... :(
>  
> 
> -----Original Message-----
> From: Lists [mailto:lists at optimlabs.com]
> Sent: 15 November 2005 16:50
> To: Asterisk on BSD discussion
> Subject: Re: [Asterisk-bsd] FreeBSD 6.0 (STABLE) amd64 / asterisk 
> 1.0.9
> 
> odd ive got a 1.2 build running fine on 6.0 AMD64 ill test head in the morning, as its midnight here.
> 
> On Tue, 2005-11-15 at 16:18 +0100, Low, Adam wrote:
> > Hello all,
> > 
> > I'm hoping someone else is working on getting FreeBSD 6.0 (for that matter 5.4 is the same) to run the latest Asterisk port on the AMD64.
> > 
> > Everything compiles perfectly, the server starts and the CLI operates well. The problem starts as soon as the first SIP INVITE is sent towards the Asterisk server and it immediately Segmentation faults (core dump) etc.
> > 
> > Has anyone successfully working with Asterisk on AMD64 ? That perhaps can share some experience ?
> > 
> > Kind Regards,
> > Adam
> 


********* DISCLAIMER ********* 

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person 




More information about the Asterisk-BSD mailing list