On Sun, Oct 11, 2015 at 11:34:32PM +0200, Jonas Smedegaard wrote:
> Quoting Andreas Beckmann (2015-10-11 22:58:11)
> > asterisk FTBFS in sid:
> > 
> > [...]
> > x86_64-linux-gnu-gcc -o pjsip/dialplan_functions.o -c 
> > pjsip/dialplan_functions.c -MD -MT pjsip/dialplan_functions.o -MF 
> > .pjsip_dialplan_functions.o.d -MP -pthread 
> > -I/tmp/buildd/asterisk-13.1.0~dfsg/include -fgnu89-inline -g -O2 -fPIE 
> > -fstack-protector-strong -Wformat -Werror=format-security 
> > -D_FORTIFY_SOURCE=2   -I/usr/include/libxml2 -pipe -Wall 
> > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations      -fPIC 
> > -DAST_MODULE=\"chan_pjsip\"  -DPJ_AUTOCONF=1 -DPJ_IS_BIG_ENDIAN=0 
> > -DPJ_IS_LITTLE_ENDIAN=1 -DOPENSSL_NO_SSL2=1   
> > /tmp/buildd/asterisk-13.1.0~dfsg/build_tools/make_linker_version_script 
> > chan_pjsip "" "/tmp/buildd/asterisk-13.1.0~dfsg"
> > x86_64-linux-gnu-gcc  -o chan_pjsip.so -pthread -fPIE -pie -Wl,-z,relro 
> > -Wl,-z,now    -shared -Wl,--version-script,chan_pjsip.exports,--warn-common 
> >  chan_pjsip.o pjsip/dialplan_functions.o  -lpjsua2 -lstdc++ -lpjsua 
> > -lpjsip-ua -lpjsip-simple -lpjsip -lpjmedia-codec -lpjmedia 
> > -lpjmedia-videodev -lpjmedia-audiodev -lpjmedia -lpjnath -lpjlib-util 
> > -lsrtp -lpj -lm -lrt -lpthread -lSDL2 -lavformat-ffmpeg -lavcodec-ffmpeg 
> > -lswscale-ffmpeg -lavutil-ffmpeg -lv4l2 -lopencore-amrnb -lopencore-amrwb 
> > /usr/bin/ld: cannot find -lSDL2
> > /usr/bin/ld: cannot find -lavformat-ffmpeg
> > /usr/bin/ld: cannot find -lavcodec-ffmpeg
> > /usr/bin/ld: cannot find -lswscale-ffmpeg
> > /usr/bin/ld: cannot find -lavutil-ffmpeg
> > /usr/bin/ld: cannot find -lv4l2
> > /usr/bin/ld: cannot find -lopencore-amrnb
> > /usr/bin/ld: cannot find -lopencore-amrwb
> > collect2: error: ld returned 1 exit status
> > 
> > These seem to be several Build-Depends missing, e.g. libsdl2-dev, libv4l-dev
> > and the ffmpeg bits seem to have been reorganized as well.
> 
> I suspect ig might be pjsip growing dependencies on those libraries and 
> injecting linkage flags into Asterisk, but instead of actively avoiding 
> those it seems more sensible to me to consider solving bug#531728.

You are right. The git version of pjsip should look better.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.co...@xorcom.com
+972-50-7952406           mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

Reply via email to