From: Mats B. <ma...@gm...> - 2008-04-23 12:41:14
|
On Wed, Apr 23, 2008 at 2:12 PM, Peter Grayson <jpg...@gm...> wrote: > > And the .pc files are in their correct place too. Looking at > contrib/tcl/configure.in, I notice three things: > > 1) There is no use of the PKG_CHECK_MODULES macro I just use the Tcl standard build system TEA without knowing much... > 2) The library dependencies are hardcoded (portaudio, speex, speexdsp, > and iaxclient) > 3) The libraries are listed in the opposite order that they should be > -- this could lead to missing symbols. > > The TEA_ADD_LIBS line should list the libraries in this order: > -liaxclient -lportaudio -lspeex -lspeexdsp. > I had absolutely no idea this mattered. Now I know. Many Thanks. This puts us much further and I don't get complaints about missing speex symbols. The link stage now reads: gcc -pipe -shared -o libtcliaxclient0.2.so iaxclient.o tones.o XThreadUtil.o -liaxclient -lportaudio -lspeex -lspeexdsp -lpthread -lasound -L/usr/local/lib -ltclstub8.5 However, I get undefined symbol: clock_gettime which seems to have something to do with my old linux kernel: http://ussg.iu.edu/hypermail/linux/net/0304.1/0007.html Maybe Andrea gets lucky? svn updated. Mats |