[Freeswitch-dev] Compiling on FreeBSD
Adrian Gschwend
ktk at netlabs.org
Thu Nov 25 02:29:52 PST 2010
Hi group,
I use Freeswitch on FreeBSD for ages now, always trunk which I compile
every few weeks. Unfortunately it doesn't compile anymore for a while,
it fails in mod_spandsp
I checked the docs according to:
http://wiki.freeswitch.org/wiki/Installation_Guide#FreeBSD
http://wiki.freeswitch.org/wiki/Mod_spandsp
so I compiled both graphics/tiff-4.0.0 and graphics/jpeg-8_3, I'm on
8.1-RELEASE
But it doesn't find jpeg, like the possible error stated on Mod_spandsp
page. But unless I completely miss something here it *should* be
installed (in terms of the port is definitely there).
--
[...]
Creating mod_spandsp.la
/usr/bin/ld: cannot find -ljpeg
quiet_libtool: link: gcc -shared .libs/mod_spandsp_la-mod_spandsp.o
.libs/mod_spandsp_la-udptl.o .libs/mod_spandsp_la-mod_spandsp_fax.o
.libs/mod_spandsp_la-mod_spandsp_dsp.o
.libs/mod_spandsp_la-mod_spandsp_codecs.o -Wl,-rpath
-Wl,/usr/local/src/freeswitch/.libs -Wl,-rpath
-Wl,/usr/local/freeswitch/lib
-L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs
-L/usr/local/src/freeswitch/libs/apr/.libs
-L/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff/.libs -ljpeg
/usr/local/src/freeswitch/.libs/libfreeswitch.so
-L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib
/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a
/usr/local/src/freeswitch/libs/apr/.libs/libapr-1.a -lcrypt -lpthread
/usr/local/src/freeswitch/libs/spandsp/src/.libs/libspandsp.a
-L/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff
/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lz
-lm -lssl -lcrypto -lncurses -Wl,-soname -Wl,mod_spandsp.so -o
.libs/mod_spandsp.so
gmake[4]: *** [mod_spandsp.la] Error 1
gmake[3]: *** [mod_spandsp-all] Error 1
gmake[2]: *** [all-recursive] Error 1
--
Any FreeBSD user which can compile that ATM? If so, what did I miss?
Will update the wiki once I get it to work.
cu
Adrian
--
Adrian Gschwend
@ netlabs.org
ktk [a t] netlabs.org
-------
Open Source Project
http://www.netlabs.org
More information about the FreeSWITCH-dev
mailing list