[Freeswitch-users] Build error - on linux, during make, near mod_spandsp

Fraser Redmond fraserredmond at gmail.com
Sat Jun 26 15:38:58 PDT 2010


Ubuntu Lucid (10.04) via nightly tarball. Configure seems to run fine, but
it breaks partway through the make.

This is the output right before it exits:


Making all in src
Creating mod_spandsp.la
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
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/src/freeswitch-snapshot/.libs -Wl,--rpath
-Wl,/usr/local/freeswitch/lib
-L/usr/src/freeswitch-snapshot/libs/tiff-3.8.2/libtiff/.libs -lm -lz -ljpeg
/usr/src/freeswitch-snapshot/.libs/libfreeswitch.so
-L/usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib
-L/usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib/.libs
-L/usr/src/freeswitch-snapshot/libs/apr/.libs
-L/usr/src/freeswitch-snapshot/libs/srtp
/usr/src/freeswitch-snapshot/libs/spandsp/src/.libs/libspandsp.a
-L/usr/src/freeswitch-snapshot/libs/tiff-3.8.2/libtiff
/usr/src/freeswitch-snapshot/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lssl
-lcrypto -lncurses  -Wl,-soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so
make[4]: *** [mod_spandsp.la] Error 1
make[3]: *** [mod_spandsp-all] Error 1
make[2]: *** [all-recursive] Error 1


The output above that (and in the configure) looks ok, unless there's
something subtle to look out for.

I carried on with the make install the first time, just in case, but the
mod's that come after spandsp (alphabetically) weren't created.

Any ideas?

Cheers,
Fraser

ps. I have the prerequisites listed on the first line of
http://wiki.freeswitch.org/wiki/Installation_Guide#Debian_Linux  installed.
I've installed on a Jaunty Ubuntu on AWS several times before without
problem (using same prerequisites and installation steps.)

pps. I know the git version is preferred, but I generally don't need to be
on the cutting edge - but prove me wrong in this instance if you want :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100626/a2bb9629/attachment-0001.html 


More information about the FreeSWITCH-users mailing list