Build Issue: Cannot Build libpjsua2.so Library For Targeted Architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good day,

I need to build the native pjsip library(libpjsua2.so) for Android. But I get "undefined refference" errors when building for specific architectures. The build succeeds when I don't target an architecture. I believe it defaults to armeabi.

This is my current setup:
Android NDK: NDK r13b (october 2016)
pjsip Version: 2.8
OS: Ubuntu 14.04 LTS

These are the steps I followed (AND IT WORKS):

1. export ANDROID_NDK_ROOT=/home/nate/Documents/pjsip/android-ndk-r13b
2. cd /home/nate/Documents/pjsip/2019.06.10.pjsip.v2.5/
3. ./configure-android
4. make dep && make clean && make
5. cd /home/nate/Documents/pjsip/2019.06.10.pjsip.v2.5/pjsip-apps/src/swig/
6. make

HOWEVER, when I want to target a specific achitecture with the below steps I get errors:

1. export ANDROID_NDK_ROOT=/home/nate/Documents/pjsip/android-ndk-r13b
2. cd /home/nate/Documents/pjsip/2019.06.10.pjsip.v2.5/
3. TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags
4. make dep && make clean && make
5. cd /home/nate/Documents/pjsip/2019.06.10.pjsip.v2.5/pjsip-apps/src/swig/
6. make

the below are the errors I get when running step 6:

/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o)(.text._ZNK2pj8Endpoint13mediaMaxPortsEv+0x0): error: undefined reference to 'pjsua_conf_get_max_ports'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o)(.text._ZNK2pj8Endpoint16mediaActivePortsEv+0x0): error: undefined reference to 'pjsua_conf_get_active_ports'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o):../src/pjsua2/endpoint.cpp:function pj::Endpoint::videoCodecEnum(): error: undefined reference to 'pjsua_vid_enum_codecs'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o):../src/pjsua2/endpoint.cpp:function pj::Endpoint::videoCodecSetPriority(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned char): error: undefined reference to 'pjsua_vid_codec_set_priority'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o):../src/pjsua2/endpoint.cpp:function pj::Endpoint::getVideoCodecParam(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&) const: error: undefined reference to 'pjsua_vid_codec_get_param'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o):../src/pjsua2/endpoint.cpp:function pj::Endpoint::setVideoCodecParam(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, pj::VidCodecParam const&): error: undefined reference to 'pjsua_vid_codec_set_param'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o):../src/pjsua2/endpoint.cpp:function pj::Endpoint::resetVideoCodecParam(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'pjsua_vid_codec_set_param'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::CallVidSetStreamParam::CallVidSetStreamParam(): error: undefined reference to 'pjsua_call_vid_strm_op_param_default'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::Call::hasMedia() const: error: undefined reference to 'pjsua_call_has_media'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::Call::dialDtmf(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'pjsua_call_dial_dtmf'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::Call::vidGetStreamIdx() const: error: undefined reference to 'pjsua_call_get_vid_stream_idx'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::Call::vidStreamIsRunning(int, pjmedia_dir) const: error: undefined reference to 'pjsua_call_vid_stream_is_running'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::Call::vidSetStream(pjsua_call_vid_strm_op, pj::CallVidSetStreamParam const&): error: undefined reference to 'pjsua_call_set_vid_strm'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::Call::getStreamInfo(unsigned int) const: error: undefined reference to 'pjsua_call_get_stream_info'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(call.o):../src/pjsua2/call.cpp:function pj::Call::getStreamStat(unsigned int) const: error: undefined reference to 'pjsua_call_get_stream_stat'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::registerMediaPort(void*): error: undefined reference to 'pjsua_conf_add_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::unregisterMediaPort(): error: undefined reference to 'pjsua_conf_remove_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::getPortInfoFromId(int): error: undefined reference to 'pjsua_conf_get_port_info'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::startTransmit(pj::AudioMedia const&) const: error: undefined reference to 'pjsua_conf_connect'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::startTransmit2(pj::AudioMedia const&, pj::AudioMediaTransmitParam const&) const: error: undefined reference to 'pjsua_conf_connect_param_default'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::startTransmit2(pj::AudioMedia const&, pj::AudioMediaTransmitParam const&) const: error: undefined reference to 'pjsua_conf_connect2'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::stopTransmit(pj::AudioMedia const&) const: error: undefined reference to 'pjsua_conf_disconnect'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::adjustRxLevel(float): error: undefined reference to 'pjsua_conf_adjust_tx_level'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::adjustTxLevel(float): error: undefined reference to 'pjsua_conf_adjust_rx_level'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::getRxLevel() const: error: undefined reference to 'pjsua_conf_get_signal_level'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMedia::getTxLevel() const: error: undefined reference to 'pjsua_conf_get_signal_level'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::~AudioMediaPlayer(): error: undefined reference to 'pjsua_player_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlayer(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_create'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlayer(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_get_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlayer(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_get_conf_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlayer(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlayer(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlaylist(std::__ndk1::vector<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::allocator<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_playlist_create'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlaylist(std::__ndk1::vector<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::allocator<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_get_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlaylist(std::__ndk1::vector<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::allocator<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_get_conf_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::createPlaylist(std::__ndk1::vector<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::allocator<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int): error: undefined reference to 'pjsua_player_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::getInfo() const: error: undefined reference to 'pjsua_player_get_info'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::getPos() const: error: undefined reference to 'pjsua_player_get_pos'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaPlayer::setPos(unsigned int): error: undefined reference to 'pjsua_player_set_pos'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaRecorder::~AudioMediaRecorder(): error: undefined reference to 'pjsua_recorder_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaRecorder::createRecorder(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int, long, unsigned int): error: undefined reference to 'pjsua_recorder_create'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudioMediaRecorder::createRecorder(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, unsigned int, long, unsigned int): error: undefined reference to 'pjsua_recorder_get_conf_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::getActiveDev(bool) const: error: undefined reference to 'pjsua_get_snd_dev'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setCaptureDev(int) const: error: undefined reference to 'pjsua_snd_dev_param_default'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setCaptureDev(int) const: error: undefined reference to 'pjsua_set_snd_dev2'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setPlaybackDev(int) const: error: undefined reference to 'pjsua_snd_dev_param_default'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setPlaybackDev(int) const: error: undefined reference to 'pjsua_set_snd_dev2'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::enumDev(): error: undefined reference to 'pjsua_enum_aud_devs'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setNullDev(): error: undefined reference to 'pjsua_set_null_snd_dev'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o)(.text._ZN2pj13AudDevManager8setNoDevEv+0x0): error: undefined reference to 'pjsua_set_no_snd_dev'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setSndDevMode(unsigned int) const: error: undefined reference to 'pjsua_get_snd_dev'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setSndDevMode(unsigned int) const: error: undefined reference to 'pjsua_snd_dev_param_default'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setSndDevMode(unsigned int) const: error: undefined reference to 'pjsua_set_snd_dev2'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setEcOptions(unsigned int, unsigned int): error: undefined reference to 'pjsua_set_ec'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::getEcTail() const: error: undefined reference to 'pjsua_get_ec_tail'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::sndIsActive() const: error: undefined reference to 'pjsua_snd_is_active'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setExtFormat(pj::MediaFormatAudio const&, bool): error: undefined reference to 'pjsua_snd_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::getExtFormat() const: error: undefined reference to 'pjsua_snd_get_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setInputLatency(unsigned int, bool): error: undefined reference to 'pjsua_snd_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::getInputLatency() const: error: undefined reference to 'pjsua_snd_get_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setOutputLatency(unsigned int, bool): error: undefined reference to 'pjsua_snd_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::getOutputLatency() const: error: undefined reference to 'pjsua_snd_get_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::setInputVolume(unsigned int, bool): error: undefined reference to 'pjsua_snd_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::AudDevManager::getInputVolume() const: error: undefined reference to 'pjsua_snd_get_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::ExtraAudioDevice::close(): error: undefined reference to 'pjsua_ext_snd_dev_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::ExtraAudioDevice::open(): error: undefined reference to 'pjsua_conf_get_port_info'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::ExtraAudioDevice::open(): error: undefined reference to 'pjsua_ext_snd_dev_create'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::ExtraAudioDevice::open(): error: undefined reference to 'pjsua_ext_snd_dev_get_conf_port'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoWindow::getInfo() const: error: undefined reference to 'pjsua_vid_win_get_info'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoWindow::Show(bool): error: undefined reference to 'pjsua_vid_win_set_show'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoWindow::setPos(pj::MediaCoordinate const&): error: undefined reference to 'pjsua_vid_win_set_pos'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoWindow::setSize(pj::MediaSize const&): error: undefined reference to 'pjsua_vid_win_set_size'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoWindow::rotate(int): error: undefined reference to 'pjsua_vid_win_rotate'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoWindow::setWindow(pj::VideoWindowHandle const&): error: undefined reference to 'pjsua_vid_win_set_win'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoPreviewOpParam::VideoPreviewOpParam(): error: undefined reference to 'pjsua_vid_preview_param_default'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoPreview::hasNative(): error: undefined reference to 'pjsua_vid_preview_has_native'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoPreview::start(pj::VideoPreviewOpParam const&): error: undefined reference to 'pjsua_vid_preview_start'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoPreview::stop(): error: undefined reference to 'pjsua_vid_preview_stop'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VideoPreview::getVideoWindow(): error: undefined reference to 'pjsua_vid_preview_get_win'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o)(.text._ZN2pj13VidDevManager11getDevCountEv+0x0): error: undefined reference to 'pjsua_vid_dev_count'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::getDevInfo(int) const: error: undefined reference to 'pjsua_vid_dev_get_info'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::enumDev(): error: undefined reference to 'pjsua_vid_enum_devs'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::setFormat(int, pj::MediaFormatVideo const&, bool): error: undefined reference to 'pjsua_vid_dev_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::getFormat(int) const: error: undefined reference to 'pjsua_vid_dev_get_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::setInputScale(int, pj::MediaSize const&, bool): error: undefined reference to 'pjsua_vid_dev_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::getInputScale(int) const: error: undefined reference to 'pjsua_vid_dev_get_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::setOutputWindowFlags(int, int, bool): error: undefined reference to 'pjsua_vid_dev_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::getOutputWindowFlags(int): error: undefined reference to 'pjsua_vid_dev_get_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::switchDev(int, pj::VideoSwitchParam const&): error: undefined reference to 'pjsua_vid_dev_set_setting'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):../src/pjsua2/media.cpp:function pj::VidDevManager::isCaptureActive(int) const: error: undefined reference to 'pjsua_vid_dev_is_active'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_call.o):../src/pjsua-lib/pjsua_call.c:function pjsua_call_on_state_changed: error: undefined reference to 'pjsua_check_snd_dev_idle'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_call.o):../src/pjsua-lib/pjsua_call.c:function pjsua_call_make_call: error: undefined reference to 'pjsua_set_snd_dev'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_call.o):../src/pjsua-lib/pjsua_call.c:function pjsua_call_make_call: error: undefined reference to 'pjsua_check_snd_dev_idle'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_call.o):../src/pjsua-lib/pjsua_call.c:function on_make_call_med_tp_complete: error: undefined reference to 'pjsua_check_snd_dev_idle'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_call.o):../src/pjsua-lib/pjsua_call.c:function pjsua_call_send_dtmf: error: undefined reference to 'pjsua_call_dial_dtmf'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_core.o):../src/pjsua-lib/pjsua_core.c:function pjsua_create: error: undefined reference to 'pjsua_vid_win_reset'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_subsys_init: error: undefined reference to 'pjsua_aud_subsys_init'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_subsys_init: error: undefined reference to 'pjsua_vid_subsys_init'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_subsys_start: error: undefined reference to 'pjsua_aud_subsys_start'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_subsys_start: error: undefined reference to 'pjsua_vid_subsys_start'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_subsys_start: error: undefined reference to 'pjsua_aud_subsys_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_subsys_destroy: error: undefined reference to 'pjsua_aud_subsys_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_subsys_destroy: error: undefined reference to 'pjsua_vid_subsys_destroy'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_call_media_init: error: undefined reference to 'pjsua_vid_channel_init'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_channel_update: error: undefined reference to 'pjsua_aud_channel_update'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function pjsua_media_channel_update: error: undefined reference to 'pjsua_vid_channel_update'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function stop_media_stream: error: undefined reference to 'pjsua_aud_stop_stream'
/home/nate/Documents/pjsip/pjproject-2.8/pjsip/lib/libpjsua-arm-unknown-linux-androideabi.a(pjsua_media.o):../src/pjsua-lib/pjsua_media.c:function stop_media_stream: error: undefined reference to 'pjsua_vid_stop_stream'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [android/app/src/main/jniLibs/armeabi/libpjsua2.so] Error 1
make[1]: Leaving directory `/home/nate/Documents/pjsip/pjproject-2.8/pjsip-apps/src/swig/java'
make: *** [all] Error 1

Your help will be much appreciated as I have been stuck on this for a while. Thank you in advance.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux