How to add new source in pjsip project for iPhone compilation

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

 



Hi all,
    I am compiling pjsip 1.3 for iPhone OS 2.2.1 from
http://code.google.com/p/siphon/wiki/CompilationForiPhoneOS2_X.
I have created a source file(crypt.c and crypt.h) for the encryption and
decryption and want to added into the pjsip project. How do I add my newly
created source file into the pjsip project for the iPhone compilation, since
it gives the error while make.

Undefined symbols:
  "_sip_encryption", referenced from:
      _udp_on_read_complete in
libpjsip-arm-apple-darwin9.a(sip_transport_udp.o)
      _udp_send_msg in libpjsip-arm-apple-darwin9.a(sip_transport_udp.o)
  "_decrypt", referenced from:
      _udp_on_read_complete in
libpjsip-arm-apple-darwin9.a(sip_transport_udp.o)
  "_encrypt", referenced from:
      _udp_send_msg in libpjsip-arm-apple-darwin9.a(sip_transport_udp.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [../bin/pjsip-test-arm-apple-darwin9] Error 1
make[1]: *** [pjsip-test] Error 2
make: *** [all] Error 1

The functions that I have added in my source file is called in
sip_transport_udp, I suppose this is the reason why it gives error in
sip_transport_udp.o.

Regards,
Elangbam Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100120/e4f9bca1/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