Re: Errors linking to stdarg.h and float.h
Re: Errors linking to stdarg.h and float.h
- Subject: Re: Errors linking to stdarg.h and float.h
- From: William DeShazer <email@hidden>
- Date: Sun, 20 Jun 2010 23:20:45 -0400
On Sun, Jun 20, 2010 at 1:44 PM, Fritz Anderson <email@hidden> wrote:
> OP — It's a minor point, but precise terms matter: Linking is a separate step that occurs after all your compilation is done. Calling is something you do to some binary code when the program is running. You do not "link" or "call" a source file. You include it.
Thanks for the correction. I value that. I've tinkered with
programming for a long time, but I still lack an understanding of many
basic concepts. :-)
> (note comma and no space). Project > Edit Active Target (opt-cmd-E). Put "-Wp,v" in the "Other C Flags" build setting, taking care that the Configuration: popup shows the configuration you're using now. Clean your target, including the precompiled header. Do a build. In the Build Results window, set the options so that "All Messages" are visible. Select the precompilation step, and note the lozenge with the lines-of-text graphic on it. This will expand the command-line transaction in that step, which will include the #include paths. Send that to this list.
>
> Don't forget to clear out the Other C Flags setting.
I put the flag "-Wp,v" in the "Other C Flags" build setting as
instructed. I cleaned all targets and I believe that I have the
information that you requested. If not please let me know.
Here are the results:
Build SplitSpeech of project SplitSpeech with configuration SplitSpeech Release
ProcessInfoPlistFile "build/SplitSpeech
Release/SplitSpeech.app/Contents/Info.plist" Info.plist
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
builtin-infoPlistUtility Info.plist -genpkginfo
"/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/SplitSpeech.app/Contents/PkgInfo" -expandbuildsettings
-platform macosx -o "/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech Release/SplitSpeech.app/Contents/Info.plist"
warning: 'CFBundleSignature' is 'DeShazer', which can't be converted
to a four-character code in MacRoman encoding (as needed for PkgInfo);
using '????'
CopyStringsFile "build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources/English.lproj/InfoPlist.strings"
English.lproj/InfoPlist.strings
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
setenv ICONV /usr/bin/iconv
/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings
--validate --inputencoding utf-16 --outputencoding UTF-16
English.lproj/InfoPlist.strings --outdir
"/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources/English.lproj"
StripNIB English.lproj/MainMenu.nib
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
/Developer/usr/bin/ibtool --strip
"/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources/English.lproj/MainMenu.nib"
--output-format human-readable-text
"/Users/deshazer/Programming/Audio/SplitSpeech
2/English.lproj/MainMenu.nib"
CpResource "build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources/Flurry.icns"
Resources/Flurry.icns
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
-exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks
"/Users/deshazer/Programming/Audio/SplitSpeech
2/Resources/Flurry.icns"
"/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources"
StripNIB English.lproj/Preferences.nib
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
/Developer/usr/bin/ibtool --strip
"/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources/English.lproj/Preferences.nib"
--output-format human-readable-text
"/Users/deshazer/Programming/Audio/SplitSpeech
2/English.lproj/Preferences.nib"
ProcessPCH /var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-gqrqlqdugmzdtwbrdkugubxtitmb/SplitSpeech_Prefix.pch.gch
SplitSpeech_Prefix.pch normal ppc objective-c
com.apple.compilers.gcc.4_0
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch ppc
-fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks
-Os -mdynamic-no-pic -Wunused-variable -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -mtune=G5 -fvisibility=hidden
-gdwarf-2 "-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/SplitSpeech.hmap"
"-F/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release" -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
"-I/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/include" "-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources/ppc"
"-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources" -Wp,v -c
"/Users/deshazer/Programming/Audio/SplitSpeech
2/SplitSpeech_Prefix.pch" -o
/var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-gqrqlqdugmzdtwbrdkugubxtitmb/SplitSpeech_Prefix.pch.gch
cc1obj: error: v: No such file or directory
ProcessPCH++ /var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-bjdywjeenziumgbzvttvkcsmoumi/SplitSpeech_Prefix.pch.gch
SplitSpeech_Prefix.pch normal ppc objective-c++
com.apple.compilers.gcc.4_0
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.0 -x objective-c++-header -arch ppc
-fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks
-Os -mdynamic-no-pic -Wunused-variable -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -mtune=G5 -fvisibility=hidden
-fvisibility-inlines-hidden -fobjc-call-cxx-cdtors -gdwarf-2
"-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/SplitSpeech.hmap"
"-F/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release" -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
"-I/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/include" "-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources/ppc"
"-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources" -Wp,v -c
"/Users/deshazer/Programming/Audio/SplitSpeech
2/SplitSpeech_Prefix.pch" -o
/var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-bjdywjeenziumgbzvttvkcsmoumi/SplitSpeech_Prefix.pch.gch
cc1objplus: error: v: No such file or directory
ProcessPCH /var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-dasjwhfbvlzlivehfoccvbdtrdyq/SplitSpeech_Prefix.pch.gch
SplitSpeech_Prefix.pch normal i386 objective-c
com.apple.compilers.gcc.4_0
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch i386
-fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks
-Os -mdynamic-no-pic -Wunused-variable -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -fvisibility=hidden -gdwarf-2
"-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/SplitSpeech.hmap"
"-F/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release" -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
"-I/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/include" "-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources/i386"
"-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources" -Wp,v -c
"/Users/deshazer/Programming/Audio/SplitSpeech
2/SplitSpeech_Prefix.pch" -o
/var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-dasjwhfbvlzlivehfoccvbdtrdyq/SplitSpeech_Prefix.pch.gch
cc1obj: error: v: No such file or directory
ProcessPCH++ /var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-cdkppafcigkpykfsnikpfwkmxlhn/SplitSpeech_Prefix.pch.gch
SplitSpeech_Prefix.pch normal i386 objective-c++
com.apple.compilers.gcc.4_0
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.0 -x objective-c++-header -arch i386
-fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks
-Os -mdynamic-no-pic -Wunused-variable -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -fvisibility=hidden
-fvisibility-inlines-hidden -fobjc-call-cxx-cdtors -gdwarf-2
"-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/SplitSpeech.hmap"
"-F/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release" -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
"-I/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/include" "-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources/i386"
"-I/Users/deshazer/Programming/Audio/SplitSpeech
2/build/SplitSpeech.build/SplitSpeech
Release/SplitSpeech.build/DerivedSources" -Wp,v -c
"/Users/deshazer/Programming/Audio/SplitSpeech
2/SplitSpeech_Prefix.pch" -o
/var/folders/qG/qGb6mq2QG+ClUDZPXlCZXk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/SplitSpeech_Prefix-cdkppafcigkpykfsnikpfwkmxlhn/SplitSpeech_Prefix.pch.gch
cc1objplus: error: v: No such file or directory
DataModelCompile "build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources/SplitSpeech_DataModel.mom"
SplitSpeech_DataModel.xcdatamodel
cd "/Users/deshazer/Programming/Audio/SplitSpeech 2"
/Developer/usr/bin/momc "/Users/deshazer/Programming/Audio/SplitSpeech
2/SplitSpeech_DataModel.xcdatamodel"
"/Users/deshazer/Programming/Audio/SplitSpeech 2/build/SplitSpeech
Release/SplitSpeech.app/Contents/Resources/SplitSpeech_DataModel.mom"
Thanks so much for your help. The correction and the clarification of
what the #include_next directive is designed for is very helpful.
Regards,
Will
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden