Apple Mach-O linker error when building ipjsua

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

 



Hi,

I followed the instructions here
http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone, and successfully
built static libraries. I lipo -info these libraries and make sure their
architecture is i386

After I added these libraries to ipjsua (I checked Library Search Path and
Link Binary With Libraries, and these are OK), I built and received error

Undefined symbols for architecture i386:

  "_add_startup_config", referenced from:

      _main_func in pjsua_app.o

  "_destroy_cli", referenced from:

      _app_destroy in pjsua_app.o

  "_keepAliveFunction", referenced from:

      -[ipjsuaAppDelegate keepAlive] in ipjsuaAppDelegate.o

  "_load_config", referenced from:

      _app_init in pjsua_app.o

  "_setup_cli", referenced from:

      _app_init in pjsua_app.o

  "_start_cli_main", referenced from:

      _app_main in pjsua_app.o

  "_start_ui_main", referenced from:

      _app_main in pjsua_app.o

  "_stdout_refresh_text", referenced from:

      _stdout_refresh_proc in pjsua_app.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see
invocation)


I then add pjsua_common.h and pjsua_common.c to ipjsua, but the errors are
still there


Please help



-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130423/1b0df556/attachment-0001.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