[Asterisk-Users] spandsp wont compile.
Terry Goodwin
TGoodwin at packagingcorp.com
Fri May 28 12:19:27 MST 2004
Checkout the "spandsp hylafax asterisk and confusion" thread.
Everything you need to get spandsp working is there. In the mean time I
am going to write up a doc on everything I did to get mine working so
that I never forget. I will pass it along when Im done.
Terry
>>> ivlok at verizon.net 5/28/2004 8:27:48 AM >>>
I can't get spandsp to compile. when I go to the */apps directory i
continually fails.
Makefile:80: warning: overriding commands for target `app_rxfax.so'
Makefile:77: warning: ignoring 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
app_txfax.so : app_txfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
app_txfax.o: app_txfax.c
gcc -D_GNU_SOURCE -O2 -g -Iinclude -l../include -c -o
app_txfax.o app_txfax.c
any ideas?
thanks in advance.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040528/47b9de06/attachment.htm
More information about the asterisk-users
mailing list