####编译SDL
./configure --prefix=$HOME/toolchain/ubuntu_x64/sdl
make && make install
####依赖于ffmpeg,先编译ffmpeg
./configure –prefix=$HOME/workspace/toolchain/ffmpeg –enable-shared –disable-static –enable-memalign-hack –extra-cflags=”-I$HOME/workspace/toolchain/libx264/include” –extra-ldflags=”-L$HOME/workspace/toolchain/libx264/lib” –enable-gpl –enable-libx264
make -j4
make install
./configure --prefix=$HOME/toolchain/ubuntu_x64/ffmpeg \
--enable-shared --disable-static --enable-memalign-hack \
--enable-gpl --enable-libx264
./configure --enable-shared --disable-static --enable-memalign-hack --enable-gpl --enable-libx264
make -j4
make install
####编译PJSIP
./configure --prefix=$HOME/toolchain/ubuntu_x64/pjsip \
--with-sdl=$HOME/toolchain/ubuntu_x64/sdl \
--with-ffmpeg=$HOME/toolchain/ubuntu_x64/ffmpeg
make && make install