Error When Using PJ as static library on Android

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

 



Hi All,

I built PJ 2.4 without media and got a pjlib.a file.
Created a project on Eclipse, add native support. In my myfile.cpp I have
two lines:
#include <jni.h>
#include <pjsip/include/pjsip.h>

When building I have many errors like:

jni/pjlib/include/pj/string.h: In function 'void* pj_memchr(const void*,
int, pj_size_t)':
jni/pjlib/include/pj/string.h:697:45: error: 'memchr' was not declared in
this scope
     return (void*)memchr((void*)buf, c, size);

Please Advice.

Thanks,
Nir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150719/71fbbea8/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