compiler error with RVCT

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

 



Hello!

I tried to compile PJSIP with RVCT2.2 [Build 616] for Symbian.

First I got these errors.
"..\pjlib\src\pj\Config.c", line 43: Error:  #20: identifier "__ARMCC_MINOR__" is undefined
      PJ_LOG(3, (id, " PJ_CC_NAME/VER_(1,2,3)    : %s-%d.%d.%d", PJ_CC_NAME,
      ^
"..\pjlib\src\pj\Config.c", line 43: Error:  #20: identifier "__ARMCC_PATCHLEVEL__" is undefined
      PJ_LOG(3, (id, " PJ_CC_NAME/VER_(1,2,3)    : %s-%d.%d.%d", PJ_CC_NAME,

I modified pjlib\include\pj\compat\cc_armcc.h, I replaced the undefined macro.

#define PJ_CC_VER_1             __ARMCC_VERSION
#define PJ_CC_VER_2             ""
#define PJ_CC_VER_3             ""

And after this modification when pjmedia was compiling I got the following error:

"..\pjmedia\src\pjmedia\Transport_srtp.c", line 205: Error:  #144: a value of type
"pj_status_t (*)(pjmedia_transport *, void *, const pj_sockaddr_t *, const pj_sockaddr_t *, unsigned int, void (*)(void *, void *, pj_ssize_t), void (*)(void *, void *, pj_ssize_t))"
cannot be used to initialize an entity of type
"pj_status_t (*)(pjmedia_transport *, void *, const pj_sockaddr_t *, const pj_sockaddr_t *, unsigned int, void (*)(void *, void *, pj_ssize_t) C, void (*)(void *, void *, pj_ssize_t) C) C"
      &transport_attach,

What could be the problem?
Has anybody experienced this?

Thanks,
Gabor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091104/81d1d841/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