Displaying 20 results from an estimated 26 matches for "solink".
Did you mean:
slink
2004 Jun 21
1
Problem compiling fax applications
...uot; ; fi)
+
CFLAGS+=-fPIC
ifeq ($(USE_POSTGRES_VM_INTERFACE),1)
CFLAGS+=-DUSEPOSTGRESVM
endif
***************
*** 65,74 ****
gcc -pipe -O6 -g -Iinclude -I../include -D_REENTRANT
-march=i586 -DDO_CRASH -c -o app_todd.o app_todd.c
app_todd.so: app_todd.o
$(CC) $(SOLINK) -o $@ $< -L/usr/local/ssl/lib -lssl -lcrypto
app_voicemail.so : app_voicemail.o
ifeq ($(USE_MYSQL_VM_INTERFACE),1)
$(CC) $(SOLINK) -o $@ $(MLFLAGS) $< -L/usr/lib/mysql
-lmysqlclient -lz
else
ifeq ($(USE_POSTGRES_VM_INTERFACE),1)
--- 68,95 ----
gcc -pipe -O6 -g...
2006 Jan 22
6
spandsp Error
...94 for x in $(APPS); do $(INSTALL) -m 755 $$x
$(DESTDIR)$(MODULES_DIR) ; done
95 rm -f $(DESTDIR)$(MODULES_DIR)/app_cut.so
96 rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so
97 rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
98
99 app_curl.so: app_curl.o
100 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
101
102 app_rxfax.so : app_rxfax.o
103 $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
104
105 app_txfax.so : app_txfax.o
106 $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
107
108 app_sql_postgres.o: app_sql_postgres.c
109 $(CC) -p...
2005 Mar 28
1
Problem installing SpanDSP Makefile.patch
...-DUSEPOSTGRESVM
endif
***************
*** 66,75 ****
install: all
for x in $(APPS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR)
; done
rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so
app_voicemail.so : app_voicemail.o
ifeq ($(USE_MYSQL_VM_INTERFACE),1)
$(CC) $(SOLINK) -o $@ $(MLFLAGS) $< -L/usr/lib/mysql -lmysqlclient
-lz
else
ifeq ($(USE_POSTGRES_VM_INTERFACE),1)
--- 69,84 ----
install: all
for x in $(APPS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR)
; done
rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so
+ app_rxfax.so : app_rx...
2004 May 28
2
spandsp wont compile.
...old commands for target `app_rxfax.so'
cc -fPIC -c -o app_rxfax.o app_rxfax.c
app_rxfax.c:45: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP'
undeclared here (not in a function)
make: *** [app_rxfax.o] Error 1
I chamged the Makefile to include
app_rxfax.so : app_rxfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
app_rxfax.so : app_rxfax.c
gcc -D_GNU_SOURCE -O2 -g -Iinclude -l../include -c -o
app_rxfax. o app_rxfax.c...
2004 Aug 12
1
Problem installing Software Fax SpanDSP support into Asterisk
...ax.so app_dtmftotext.so" ; fi)
+
CFLAGS+=-fPIC
ifeq ($(USE_POSTGRES_VM_INTERFACE),1)
CFLAGS+=-DUSEPOSTGRESVM
endif
***************
*** 65,74 ****
gcc -pipe -O6 -g -Iinclude -I../include -D_REENTRANT -march=i586 -DDO_CRASH -c -o app_todd.o app_todd.c
app_todd.so: app_todd.o
$(CC) $(SOLINK) -o $@ $< -L/usr/local/ssl/lib -lssl -lcrypto
app_voicemail.so : app_voicemail.o
ifeq ($(USE_MYSQL_VM_INTERFACE),1)
$(CC) $(SOLINK) -o $@ $(MLFLAGS) $< -L/usr/lib/mysql -lmysqlclient -lz
else
ifeq ($(USE_POSTGRES_VM_INTERFACE),1)
--- 68,95 ----
gcc -pipe -O6 -g -Iinclude -I../include...
2004 Sep 26
1
spandsp patch help
I've installed spandsp-0.0.1k on a RHv9 box with CVS-HEAD-09/19/04 and
compiled the libraries just fine. Having a problem with patching the
asterisk/apps Makefile however. The patch attempt results in:
[root@phoenix apps]# patch <Makefile.patch
patching file Makefile
Hunk #1 FAILED at 35.
Hunk #2 FAILED at 68.
2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
[root@phoenix
2005 May 27
1
static linking
...cutable and transform it into a static executable. It seemed to
work on my box, but when I tried it on the target box it did this:
[root@0060ef21765a /]# asterisk
Illegal instruction
[root@0060ef21765a /]#
I've also tried messing with the Makefile. Specifically I did this:
#ASTLINK=-Wl,-E
#SOLINK=-shared -Xlinker -x
ASTLINK=-Wl,-E
SOLINK=-static -Xlinker -x
I also tried leaving the ASTLINK line blank. Both attempts were
unsuccessful and I got unresolved symbol errors.
Thanks,
Ben
2006 Jan 13
0
R: RE: RE: Spandsp
...($(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} $< ${CYGSOLIB} $(CURLLIBS)
+app_rxfax.so : app_rxfax.o
+ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
+
+app_txfax.so : app_txfax.o
+ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
+
app_sql_postgres.o: app_sql_postgres.c
$(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c...
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 May 17
0
openbsd compilation fails for recent checkout of v1-0_stable
....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, asterisk's use of gethostbyname_r doesn't work out of the...
2007 Mar 21
0
install and setup app_mp4 application
Hi all,
according to
http://sip.fontventa.com/content/view/15/44/ i have
compiled the mpeg4ip libries without problem. After
copying the app_mp4.c file into de Asterisk apps
directory and changing the Makefile like.
[...]
app_sql_odbc.so: app_sql_odbc.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $<
${CYGSOLIB} -lodbc
app_mp4.so : app_mp4.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $<
${CYGSOLIB} -lmp4 -lmp4v2
ifeq (SunOS,$(shell uname))
app_chanspy.so: app_chanspy.o
$(CC) $(SOLINK) -o $@ $< -lrt
endif
[...]
i get following error.
Mar 21 19:08:22 WAR...
2005 Jan 07
5
fax e-mail spandsp
I'm trying to install spandsp
But when I try to patch the Makefile it gives this error
[root@pbxmilkshake apps]# patch < apps_makefile.patch
patching file Makefile
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 41 (offset -6 lines).
Hunk #2 FAILED at 67.
is it ok to go on
2004 Nov 22
8
Patching asterisk for spandsp
When I try to patch the Makefile for asterisk with the
Apps_makefile.patch from Spandsp I get the following error.
patching file Makefile
Hunk #1 FAILED at 47.
Hunk #2 FAILED at 76.
2 out of 2 hunks FAILED
Has anybody seen this.
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
2004 Aug 18
27
SpanDSP
Anyone knows where can I find spandsp? Official site seems permanently
down...
TIA,
Simone.
2006 Jan 08
0
spandsp for 1.2.1 - libspandsp.so.0: cannot open shared object file: No such file or directory
...kefile as instructed and added the following lines to
/usr/src/asterisk-1.2/apps/makefile
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
app_rxfax.so: app_rxfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
app_txfax.so: app_txfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
I then did the make cleans, makes and make installs as necessary for
both spandsp and asterisk
If I add the following to my Modules.conf
load => app_txfax.so
load =>...
2012 Aug 01
1
app_swift 3 and asterisk 1.8.13.0 fails with undefined symbol: swift_port_close
All,
I am experiencing this same issue. it seems that you were able to resolve
it offline. Could you by any chance post the solution.
telephonics1*CLI> module load app_swift.so
Unable to load module app_swift.so
Command 'module load app_swift.so' failed.
[Aug 1 05:01:01] WARNING[28635]: loader.c:458 load_dynamic_module: Error
loading module 'app_swift.so':
2006 Jan 08
0
spandsp for 1.2.1 - libspandsp.so.0: cannot openshared object file: No such file or directory
...as instructed and added the following
lines to /usr/src/asterisk-1.2/apps/makefile
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
app_rxfax.so: app_rxfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
app_txfax.so: app_txfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
I then did the make cleans, makes and make installs as necessary
for both spandsp and asterisk
If I add the following to my Modules.conf
load => app_txfax.so...
2005 Oct 01
3
Adding Cepstral to Asterisk
...cepstral.c
$(CC) -D_GNU_SOURCE -shared -Xlinker -x -o $@ $< -lz -lm -lswift
-lceplex_us -lceplang_en -lz -ldl -L/opt/swift/lib -I/opt/swift/include
Make sure the $(CC) line starts with a tab, not spaces.
I didn't see a lot about voicemail:
app_sql_odbc.so: app_sql_odbc.o
$(CC) $(SOLINK) -o $@ $< -lodbc
app_cepstral.so: app_cepstral.c
$(CC) -D_GNU_SOURCE -shared -Xlinker -x -o $@ $< -lz -lm -lswift
-lceplex_us -lceplang_en -lz -ldl -L/opt/swift/lib -I/opt/swift/include
look: look.c
$(CC) -pipe -O6 -g look.c -o look -lncurses
I checked the /etc/ld.so.con...
2005 Mar 05
2
cant compile app_meetme2
...ql.....? anyone
my Makefile looks like
app_meetme2.o: app_meetme2.c
#$(CC) -pipe $(CFLAGS) -c -o app_meetme2.o app_meetme2.c
$(CC) -pipe -I/usr/local/include/mysql -L/usr/local/lib/mysql
$(CFLAGS) -c -o app_meetme2.o app_meetme2.c
app_meetme2.so: app_meetme2.o
$(CC) $(SOLINK) -o $@ $< -lpq -I/usr/local/include/mysql
-L/usr/local/li
b/mysql -lmysqlclient
# $(CC) $(SOLINK) -o $@ $< -lgdbm
app_meetme2.o app_meetme2.c
app_meetme2.c: In function `launch_query':
app_meetme2.c:138: error: `PGconn' undeclared (first use in this function)
app_meetme2.c...