make errors

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

 



Hi all,

I need some help after getting build errors when executing the make command
in the PJSIP:Getting started with Android guide.

After editing config_site.h as specified and copying the file to
pjlib/include/pj, I execute the make dep && make clean && make command.

After some time the output log in the terminal gives this kind of
repetitive message

/home/tielman/Documents/Workspace/PJSIP/pjproject-2.2/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o):endpoint.cpp:function
pj::Endpoint::mediaMaxPorts() const: error: undefined reference to
'pjsua_conf_get_max_ports'
/home/tielman/Documents/Workspace/PJSIP/pjproject-2.2/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(endpoint.o):endpoint.cpp:function
pj::Endpoint::mediaActivePorts() const: error: undefined reference to
'pjsua_conf_get_active_ports'

...(lots of similar messages, ending with)...

/home/tielman/Documents/Workspace/PJSIP/pjproject-2.2/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):media.cpp:function
pj::AudDevManager::getInputVolume() const: error: undefined reference to
'pjsua_snd_get_setting'
/home/tielman/Documents/Workspace/PJSIP/pjproject-2.2/pjsip/lib/libpjsua2-arm-unknown-linux-androideabi.a(media.o):media.cpp:function
pj::AudDevManager::getActiveDev(bool) const: error: undefined reference to
'pjsua_get_snd_dev'
collect2: error: ld returned 1 exit status
make[2]: *** [../bin/pjsua2-test-arm-unknown-linux-androideabi] Error 1
make[2]: Leaving directory
`/home/tielman/Documents/Workspace/PJSIP/pjproject-2.2/pjsip/build'
make[1]: *** [pjsua2-test-arm-unknown-linux-androideabi] Error 2
make[1]: Leaving directory
`/home/tielman/Documents/Workspace/PJSIP/pjproject-2.2/pjsip/build'
make: *** [all] Error 1

I've tested this with the two latest tarballs, the latest svn checkout, in
both a Mac OS and Ubuntu environment with the same results. I'm using
Android NDK r9d. I couldn't find any similar problems on Google.

Could anyone shed some light on what I can possibly successfully make this
project?

Regards,
Tielman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140705/71551869/attachment.html>


[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