linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Linphone-iphone Compile Error


From: Yang Zhan
Subject: [Linphone-developers] Linphone-iphone Compile Error
Date: Sun, 11 May 2014 23:03:55 +0800

Hi:
    I clone the source from git: git clone git://git.linphone.org/linphone-iphone.git --recursive and compile in macosx10.8.5. But failed with the following errors:

checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking antlr3.h usability... yes
checking antlr3.h presence... yes
checking for antlr3.h... yes
checking whether antlr3StringStreamNew is declared... yes
configure: res_getservers usable
checking whether res_ndestroy is declared... yes
checking for antlr3... no
checking for java... /usr/bin/java
checking polarssl/ssl.h usability... yes
checking polarssl/ssl.h presence... yes
checking for polarssl/ssl.h... yes
configure: WARNING: polarssl not usable
checking for TUNNEL... no
checking for CUNIT... yes
checking for CU_get_suite in -lcunit... no
checking for CU_curses_run_tests in -lcunit... no
checking for clock_gettime in -lrt... no
checking for dlopen in -ldl... yes
checking for pthread_getspecific in -lpthread... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/belle-sip/Makefile
config.status: creating src/Makefile
config.status: creating src/grammars/Makefile
config.status: creating tester/Makefile
config.status: creating belle-sip.pc
config.status: creating belle-sip.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
  CC       belle_sip_tester-belle_sip_tester.o
  CC       belle_sip_tester-belle_sdp_tester.o
  CC       belle_sip_tester-belle_sip_uri_tester.o
  CC       belle_sip_tester-belle_sip_headers_tester.o
  CC       belle_sip_tester-belle_sip_message_tester.o
  CC       belle_sip_tester-auth_helper_tester.o
  CC       belle_sip_tester-cast_test.o
  CC       belle_sip_tester-belle_sip_register_tester.o
  CC       belle_sip_tester-belle_sip_dialog_tester.o
  CC       belle_sip_tester-belle_sip_refresher_tester.o
  CC       belle_sip_tester-belle_sip_resolver_tester.o
  CC       belle_sip_tester-belle_sip_core_tester.o
  CC       belle_sip_tester-belle_generic_uri_tester.o
  CC       belle_sip_tester-belle_http_tester.o
  CCLD     belle_sip_tester
ld: warning: ignoring file /Users/young/Documents/Project/linphone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/libcunit.a, file was built for archive which is not the architecture being linked (i386): /Users/young/Documents/Project/linphone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/libcunit.a
Undefined symbols for architecture i386:
  "_CU_add_suite", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
  "_CU_add_test", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
  "_CU_assertImplementation", referenced from:
      _test_attribute in belle_sip_tester-belle_sdp_tester.o
      _test_attribute_2 in belle_sip_tester-belle_sdp_tester.o
      _test_rtcp_xr_attribute in belle_sip_tester-belle_sdp_tester.o
      _test_bandwidth in belle_sip_tester-belle_sdp_tester.o
      _test_origin in belle_sip_tester-belle_sdp_tester.o
      _test_malformed_origin in belle_sip_tester-belle_sdp_tester.o
      _test_connection in belle_sip_tester-belle_sdp_tester.o
      ...
  "_CU_basic_run_tests", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
  "_CU_basic_set_mode", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
  "_CU_cleanup_registry", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
  "_CU_get_error", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
  "_CU_get_number_of_tests_failed", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
  "_CU_initialize_registry", referenced from:
      _belle_sip_tester_run_tests in belle_sip_tester-belle_sip_tester.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [belle_sip_tester] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [build-belle-sip] Error 2
make: *** [build] Error 2

anyone can help me ~~~~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]