linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] make mediastreamer2-sdk fail.


From: luckfox0927
Subject: Re: [Linphone-developers] make mediastreamer2-sdk fail.
Date: Tue, 24 Jun 2014 12:58:53 +0800

thanks for your reply.
I tried again following this doc.But I got another error on bellow command.

Guestteki-MacBook-Pro:~ administrator$ sudo port install srtp
--->  Building srtp
Error: org.macports.build for port srtp returned: command execution failed
Please see the log file for port srtp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/main.log
To report a bug, follow the instructions in the guide:
Error: Processing of port srtp failed

bellow is main.log that I dump.

Guestteki-MacBook-Pro:~ administrator$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/main.log
version:1
:debug:main srtp has no conflicts
:debug:main Executing org.macports.main (srtp)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 502
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (srtp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (srtp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (srtp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (srtp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (srtp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (srtp)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Tue Jun 24 12:53:30 CST 2014
:notice:build --->  Building srtp
:debug:build Executing org.macports.build (srtp)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/work/srtp" && /usr/bin/make -j8 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/work/srtp" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/work/srtp'
:info:build /usr/bin/clang -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -I/opt/local/include -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L. -o test/srtp_driver test/srtp_driver.c test/getopt_s.c libsrtp.a  -lsrtp
:info:build /usr/bin/clang -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -I/opt/local/include -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L. -o test/rtpw test/rtpw.c test/rtp.c test/getopt_s.c libsrtp.a  -lsrtp
:info:build /usr/bin/clang -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -I/opt/local/include -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L. -o test/dtls_srtp_driver test/dtls_srtp_driver.c test/getopt_s.c libsrtp.a  -lsrtp
:info:build Undefined symbols for architecture x86_64:
:info:build   "_aes_icm_advance_ismacryp", referenced from:
:info:build       _aes_icm_encrypt_ismacryp in libsrtp.a(aes_icm.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [test/dtls_srtp_driver] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build Undefined symbols for architecture x86_64:
:info:build   "_aes_icm_advance_ismacryp", referenced from:
:info:build       _aes_icm_encrypt_ismacryp in libsrtp.a(aes_icm.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [test/rtpw] Error 1
:info:build Undefined symbols for architecture x86_64:
:info:build   "_aes_icm_advance_ismacryp", referenced from:
:info:build       _aes_icm_encrypt_ismacryp in libsrtp.a(aes_icm.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [test/srtp_driver] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/work/srtp'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_srtp/srtp/work/srtp" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port srtp returned: command execution failed
:debug:build Error code: CHILDSTATUS 10135 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for srtp: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Bryant Bunderson <address@hidden> 於 2014/6/24 上午6:24 寫道:

I had a similar problem the first time I tried building on OS X. I didn’t have installed everything that the build needed. I think I followed these instructions to get everything working. Make sure that your Mac ports is up-to-date first.


From: luckfox0927 <address@hidden>
Reply-To: "address@hidden" <address@hidden>
Date: Monday, June 23, 2014 at 2:36 AM
To: "address@hidden" <address@hidden>
Subject: [Linphone-developers] make mediastreamer2-sdk fail.


hello all,

I tried to build linphone-android on my macbook.I follow the README and step by step.
But fail at step 6
How do Isolve this problem

$ make mediastreamer2-sdk.
I
bellow is error message.
                               
[armeabi-v7a] SharedLibrary  : libmediastreamer2-armeabi-v7a.so
[armeabi] SharedLibrary  : libmediastreamer2-armeabi.so
[x86] SharedLibrary  : libmediastreamer2-x86.so
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:97: error: undefined reference to 'entropy_init'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:99: error: undefined reference to 'ctr_drbg_init'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:109: error: undefined reference to 'entropy_func'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:114: error: undefined reference to 'ctr_drbg_random'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:149: error: undefined reference to 'sha1_hmac'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:192: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:193: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:183: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:184: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:216: error: undefined reference to 'dhm_make_public'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:228: error: undefined reference to 'dhm_free'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:261: error: undefined reference to 'aes_setkey_enc'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:264: error: undefined reference to 'aes_crypt_cfb128'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:293: error: undefined reference to 'aes_setkey_enc'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:296: error: undefined reference to 'aes_crypt_cfb128'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:322: error: undefined reference to 'sha256'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:350: error: undefined reference to 'sha256_hmac'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:363: error: undefined reference to 'dhm_read_public'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:368: error: undefined reference to 'dhm_calc_secret'
collect2: error: ld returned 1 exit status
make[1]: *** [obj/local/armeabi/libmediastreamer2-armeabi.so] Error 1
make[1]: *** Waiting for unfinished jobs....
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:97: error: undefined reference to 'entropy_init'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:99: error: undefined reference to 'entropy_func'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:99: error: undefined reference to 'ctr_drbg_init'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:114: error: undefined reference to 'ctr_drbg_random'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:149: error: undefined reference to 'sha1_hmac'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:192: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:193: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:183: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:184: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:216: error: undefined reference to 'dhm_make_public'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:228: error: undefined reference to 'dhm_free'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:261: error: undefined reference to 'aes_setkey_enc'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:264: error: undefined reference to 'aes_crypt_cfb128'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:293: error: undefined reference to 'aes_setkey_enc'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:296: error: undefined reference to 'aes_crypt_cfb128'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:322: error: undefined reference to 'sha256'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:350: error: undefined reference to 'sha256_hmac'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:363: error: undefined reference to 'dhm_read_public'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:368: error: undefined reference to 'dhm_calc_secret'
collect2: error: ld returned 1 exit status
make[1]: *** [obj/local/x86/libmediastreamer2-x86.so] Error 1
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:97: error: undefined reference to 'entropy_init'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:99: error: undefined reference to 'ctr_drbg_init'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:109: error: undefined reference to 'entropy_func'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:114: error: undefined reference to 'ctr_drbg_random'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:149: error: undefined reference to 'sha1_hmac'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:192: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:193: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:183: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:184: error: undefined reference to 'mpi_read_string'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:216: error: undefined reference to 'dhm_make_public'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:228: error: undefined reference to 'dhm_free'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:261: error: undefined reference to 'aes_setkey_enc'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:264: error: undefined reference to 'aes_crypt_cfb128'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:293: error: undefined reference to 'aes_setkey_enc'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:296: error: undefined reference to 'aes_crypt_cfb128'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:322: error: undefined reference to 'sha256'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:350: error: undefined reference to 'sha256_hmac'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:363: error: undefined reference to 'dhm_read_public'
jni/../../../../../jni/..//submodules/bzrtp/src/cryptoPolarssl.c:368: error: undefined reference to 'dhm_calc_secret'
collect2: error: ld returned 1 exit status
make[1]: *** [obj/local/armeabi-v7a/libmediastreamer2-armeabi-v7a.so] Error 1
make[1]: Leaving directory `/Users/administrator/workspace/linphone/linphone-android/submodules/linphone/mediastreamer2/java'
make: *** [generate-mediastreamer2-libs] Error 2

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

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