我按照第https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video页上的说明构建了freeswitch。
我下载并制作&& make install libyuv和libvpx。
但是当我制作freeswtich时,会显示错误消息:
./.lib/libfreeswitch.so:对vpx_img_alloc'
./.lib/libfreeswitch.so: undefined reference to
vpx_img_flip'的未定义引用
./.lib/libfreeswitch.so:对vpx_img_set_rect'
./.lib/libfreeswitch.so: undefined reference to
vpx_img_free'的未定义引用
./.lib/libfreeswitch.so:对'vpx_img_wrap'的未定义引用
为什么?
答案 0 :(得分:1)
FreeSWITCH 1.6现在为Debian Jessie打包了视频依赖项,你不必自己下载和编译,请确保你完全按照这些步骤进行描述。
设置debian repo:
echo "deb http://files.freeswitch.org/repo/deb/debian/ jessie main" > /etc/apt/sources.list.d/99FreeSWITCH.test.list
wget -O - http://files.freeswitch.org/repo/deb/debian/key.gpg |apt-key add -
apt-get update
安装deps:
DEBIAN_FRONTEND=none APT_LISTCHANGES_FRONTEND=none apt-get install -y --force-yes freeswitch-video-deps-most
结帐并编译(如果您之前已经完成此操作,请确保执行新的结帐):
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git
cd freeswitch.git
./bootstrap.sh -j
./configure -C