search for: osarch

Displaying 11 results from an estimated 11 matches for "osarch".

Did you mean: sarch
2007 Nov 20
1
[asterisk-dev] trunk working under windows!
...ev=89454&r1=89453&r2=89454 >> ============================================================================== >> --- trunk/Makefile.moddir_rules (original) >> +++ trunk/Makefile.moddir_rules Tue Nov 20 10:12:10 2007 >> @@ -66,9 +66,8 @@ >> ifneq ($(findstring $(OSARCH), mingw32 cygwin ),) >> # linker options and extra libraries for cygwin >> SOLINK=-Wl,--out-implib=lib$@.a -shared >> - LIBS+=-L../main -lasterisk -L../res >> + LIBS+=-L../main -lasterisk -L../res $($@_LIBS) >> # additional libraries in res/ >> - LIBS...
2004 May 17
0
openbsd compilation fails for recent checkout of v1-0_stable
...eBSD__ ) || defined( __OpenBSD__ ) # include <sys/endian.h> Change this to be: #if defined( __FreeBSD__ ) || defined( __OpenBSD__ ) # include <machine/types.h> # include <machine/endian.h> And -E is an invalid linker option, so the Makefile needs to be changed: ifeq (${OSARCH},Darwin) OBJS+=poll.o dlfcn.o ASTLINK=-Wl,-dynamic SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace +else +ifeq (${OSARCH},OpenBSD) +ASTLINK=-Wl +SOLINK=-shared -Xlinker -x else ASTLINK=-Wl,-E SOLINK=-shared -Xlinker -x endif +endif Also, for OpenBSD, aste...
2014 Mar 03
3
gsm codec compile
...e[2]: Entering directory `/usr/src/asterisk/codecs/gsm' ?? [AS] src/k6opt.s -> src/k6opt.o Assembler messages: Error: unknown architecture `armv6l' Error: unrecognized option -march=armv6l make[2]: *** [src/k6opt.o] Error 1 ? Here are the lines in the Makefile - ifeq (, $(findstring $(OSARCH) , Darwin SunOS )) ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b arm5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips)) ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l arm5b armv5b armv61 armv7l s390 )) OPTIMIZE+=-march=$(PROC) endif endif end...
2003 Sep 24
8
VIA vs Intel
Has anyone successfully run asterisk with a VIA processor ? I have tried unsucessfully, do I have to run make with any specific switches ?
2006 Jun 04
1
Help with compilation of app_conference in x86_64
...ifeq ($(APP_CONFERENCE_DEBUG), 1) CFLAGS += -DAPP_CONFERENCE_DEBUG endif # # additional flag values for silence detection # ifeq ($(SILDET), 2) OBJS += libspeex/preprocess.o libspeex/misc.o libspeex/smallft.o CFLAGS += -Ilibspeex -DSILDET=2 endif ifeq ($(SILDET), 1) CFLAGS += -DSILDET=1 endif OSARCH=$(shell uname -s) ifeq (${OSARCH},Darwin) SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace else SOLINK=-shared -Xlinker -x endif # # targets # all: $(SHAREDOS) clean: rm -f *.so *.o $(OBJS) app_conference.so : $(OBJS) $(CC) -pg -shared -Xlinker -x -o $@ $(OBJS) vad_test: vad...
2006 Jun 04
1
Compiling VD_app_conference for x86_64
Do anybody could compile app_conference on x86_64??? I tryied with two versions of app_conference and got the same problem on compiling: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared recompile with -fPIC app_conference.o: could not read symbols: Bad value" ENVIRONMENT:
2005 Jan 27
0
Asterisk CVS on FreeBSD-stable gmaking result
...ONFPATH=$(ASTETCDIR)/asterisk.conf ASTBINDIR=$(INSTALL_PREFIX)/usr/local/bin ASTSBINDIR=$(INSTALL_PREFIX)/usr/local/sbin ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run ASTMANDIR=$(INSTALL_PREFIX)/usr/local/share/man Also, FreeBSD has ncurses in base, I'm not sure if it got specified so I did: ifeq (${OSARCH},FreeBSD) LIBS+=-lcrypto -lncurses endif For asterisk-sounds, I did similar changes. asterisk-addons was a little more tricky: In Makefile: CFLAGS+=-I/usr/local/include gmake -C format_mp3 all gmake -C format_mp3 clean In cdr_addon_mysql.c: #include "../asterisk/asterisk.h" And I use...
2006 Jan 13
0
R: RE: RE: Spandsp
...usr/local/include/osp/osp.h $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),) APPS+=app_osplookup.so endif +ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h $(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),) +APPS+=app_rxfax.so app_txfax.so +endif + ifeq ($(findstring BSD,${OSARCH}),BSD) CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L $(CROSS_COMPILE_TARGET)/usr/local/lib endif CURLLIBS=$(shell $(CROSS_COMPILE_BIN)curl-config --libs) @@ -100,10 +104,16 @@ rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so app_curl.so: app_curl.o $(CC) $(SOLINK) -o $@ ${CYGSOLINK}...
2004 May 25
10
spandsp hylafax asterisk and confusion
I have been attempting to download, compile and configure spandsp to function with * without much luck. I am guessing that some assumptions were made regarding the users knowledge level of Linux. Sadly, I must not live up to those assumptions. My problem begins when after compiling spandsp I look for the app_rxfax.c, app_txfax.c, app_dtmftotext.c and makefile.patch files to place in the
2004 Aug 18
27
SpanDSP
Anyone knows where can I find spandsp? Official site seems permanently down... TIA, Simone.
2005 Sep 14
11
RxFax/TxFax - Compile Problem
Anyone know how to fix this? gcc -shared -Xlinker -x -o app_rxfax.so app_rxfax.c -lspandsp -ltiff In file included from app_rxfax.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported