i386

Why does the iOS simulator require i386 and x86_64 symbols even though I'm on an x86_64 system only?

折月煮酒 提交于 2019-12-03 09:28:48
问题 I'm trying to get an app running on the simulator that has had some problems doing so before. We don't have libjpeg.a built for i386 , but it does have x86_64 . This is the only dependency left, but I'm wondering why I actually need i386 symbols, if I'm running on an x86_64 mac. 回答1: The iOS simulator can run your app in 32 and 64-bit modes. This is allows you to work out a lot of 64-bit issues and make sure it is ready for both armv7 and arm64. To do this, it compiles your app for i386 and

debugging ld, “Inconsistency detected by ld.so”

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to use a widget library called GLV for an application I am developing. I am running Linux Mint 17. I installed all the libraries and I have succeeded in building the GLV library, but when I try to running one of samples that was built I get this shared library error. Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! Can anyone help me find out where the inconsistency in the shared library is coming from? More information In the README file it says GLV requires

missing required architecture i386 in file

匿名 (未验证) 提交于 2019-12-03 08:35:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am having trouble building my app after adding MapKit and CoreLocation frameworks. They are both 4.3 frameworks, and the app used to work fine with UIKit, CoreGraphics, and Foundation, just giving me problems with these two. Not sure what the required architecture is, there aren't any bugs in the code. Any help is appreciated! ld: warning: ignoring file /Users/F3d3r3r/Desktop/testNav4_3/MapKit.framework/MapKit, missing required architecture i386 in file ld: warning: ignoring file /Users/F3d3r3r/Desktop/testNav4_3/CoreLocation.framework

MySQL各版本的区别第一个MySQLCommunityServer,这个不要钱第二个MySQLE

余生颓废 提交于 2019-12-03 08:15:32
MySQL各版本的区别 第一个 MySQL Community Server,这个不要钱! 第二个 MySQL Enterprise 这个要掏钱,不过可以打电话咨询问题,也就是电话技术支持。 第三个 MySQL Cluster,这个单独是没法用的,要在1或2的基础上用。当然用来平衡多台数据库的。 第四个 MySQL Workbench,这是个好东西,用来设计数据库的。erwin知道吗?他就是这个作用。 MySQL Community Server 社区版本 应该不提供官方技术支持 MySQL Enterprise Server MySQL企业版服务器 软件是最可靠、最安全、更新版本的MySQL企业级服务器数据库,它能够高性价比地提供电子商务、联机事务处理(OLTP)、千兆规模的数据仓库应用等。它支持ACID事务处理,能提供完整的提交、回滚、崩溃恢复和行级锁定功能。MySQL数据库因其易用性、可扩展性和高性能等特点,成为全球最流行的开源数据库。 MySQL Cluster 2台以上 mysql集群服务器 MySQL Workbench有两个版本: MySQL Workbench Community Edition(又叫MySQL Workbench OSS,社区版)和MySQL Workbench Standard Edition(又叫MySQL Workbench SE,商业版)

linux rpm命令详解

主宰稳场 提交于 2019-12-03 07:39:37
RPM 大全 RPM 有五种基本的操作方式(不包括创建 软件 包): 安装, 卸载, 升级, 查询,和验证。 下面我们就来逐一的讲解吧。 一、 安装RPM包 RPM 软件 包通常具有类似foo-1.0-1.i386.rpm 的文件名。 其中包括 软件 包的名称(foo),版本号(1.0),发行号(1), 和 硬件平台(i386)。 安装一个 软件 包只需简单的键入以下命令: $ rpm -ivh foo-1.0-1.i386.rpm foo #################################### RPM安装完毕后会打印出 软件 包的名字(并不一定与文件名相同), 而后打印一连串的#号以表示安装进度。 虽然 软件 包的安装被设计的尽量简单易行, 但还是可能会发生如下的错误: 1、 软件 包已被安装 如果您的 软件 包已被安装, 将会出现以下信息: $ rpm -ivh foo-1.0-1.i386.rpm foo package foo-1.0-1 is already installed error: foo-1.0-1.i386.rpm cannot be installed 如果您仍旧要安装该 软件 包,可以在命令行上使用--replacepkgs 选项,RPM将忽略该错误信息强行安装。 2、文件冲突 如果您要安装的 软件 包中有一个文件已在安装其它 软件

Building Portaudio on OSX 10.7.5 using SDK10.6 or 10.7 fails

匿名 (未验证) 提交于 2019-12-03 07:36:14
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am still having trouble building the Portaudio library on my system, which is OSX 10.7.5 with Xcode 4.3.2, having Command Line Tools installed and having SDK10.6 and SDK10.7 under /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ I describe shortly (also for others that run into the same problem) what I have done so far (following different solutions I have found on the web). 1) I downloaded "Portaudio" / pa_stable_v19_20111121.tgz (last stable release) from: www.portaudio.com/download.html 2) I read the

How can I compile Programmer Dvorak?

匿名 (未验证) 提交于 2019-12-03 03:05:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to compile the open source project Programmer Dvorak . The problem is that it's a bit old and doesn't build with the current versions of the build tools. You can see the full source code with modifications I made online at my project's Google Code page . Revision 2 is the unmodified source files from the original project. Revision 3 is where I made all the significant changes. You can see a diff between the two revisions here . The only obvious problems that are left are a few LINK warnings: LNK4254 (e.g. section '.edata'

Cross Compiling libogg for iOS

匿名 (未验证) 提交于 2019-12-03 03:03:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I've been trying to cross compile libogg for armv6, armv6 and i386 using the iOS 5.1 SDK in Mountain Lion. Libogg uses autoconf, and I've been having pretty similar issues with a few other libraries as well. I picked up a neat little cross-compiling script from here . I had to update it a bit to find the location of the SDK's. GLOBAL_OUTDIR = "`pwd`/dependencies" mkdir - p $GLOBAL_OUTDIR / include $GLOBAL_OUTDIR / lib OUTDIR = "./outdir" OGG_LIB = "`pwd`/libogg-1.3.0" IOS_BASE_SDK = "5.1" IOS_DEPLOY_TGT = "3.2" setenv_all () { #

Undefined symbols for architecture i386: “_SCNetworkReachabilitySetCallback”

匿名 (未验证) 提交于 2019-12-03 02:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I use xcode4, on a openglES project i have added code for in-app purchase from the tutorial: http://www.raywenderlich.com/2797/introduction-to-in-app-purchases i have added SystemConfiguration.framework but this errors occurs: Ld /Users/Eros/Library/Developer/Xcode/DerivedData/blatest-acmdklrqungznggpjewgxuxqsvwo/Build/Products/Debug-iphonesimulator/blatest.app/blatest normal i386 cd /Users/Eros/Desktop/blatestDB setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr

Architecture of i386 input file is incompatible with i386:x86-64

旧城冷巷雨未停 提交于 2019-12-03 02:44:40
问题 I'm trying to create a simple kernel using Ubuntu. In the terminal I typed ld -Ttext 0x1000 -o kernel.bin loader.o main.o Video.o But I got the following error message in return: ld: i386 architecture of input file `loader.o' is incompatible with i386:x86-64 output ld: warning: cannot find entry symbol _start; defaulting to 0000000000001000 回答1: If want compile the file as 32 bits, you can use: ld -m elf_i386 -s -o file file.o 回答2: Use 64 bits instead of 32 for your loader and compile it with