[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] mediastreamer2 fails to build
From: |
Mark Murawski |
Subject: |
Re: [Linphone-developers] mediastreamer2 fails to build |
Date: |
Tue, 5 Dec 2017 14:26:38 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 |
Looks like the ./configure script should have a hard requirement on ffmpeg.
> checking for FFMPEG... no
> configure: WARNING: Could not find libavcodec (from ffmpeg) headers and
> library.
This was the reason for my errors... but now I'm getting this:
make[2]: Entering directory
'/home/kobaz/download/linphone-package/mediastreamer2/tools'
CCLD mediastream
/apps/linphone-bctoolbox/lib/libortp.so: undefined reference to
`bctbx_remove_log_handler'
/apps/linphone-bctoolbox/lib/libortp.so: undefined reference to
`bctbx_log_handler_set_user_data'
/apps/linphone-bctoolbox/lib/libortp.so: undefined reference to
`bctbx_log_handler_set_domain'
collect2: error: ld returned 1 exit status
Makefile:720: recipe for target 'mediastream' failed
make[2]: *** [mediastream] Error 1
make[2]: Leaving directory
'/home/kobaz/download/linphone-package/mediastreamer2/tools'
Makefile:639: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/kobaz/download/linphone-package/mediastreamer2'
Makefile:546: recipe for target 'all' failed
make: *** [all] Error 2
# ldd /apps/linphone-bctoolbox/lib/libortp.so | grep tool
libbctoolbox.so.1 =>
/apps/linphone-bctoolbox/lib/libbctoolbox.so.1 (0x00007f0d52ee2000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
libortp.so is correctly linked to
/apps/linphone-bctoolbox/lib/libbctoolbox.so.1
# nm -D /apps/linphone-bctoolbox/lib/libbctoolbox.so.1 | grep bctbx_
<partial list>
000000000000f170 T bctbx_remove_log_handler
000000000000f060 T bctbx_log_handler_set_domain
000000000000f040 T bctbx_log_handler_set_user_data
And lo and behold that /apps/linphone-bctoolbox/lib/libbctoolbox.so.1
corrently contains the required symbols.
I'm at a bit of a loss as to why this can't link.