Bug#801535: asterisk: FTBFS in sid: linker errors due to missing B-D
Jonas Smedegaard
dr at jones.dk
Sun Oct 11 21:34:32 UTC 2015
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.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20151011/3005bd86/attachment.sig>
More information about the Pkg-voip-maintainers
mailing list