From: Steve H. <st...@we...> - 2013-02-21 02:42:54
|
I found that I just needed to set the NO_DYLD_BIND_FULLY_IMAGE preprocessor directive. Is there any documentation on the various preprocessor directives? -Steve On Wed, Feb 20, 2013 at 5:17 PM, Steve Hannah <st...@we...> wrote: > Hi all, > > I'm trying to include source code generated by XMLVM inside a project > that I have created in Xcode. I have added the "app" directory, and > the lib/boehmgc and lib/iphone directories that were produced using > XMLVM, to the project, and have added the appropriate subdirectories > of boehmgc to the header search paths. However I am getting the > following error when I try to build. > > Has anyone run into this before? > > -Steve > > > Build target XcodeGUIApp > > CompileC /Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/Objects-normal/i386/dyn_load.o > ../build/xcode/src/lib/boehmgc/dyn_load.c normal i386 c > com.apple.compilers.llvm.clang.1_0.compiler > cd "/Volumes/Windows > VMS/NetbeansProjects/JSONBenchmark/SampleBusinessLogic/xmlvm_gui_app/XcodeGUIApp" > setenv LANG en_US.US-ASCII > setenv PATH > "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang > -x c -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs > -fpascal-strings -O0 -Wno-missing-field-initializers > -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces > -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label > -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body > -Wuninitialized -Wno-unknown-pragmas -Wno-shadow > -Wno-four-char-constants -Wno-conversion -Wno-shorten-64-to-32 > -Wpointer-sign -Wno-newline-eof -DDEBUG=1 -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk > -fexceptions -fasm-blocks -Wdeprecated-declarations -g > -Wno-sign-conversion -mios-simulator-version-min=6.0 -iquote > /Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/XcodeGUIApp-generated-files.hmap > -I/Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/XcodeGUIApp-own-target-headers.hmap > -I/Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/XcodeGUIApp-all-target-headers.hmap > -iquote /Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/XcodeGUIApp-project-headers.hmap > -I/Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Products/Debug-iphonesimulator/include > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/.deps > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/armcc > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/gcc > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/hpc > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/ibmc > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/icc > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/msftc > -I../build/xcode/src/lib/boehmgc/libatomic_ops/src/atomic_ops/sysdeps/sunc > -I../build/xcode/src/lib/boehmgc/include > -I../build/xcode/src/lib/boehmgc/include/extra > -I../build/xcode/src/lib/boehmgc/include/private > -I/Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/DerivedSources/i386 > -I/Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/DerivedSources > -F/Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Products/Debug-iphonesimulator > -include /Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/PrecompiledHeaders/XcodeGUIApp-Prefix-ffcbmndxyochzbfhlpgcjcrifgyk/XcodeGUIApp-Prefix.pch > -MMD -MT dependencies -MF > /Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/Objects-normal/i386/dyn_load.d > --serialize-diagnostics > /Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/Objects-normal/i386/dyn_load.dia > -c "/Volumes/Windows > VMS/NetbeansProjects/JSONBenchmark/SampleBusinessLogic/xmlvm_gui_app/XcodeGUIApp/../build/xcode/src/lib/boehmgc/dyn_load.c" > -o /Users/shannah/Library/Developer/Xcode/DerivedData/XcodeGUIApp-chvguccovtarshddardzpmycubve/Build/Intermediates/XcodeGUIApp.build/Debug-iphonesimulator/XcodeGUIApp.build/Objects-normal/i386/dyn_load.o > > /Volumes/Windows > VMS/NetbeansProjects/JSONBenchmark/SampleBusinessLogic/xmlvm_gui_app/XcodeGUIApp/../build/xcode/src/lib/boehmgc/dyn_load.c:1413:14: > error: '_dyld_bind_fully_image_containing_address' is unavailable: not > available on iOS > if (!_dyld_bind_fully_image_containing_address( > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/usr/include/mach-o/dyld.h:240:13: > note: function has been explicitly marked unavailable here > extern bool _dyld_bind_fully_image_containing_address(const void* > address) > __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_5,__IPHONE_NA,__IPHONE_NA); > ^ > 1 error generated. > > > > -- > Steve Hannah > Web Lite Solutions Corp. -- Steve Hannah Web Lite Solutions Corp. |