[Asterisk-Dev] FreeBSD

Jared Mauch jared at puck.Nether.net
Sat Oct 4 07:58:34 MST 2003


	Also, for ease of porting and commenting out
-lpthread and -lresolv on platforms that don't need it, I suggest
the following makefile split:

diff -u -r1.33 Makefile
--- Makefile    27 Sep 2003 15:52:17 -0000      1.33
+++ Makefile    4 Oct 2003 15:23:20 -0000
@@ -131,7 +131,10 @@
 ifeq (${OSARCH},Linux)
 LIBS=-ldl
 endif
-LIBS+=-lpthread -lncurses -lm -lresolv  #-lnjamd
+# Not needed on FreeBSD
+LIBS+=-lresolv
+LIBS+=-lpthread
+LIBS+=-lncurses -lm #-lnjamd
 OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
        translate.o file.o say.o pbx.o cli.o md5.o term.o \
        ulaw.o alaw.o callerid.o fskmodem.o image.o app.o \


On Sat, Oct 04, 2003 at 04:42:13PM +0200, Magnus Benngard wrote:
> On Sat, 2003-10-04 at 16:46, Jared Mauch wrote:
> > On Sat, Oct 04, 2003 at 04:26:38PM +0200, Magnus Benngard wrote:
> > > On Sat, 2003-10-04 at 16:24, Jared Mauch wrote:
> > > > On Sat, Oct 04, 2003 at 03:24:14PM +0200, Magnus Benngard wrote:
> > > > > Hi!
> > > > > 
> > > > > I am pretty intrested in using Asterisk in a project I am
> > > > > involved in:
> > > > > I have been reading that people has managed to compile
> > > > > under FreeBSD. Are those patches applied? Do not think so.
> > > > > I am planning to spend some time with Asterisk and 
> > > > > FreeBSD... Should I send the patches somewhere
> > > > > Which formt do u prefer?
> > > > 
> > > > 	It *should* compile just fine, the only caveat is that
> > > > currently the Makefiles require gnu make, which is not the default
> > > > on FreeBSD.
> > > 
> > > Fresh cvs, did not compile att all :(
> > > Will start to see if I can get it to do so. :)
> > 
> > 	you're using gnu make, correct?
> 
> YES!
> 
> > 
> > 	i've not checked out the latest cvs on FreeBSD recently,
> > let me do some quick tests..
> 
> I am running: FreeBSD dns.g.port80.se 4.8-STABLE, should upgrade
> to 4.9 anyday, can do it today!
> 
> 
> > 
> > 	- jared
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
Jared Mauch  | pgp key available via finger from jared at puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only mine.



More information about the asterisk-dev mailing list