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
Original issue reported on code.google.com by
alex9...@gmail.com
on 10 Jan 2010 at 6:39