首先有很多问题被问到如何解决导入 lib/files 时似乎发生的编译错误。谁能首先解释“架构armv7的未定义符号”是什么意思。我为 iso ( http://code.google.com/p/ios-ntp/source/checkout )导入了 ntp 客户端文件,这些文件在它自己的 Xcode 项目中工作,但是当我移到我的项目时它失败并出现以下错误和警告。任何想法 ?
Undefined symbols for architecture armv7:
"_NTP_Logging", referenced from:
-[NetAssociation evaluatePacket] in NetAssociation-586077E517B5DC42.o
-[NetworkClock associationTrue:] in NetworkClock-496336397AA5FC44.o
-[NetworkClock associationFake:] in NetworkClock-496336397AA5FC44.o
"_DEFINE_SHARED_INSTANCE_USING_BLOCK", referenced from:
+[NetworkClock sharedInstance] in NetworkClock-496336397AA5FC44.o
"_LogInProduction", referenced from:
-[NetAssociation enable] in NetAssociation-586077E517B5DC42.o
-[NetAssociation finish] in NetAssociation-586077E517B5DC42.o
-[NetAssociation onUdpSocketDidClose:] in NetAssociation-586077E517B5DC42.o
-[NetworkClock createAssociations] in NetworkClock-496336397AA5FC44.o
-[NetworkClock applicationBack:] in NetworkClock-496336397AA5FC44.o
-[NetworkClock applicationFore:] in NetworkClock-496336397AA5FC44.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Warning: no rule to process file '$(PROJECT_DIR)/SwapViews_3/NetAssociation.h' of type
sourcecode.c.h for architecture armv7