我正在尝试为 Android 构建 CSipSimple 应用程序。我按照 https://code.google.com/p/csipsimple/wiki/HowToBuild 中的所有说明进行操作.我也安装了所有软件包,但在 CSipSimple 目录上执行“make”命令时出现以下错误。
Mac-mini:CSipSimple-master sino$ make -no-check-certificate
(make -n -C jni/silk init)
wget --no-check-certificate https://developer.skype.com/silk/SILK_SDK_SRC_v1.0.9.zip; \
unzip -d sources -q SILK_SDK_SRC_v1.0.9.zip; \
rm SILK_SDK_SRC_v1.0.9.zip
# Needed for 1.0.8 // todo test
#@mv sources/SILK_SDK_SRC_v1.0.9/* sources/
# source checkout done
# Init done
(make -n -C jni/opus init)
# old uri : https://git.xiph.org/opus.git
git clone git://git.opus-codec.org/opus.git sources; \
cd sources; \
git fetch --tags; \
git checkout origin; \
git checkout v1.1
# Init done
(make -n -C jni/zrtp4pj init)
git clone git://github.com/r3gis3r/ZRTP4PJ.git sources; \
cd sources; \
git fetch --tags; git checkout origin; git checkout V3.2.0_4; \
cd zsrtp; \
git clone git://github.com/r3gis3r/ZRTPCPP.git zrtp; \
cd zrtp; \
git fetch --tags; git checkout origin; git checkout V3.2.0;
# Init done
(make -n -C jni/openssl init)
git clone https://github.com/android/platform_external_openssl.git sources; \
cd sources; \
git fetch --tags; \
git checkout origin; \
git checkout fa610339baf67da107ba040930352c974b38256f
# Init done
(make -n -C jni/libvpx init)
git clone https://code.google.com/p/webm.libvpx sources; \
cd sources; \
git fetch --tags; \
git checkout origin; \
git checkout v1.1.0;
quilt push -a && \
touch .patched_sources
mkdir -p build/armeabi
cd build/armeabi; \
if [ "build/armeabi/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
if [ "build/armeabi-v7a/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv7-android-gcc; fi; \
if [ "build/x86/config.mk" = "build/armeabi/config.mk" ]; then TGT=x86-android-gcc; fi; \
if [ "build/mips/config.mk" = "build/armeabi/config.mk" ]; then TGT=mips32-android-gcc; fi; \
BUILD_PFX=jni/libvpx/build/armeabi/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=/Users/sino/Documents/android-ndk-r9d
mkdir -p build/armeabi-v7a
cd build/armeabi-v7a; \
if [ "build/armeabi/config.mk" = "build/armeabi-v7a/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
if [ "build/armeabi-v7a/config.mk" = "build/armeabi-v7a/config.mk" ]; then TGT=armv7-android-gcc; fi; \
if [ "build/x86/config.mk" = "build/armeabi-v7a/config.mk" ]; then TGT=x86-android-gcc; fi; \
if [ "build/mips/config.mk" = "build/armeabi-v7a/config.mk" ]; then TGT=mips32-android-gcc; fi; \
BUILD_PFX=jni/libvpx/build/armeabi-v7a/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=/Users/sino/Documents/android-ndk-r9d
mkdir -p build/x86
cd build/x86; \
if [ "build/armeabi/config.mk" = "build/x86/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
if [ "build/armeabi-v7a/config.mk" = "build/x86/config.mk" ]; then TGT=armv7-android-gcc; fi; \
if [ "build/x86/config.mk" = "build/x86/config.mk" ]; then TGT=x86-android-gcc; fi; \
if [ "build/mips/config.mk" = "build/x86/config.mk" ]; then TGT=mips32-android-gcc; fi; \
BUILD_PFX=jni/libvpx/build/x86/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=/Users/sino/Documents/android-ndk-r9d
mkdir -p build/mips
cd build/mips; \
if [ "build/armeabi/config.mk" = "build/mips/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
if [ "build/armeabi-v7a/config.mk" = "build/mips/config.mk" ]; then TGT=armv7-android-gcc; fi; \
if [ "build/x86/config.mk" = "build/mips/config.mk" ]; then TGT=x86-android-gcc; fi; \
if [ "build/mips/config.mk" = "build/mips/config.mk" ]; then TGT=mips32-android-gcc; fi; \
BUILD_PFX=jni/libvpx/build/mips/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=/Users/sino/Documents/android-ndk-r9d
# Preconfigure for each done
(make -n -C jni/fdk_aac init)
git clone https://android.googlesource.com/platform/external/aac sources; \
cd sources; \
git fetch --tags; \
git checkout origin; \
git checkout jb-release
# Init done
(make -n -C jni/pjsip patch)
quilt push -a && \
touch .patched_sources
# Patch done
(make -n -C jni/webrtc patch)
quilt push -a && \
touch .patched_sources
# Patch done
(make -n -C jni/ffmpeg patch)
quilt push -a && \
touch .patched_sources
# Patch done
(make -n -C jni/libvpx patch)
quilt push -a && \
touch .patched_sources
# Patch done
(make -n -C jni/silk patch)
quilt push -a && \
touch .patched_sources
# Patch done
(make -n -C jni/fdk_aac patch)
git clone https://android.googlesource.com/platform/external/aac sources; \
cd sources; \
git fetch --tags; \
git checkout origin; \
git checkout jb-release
quilt push -a && \
touch .patched_sources
# Patch done
# External sources fetched out from external repos/zip
(make -n -C jni/webrtc preprocess)
make[1]: *** No rule to make target `sources/build/generate_asm_header.py', needed by `sources/modules/audio_processing/aecm/aecm_core_neon_offsets.h'. Stop.
make: *** [webrtc-preprocess] Error 2
最佳答案
此问题与SILK 包有关。 SILK 的源 URL 已移至另一个。您必须从源代码下载并手动安装才能继续。 要遵循的步骤:-
关于android - 为 Android 构建 CSipSimple 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25418617/
我正在用Ruby编写一个简单的程序来检查域列表是否被占用。基本上它循环遍历列表,并使用以下函数进行检查。require'rubygems'require'whois'defcheck_domain(domain)c=Whois::Client.newc.query("google.com").available?end程序不断出错(即使我在google.com中进行硬编码),并打印以下消息。鉴于该程序非常简单,我已经没有什么想法了-有什么建议吗?/Library/Ruby/Gems/1.8/gems/whois-2.0.2/lib/whois/server/adapters/base.
我想为Heroku构建一个Rails3应用程序。他们使用Postgres作为他们的数据库,所以我通过MacPorts安装了postgres9.0。现在我需要一个postgresgem并且共识是出于性能原因你想要pggem。但是我对我得到的错误感到非常困惑当我尝试在rvm下通过geminstall安装pg时。我已经非常明确地指定了所有postgres目录的位置可以找到但仍然无法完成安装:$envARCHFLAGS='-archx86_64'geminstallpg--\--with-pg-config=/opt/local/var/db/postgresql90/defaultdb/po
我正在尝试编写一个将文件上传到AWS并公开该文件的Ruby脚本。我做了以下事情:s3=Aws::S3::Resource.new(credentials:Aws::Credentials.new(KEY,SECRET),region:'us-west-2')obj=s3.bucket('stg-db').object('key')obj.upload_file(filename)这似乎工作正常,除了该文件不是公开可用的,而且我无法获得它的公共(public)URL。但是当我登录到S3时,我可以正常查看我的文件。为了使其公开可用,我将最后一行更改为obj.upload_file(file
在编写Ruby(客户端脚本)时,我看到了三种构建更长字符串的方法,包括行尾,所有这些对我来说“闻起来”有点难看。有没有更干净、更好的方法?变量递增。ifrender_quote?quote="NowthatthereistheTec-9,acrappyspraygunfromSouthMiami."quote+="ThisgunisadvertisedasthemostpopularguninAmericancrime.Doyoubelievethatshit?"quote+="Itactuallysaysthatinthelittlebookthatcomeswithit:themo
我正在使用Postgres.app在OSX(10.8.3)上。我已经修改了我的PATH,以便应用程序的bin文件夹位于所有其他文件夹之前。Rammy:~phrogz$whichpg_config/Applications/Postgres.app/Contents/MacOS/bin/pg_config我已经安装了rvm并且可以毫无错误地安装pggem,但是当我需要它时我得到一个错误:Rammy:~phrogz$gem-v1.8.25Rammy:~phrogz$geminstallpgFetching:pg-0.15.1.gem(100%)Buildingnativeextension
我最近对我的计算机(OS-MacOSX10.6.8)进行了删除,并且我正在重新安装我所有的开发工具。我再次安装了RVM;但是,它不会让我安装Ruby1.9.3。到目前为止我已经尝试过:rvminstall1.9.3rvm安装1.9.3-p194rvm安装1.9.3-p448rvminstall1.9.3--with-gcc=clang所有返回相同的命令行错误:Searchingforbinaryrubies,thismighttakesometime.Nobinaryrubiesavailablefor:osx/10.6/x86_64/ruby-1.9.3-p448.Continuin
最近因为项目需要,需要将Android手机系统自带的某个系统软件反编译并更改里面某个资源,并重新打包,签名生成新的自定义的apk,下面我来介绍一下我的实现过程。APK修改,分为以下几步:反编译解包,修改,重打包,修改签名等步骤。安卓apk修改准备工作1.系统配置好JavaJDK环境变量2.需要root权限的手机(针对系统自带apk,其他软件免root)3.Auto-Sign签名工具4.apktool工具安卓apk修改开始反编译本文拿Android系统里面的Settings.apk做demo,具体如何将apk获取出来在此就不过多介绍了,直接进入主题:按键win+R输入cmd,打开命令窗口,并将路
我正在尝试为我的iOS应用程序设置cocoapods但是当我执行命令时:sudogemupdate--system我收到错误消息:当前已安装最新版本。中止。当我进入cocoapods的下一步时:sudogeminstallcocoapods我在MacOS10.8.5上遇到错误:ERROR:Errorinstallingcocoapods:cocoapods-trunkrequiresRubyversion>=2.0.0.我在MacOS10.9.4上尝试了同样的操作,但出现错误:ERROR:Couldnotfindavalidgem'cocoapods'(>=0),hereiswhy:U
我正在尝试在配备ARMv7处理器的SynologyDS215j上安装ruby2.2.4或2.3.0。我用了optware-ng安装gcc、make、openssl、openssl-dev和zlib。我根据README中的说明安装了rbenv(版本1.0.0-19-g29b4da7)和ruby-build插件。.这些是随optware-ng安装的软件包及其版本binutils-2.25.1-1gcc-5.3.0-6gconv-modules-2.21-3glibc-opt-2.21-4libc-dev-2.21-1libgmp-6.0.0a-1libmpc-1.0.2-1libm
我刚刚安装了Sphinx(发行版:archlinux)并下载了源代码。然后我为Rails安装了“ThinkingSphinx”插件。我关注了officialpagesetup和thisScreencastfromRyanBates,但是当我尝试为模型建立索引时,出现了这个错误:$rakethinking_sphinx:index(in/home/benoror/Dropbox/Proyectos/cotizahoy)Sphinxcannotbefoundonyoursystem.Youmayneedtoconfigurethefollowingsettingsinyourconfig/