tspangle / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Compiling SiphonSetting (Compilation) #357

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Building SiphonSetting produces Unresolved reference of mh_dylib_header.

What is the expected output? What do you see instead?
Successful build. instead 
Undefined symbols:
  "_OBJC_METACLASS_$___mh_dylib_header", referenced from:
      _OBJC_METACLASS_$_SiphonSettings in SiphonSettings.o
      _OBJC_METACLASS_$_NetworkSettings in SiphonSettings.o
      _OBJC_METACLASS_$_PhoneSettings in SiphonSettings.o
      _OBJC_METACLASS_$_AdvancedSettings in SiphonSettings.o
      _OBJC_METACLASS_$_CodecSettings in SiphonSettings.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

What version of the product are you using? On what operating system?
iPhone3.1.2 OS
MAC Kernel Level 10.2 on Snow Leopard
GCC 4.2 or GCC 4.0

Please provide any additional information below.

Ld build/Debug-iphoneos/SiphonSettings.bundle/SiphonSettings normal armv6
cd /Users/alex9134/siphon-read-only/Siphon2
setenv IPHONEOS_DEPLOYMENT_TARGET 3.1.2
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH 
"/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/us
r/bin:/bin:
/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 
-isysroot 
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk -
L/Users/alex9134/siphon-read-only/Siphon2/build/Debug-iphoneos -
F/Users/alex9134/siphon-read-only/Siphon2/build/Debug-iphoneos -
F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/System/
Library/
PrivateFrameworks -filelist /Users/alex9134/siphon-read-
only/Siphon2/build/SiphonSettings.build/Debug-iphoneos/SiphonSettings.build/Obje
cts-
normal/armv6/SiphonSettings.LinkFileList -mmacosx-version-min=10.5 -dead_strip 
-bundle -
miphoneos-version-min=3.1.2 -framework Foundation -framework Preferences 
-framework 
UIKit -o /Users/alex9134/siphon-read-only/Siphon2/build/Debug-
iphoneos/SiphonSettings.bundle/SiphonSettings

Undefined symbols:
  "_OBJC_METACLASS_$___mh_dylib_header", referenced from:
      _OBJC_METACLASS_$_SiphonSettings in SiphonSettings.o
      _OBJC_METACLASS_$_NetworkSettings in SiphonSettings.o
      _OBJC_METACLASS_$_PhoneSettings in SiphonSettings.o
      _OBJC_METACLASS_$_AdvancedSettings in SiphonSettings.o
      _OBJC_METACLASS_$_CodecSettings in SiphonSettings.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Original issue reported on code.google.com by alex9...@gmail.com on 10 Jan 2010 at 6:39

GoogleCodeExporter commented 8 years ago

Original comment by samuelv0...@gmail.com on 11 Jan 2010 at 11:26

GoogleCodeExporter commented 8 years ago

Original comment by samuelv0...@gmail.com on 28 May 2011 at 8:05

GoogleCodeExporter commented 8 years ago
Hello,

I am trying to compile siphon project.

But unfortunately , I am getting these following error

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, 
VALID_ARCHS=i386).

attahed architecture settings under Build settings tab.

I want to compile it successfully without any errors.

Can anyone provide any solution for siphon compilation IOS?

Original comment by evvraj...@gmail.com on 25 Mar 2015 at 12:33

Attachments: