[Freeswitch-users] Compiling in Debian Squeeze fails

Zenny garbytrash at gmail.com
Sun May 15 03:26:47 MSD 2011


Tried to compile with the Makefile downloaded from wget
http://www.freeswitch.org/eg/Makefile to Debian Squeeze, it popped up an
error message while compiling mod_spandsp (missing -ljpeg):

libtool: link: ranlib .libs/libspandsp.a
> libtool: link: ( cd ".libs" && rm -f "libspandsp.la" && ln -s "../
> libspandsp.la" "libspandsp.la" )
> make[8]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src'
> make[7]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp/src'
> make[6]: Leaving directory `/usr/src/freeswitch.git/libs/spandsp'
> Creating mod_spandsp.la
> /usr/bin/ld: cannot find -ljpeg
> collect2: ld returned 1 exit status
> 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/src/freeswitch.git/.libs -Wl,-rpath -Wl,/usr/local/freeswitch/lib
> -ljpeg /usr/src/freeswitch.git/.libs/libfreeswitch.so
> /usr/src/freeswitch.git/libs/spandsp/src/.libs/libspandsp.a
> /usr/src/freeswitch.git/libs/tiff-3.8.2/libtiff/.libs/libtiff.a -lncurses
> -pthread -Wl,-soname -Wl,mod_spandsp.so -o .libs/mod_spandsp.so
> make[5]: *** [mod_spandsp.la] Error 1
> make[5]: Leaving directory
> `/usr/src/freeswitch.git/src/mod/applications/mod_spandsp'
> make[4]: *** [mod_spandsp-all] Error 1
> make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/src/freeswitch.git/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/freeswitch.git'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/freeswitch.git'
> make: *** [freeswitch] Error 2
>
>
What package exactly satisfies this dependency problem?

Thanks!

/zenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110515/942128a1/attachment-0001.html 


More information about the FreeSWITCH-users mailing list