On Aug 10, 2007, at 1:23 AM, Mikael Bjerkeland wrote:

> tor, 09.08.2007 kl. 21.26 -0500, skrev Darin Franklin:
>> On Aug 9, 2007, at 6:19 PM, Rob Gillan wrote:
>>
>>> Hi all,
>>>
>>> Thought I'd start a new thread in an attempt to get callweaver
>>> compiled and running on OSX/Darwin (my last title wrongly accusatory
>>> of spandsp).
>>>
>>> The trunk snapshot for 10 Aug now fails make for one of the new
>>> parameters added in 3470:
>>>
>>
>> I built 1.2.0_rc4 on Intel OS X a few weeks ago.  You have to make
>> two edits, as described here:
>> http://www.mail-archive.com/[email protected]/
>> msg00415.html
>>
> These edits shouldn't be necessary anymore. Would you mind writing a
> description of how to build CW trunk on OSX, in our wiki? Start here:
>
> http://www.callweaver.org/wiki/Cross-platform

I'd be glad to.  However, I get errors when trying to build the  
latest snapshot.  Here's my procedure so far.

% sudo port install tiff readline

% tar zvxf spandsp-0.0.4.pre4.tgz
% cd spandsp-0.0.4
% ./configure CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib
% make
% sudo make install

% tar zvxf callweaver-RC-1.1.99.20070810.tar.gz
% cd callweaver-RC-1.1.99.20070810
% ./configure CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib
% make

It fails here:

Making all in apps
Making all in nconference
/bin/sh ../../libtool --tag=CC   --mode=link gcc   -I/opt/local/ 
include -module -avoid-version -no-undefined -L/opt/local/lib -o  
app_nconference.la -rpath /usr/local/lib/callweaver/modules  
app_nconference_la-frame.lo app_nconference_la-conference.lo  
app_nconference_la-member.lo app_nconference_la-sounds.lo  
app_nconference_la-dtmf.lo app_nconference_la-vad.lo  
app_nconference_la-cli.lo app_nconference_la-jitterbuffer.lo  
app_nconference_la-app_nconference.lo ../../corelib/libcallweaver.la - 
lresolv -lpthread -lreadline -lncurses -lm -lc
gcc  -o .libs/app_nconference.so -bundle  .libs/app_nconference_la- 
frame.o .libs/app_nconference_la-conference.o .libs/ 
app_nconference_la-member.o .libs/app_nconference_la-sounds.o .libs/ 
app_nconference_la-dtmf.o .libs/app_nconference_la-vad.o .libs/ 
app_nconference_la-cli.o .libs/app_nconference_la- 
jitterbuffer.o .libs/app_nconference_la-app_nconference.o  -L/opt/ 
local/lib ../../corelib/.libs/libcallweaver.dylib /usr/local/lib/ 
libspandsp.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/ 
libjpeg.dylib /opt/local/lib/libz.dylib -L/usr/lib /Users/darin/ 
Download/src/callweaver-RC-1.1.99.20070810/sqlite3-embedded/.libs/ 
libcwsqlite3.dylib /Users/darin/Download/src/callweaver- 
RC-1.1.99.20070810/corelib/jitterbuffer/.libs/libcwjb.dylib /opt/ 
local/lib/libreadline.dylib /opt/local/lib/libncurses.dylib -lresolv - 
lpthread -lreadline -lncurses -lm -lc
/usr/bin/ld: warning multiple definitions of symbol _PC
/opt/local/lib/libreadline.dylib(terminal.so) definition of _PC
/opt/local/lib/libncurses.dylib(lib_tputs.o) definition of _PC
/usr/bin/ld: warning multiple definitions of symbol _BC
/opt/local/lib/libreadline.dylib(terminal.so) definition of _BC
/opt/local/lib/libncurses.dylib(lib_termcap.o) definition of _BC
/usr/bin/ld: warning multiple definitions of symbol _UP
/opt/local/lib/libreadline.dylib(terminal.so) definition of _UP
/opt/local/lib/libncurses.dylib(lib_termcap.o) definition of _UP
/usr/bin/ld: Undefined symbols:
_saturate
collect2: ld returned 1 exit status
make[2]: *** [app_nconference.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


This happens in apps/nconference
% cd apps/nconference
% (repeat the last gcc line above)

I think that this _saturate symbol is supposed to come from  
libspandsp.dylib, but it's not there.

% otool -Tv /usr/local/lib/libspandsp.dylib | grep saturate
(nothing)

I also tried spandsp-0.0.3.


_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to