|
Loading...
|
adun-users@gna.org
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [Adun-users] advancing the compilation Michael Johnston Wed Feb 01 13:00:45 2012
The Debug configuration settings just have to be fixed. 2012/1/3 Jordi Villà i Freixa <[EMAIL PROTECTED]> > right. The point is how to make it more general to work in different > configurations > > El 3 de gener de 2012 12:47, Michael Johnston > <[EMAIL PROTECTED]> ha escrit: > > > > > > 2012/1/3 Jordi Villà i Freixa <[EMAIL PROTECTED]> > >> > >> > >>> -when I try to do the same (build same target AdunMeta and Debug) > through > >>> Xcode GUI I get up to 40 error messages, most already fixed in the > command > >>> line build : > >>> CompileC > >>> > build/Adun.build/Debug/AdunKernel.build/Objects-normal/i386/AdunPureNonbondedTerm.o > >>> Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m normal i386 > objective-c > >>> com.apple.compilers.gcc.4_0 > >>> cd /Users/jordivilla/Adun > >>> setenv LANG en_US.US-ASCII > >>> /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 > >>> -pipe -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wparentheses > >>> -Wunused-variable -Wsign-compare -DNeXT_Foundation -D_LIBRARY=1 > >>> -DNeXT_RUNTIME=1 -D__FREEBSD__ -DGSDIAGNOSE -DDEBUG -DGSWARN -isysroot > >>> /Developer/SDKs/MacOSX10.4u.sdk -mfix-and-continue > -mmacosx-version-min=10.4 > >>> -gdwarf-2 > >>> > -I/Users/jordivilla/Adun/build/Adun.build/Debug/AdunKernel.build/AdunKernel.hmap > >>> -F/Users/jordivilla/Adun/build/Debug > >>> -I/Users/jordivilla/Adun/build/Debug/include -I/usr/local/include > >>> -I/Users/jordivilla/Adun/Kernel > >>> -I/Users/jordivilla/Adun/Kernel/AdunKernel/CoreAdditions > >>> -I/usr/GNUstep/System/Library/Headers > >>> > -I/Users/jordivilla/Adun/build/Adun.build/Debug/AdunKernel.build/DerivedSources/i386 > >>> > -I/Users/jordivilla/Adun/build/Adun.build/Debug/AdunKernel.build/DerivedSources > >>> -include > >>> > /var/folders/pU/pUM1IdwWFBWWM1VJDiML6U+++Tg/-Caches-/com.apple.Xcode.507/SharedPrecompiledHeaders/AppKit-crzvmnzmtlbuynbyzghgxxpickzh/AppKit.h > >>> -c > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m > >>> -o > >>> > /Users/jordivilla/Adun/build/Adun.build/Debug/AdunKernel.build/Objects-normal/i386/AdunPureNonbondedTerm.o > >>> > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m: > >>> In function '-[AdPureNonbondedTerm > >>> evaluateEnergiesUsingInteractionsInvolvingElements:]': > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:652: > >>> error: 'NSUInteger' undeclared (first use in this function) > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:652: > >>> error: (Each undeclared identifier is reported only once > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:652: > >>> error: for each function it appears in.) > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:652: > >>> error: syntax error before 'index' > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:655: > >>> warning: passing argument 1 of 'objectAtIndex:' makes integer from > pointer > >>> without a cast > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:667: > >>> warning: passing argument 1 of 'indexGreaterThanIndex:' makes integer > from > >>> pointer without a cast > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:667: > >>> error: invalid lvalue in assignment > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:671: > >>> error: syntax error before 'index' > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:674: > >>> warning: passing argument 1 of 'objectAtIndex:' makes integer from > pointer > >>> without a cast > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:686: > >>> warning: passing argument 1 of 'indexGreaterThanIndex:' makes integer > from > >>> pointer without a cast > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:686: > >>> error: invalid lvalue in assignment > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m: > >>> In function '-[AdPureNonbondedTerm > >>> evaluateEnergiesOfInteractionsBetweenElements:andElements:threshold:]': > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:700: > >>> warning: 'AdPureNonbondedTerm' may not respond to > >>> '-evaluateEnergiesOfInteractionsBetweenIndizees:andIndizees:threshold:' > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:700: > >>> warning: (Messages without a matching method signature > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:700: > >>> warning: will be assumed to return 'id' and accept > >>> > >>> > /Users/jordivilla/Adun/Kernel/AdunKernel/Framework/AdunPureNonbondedTerm.m:700: > >>> warning: '...' as arguments.) > >>> > >>> > >> > >> The BaseSDK is not correct when you build from Xcode - its set to 10.4 > not > >> 10.5. This could be due to a personal setting somewhere. You can fix the > >> above problem at least by changing the BaseSDK setting in the build > >> configuration for AdunKernel to 10.5 (select AdunKernel target, > >> File->GetInfo, click Build tab, BaseSDK is the third setting.) Also > check > >> the default BaseSDK setting by doing the same but selecting the Adun > project > >> icon itself (first entry in the side panel). > >> > >> > >> this is weird, as I don't get the same problem in different machines, > >> while doing the same procedure (so, no dependencies in the Adun csv > >> version). In both cases I use Xcode 3.2.6: > >> > >> this is what I do > >> ##################### > >> cd $HOME > >> cvs -d:pserver:[EMAIL PROTECTED]:/var/cvs/adun co Adun > >> cd Adun/ExternalPackages/StepTalk > >> xcodebuild -target All -configuration Release > >> cd ../GNUstepBaseAdditions > >> sudo xcodebuild -target libgnustep-baseadd -configuration Release > >> cd ../../ > >> sed 's|rl_forced_update_display|//rl_forced_update_display|' > >> Plugins/Controllers/AdunShell/STShell.m >kk > >> mv kk Plugins/Controllers/AdunShell/STShell.m > >> xcodebuild -target AdunMeta -configuration Release > >> ####################### > >> > >> and this is the type of errors I get in the last step for all builts > that > >> seem to depend on 10.5 SDK. (it seems that the requested "release" > >> configuration is overwritten by a default Debug configuration, to start > >> with) > > > > > > This is due to an error in INSTALL.Xcode - the line configuration for > Adun > > should be 'Install' not 'Release' > > > >> > >> > >> === BUILD NATIVE TARGET adunbase OF PROJECT Adun WITH THE DEFAULT > >> CONFIGURATION (Debug) === > >> Check dependencies > >> > >> === BUILD NATIVE TARGET AdunKernel OF PROJECT Adun WITH THE DEFAULT > >> CONFIGURATION (Debug) === > >> Check dependencies > >> ProcessPCH > >> > /var/folders/iu/iuA3dlt8G4akJiM+uof94E++-8Q/-Caches-/com.apple.Xcode.1191/SharedPrecompiledHeaders/AppKit-atsndedeosjtoifuhldcijejkbwa/AppKit.h.gch > >> > /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h > >> normal i386 objective-c com.apple.compilers.gcc.4_0 > >> cd /Users/jvilla/Adun > >> 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 -O0 > -Wreturn-type > >> -Wparentheses -Wunused-variable -Wsign-compare -DNeXT_Foundation > >> -D_LIBRARY=1 -DNeXT_RUNTIME=1 -D__FREEBSD__ -DGSDIAGNOSE -DDEBUG > -DGSWARN > >> -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue > >> -mmacosx-version-min=10.4 -gdwarf-2 > >> > -I/Users/jvilla/Adun/build/Adun.build/Debug/AdunKernel.build/AdunKernel.hmap > >> -F/Users/jvilla/Adun/build/Debug > -I/Users/jvilla/Adun/build/Debug/include > >> -I/usr/local/include -I/Users/jvilla/Adun/Kernel > >> -I/Users/jvilla/Adun/Kernel/AdunKernel/CoreAdditions > >> -I/usr/GNUstep/System/Library/Headers > >> > -I/Users/jvilla/Adun/build/Adun.build/Debug/AdunKernel.build/DerivedSources/i386 > >> > -I/Users/jvilla/Adun/build/Adun.build/Debug/AdunKernel.build/DerivedSources > >> -c > >> > /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h > >> -o > >> > /var/folders/iu/iuA3dlt8G4akJiM+uof94E++-8Q/-Caches-/com.apple.Xcode.1191/SharedPrecompiledHeaders/AppKit-atsndedeosjtoifuhldcijejkbwa/AppKit.h.gch > > > > > > I can see an error in one of the preprocessor defs that could be the > cause. > > Since the Defs change based on configuration this error may not be in the > > Install config. I will check it tonight. > > > >> > >> > >> In file included from > >> > /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10, > >> from > >> > /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10: > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:46: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:47: error: > >> syntax error before 'BOOL' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:53: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:56: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:59: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:63: error: > >> syntax error before 'BOOL' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:64: error: > >> syntax error before 'BOOL' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:66: error: > >> syntax error before 'BOOL' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:67: error: > >> syntax error before 'BOOL' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:70: error: > >> syntax error before 'id' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:71: error: > >> syntax error before 'id' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:72: error: > >> syntax error before 'id' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:73: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:75: error: > >> syntax error before 'id' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:76: error: > >> syntax error before 'id' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:84: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:89: error: > >> syntax error before 'BOOL' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:96: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:102: error: > >> syntax error before 'BOOL' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:103: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:104: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:105: error: > >> syntax error before 'void' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:108: error: > >> syntax error before 'id' > >> /Developer/SDKs/MacOSX10.5.sdk/usr/include/objc/objc-auto.h:114: error: > >> syntax error before 'void' > >> > >> > >> > >>> > >>> On Jan 2, 2012, at 3:55 PM, Michael Johnston wrote: > >>> > >>> This is due to the readline problem - See point 4 in INSTALL.Xcode for > >>> the solutions > >>> > >>> FYI The relevant lines in the log are > >>> > >>> Undefined symbols: > >>> "_rl_forced_update_display", referenced from: > >>> -[STShell completion] in STShell.o > >>> -[STShell completion] in STShell.o > >>> ld: symbol(s) not found > >>> collect2: ld returned 1 exit status > >>> > >>> Note: Although the files is prefixed with ST it is actually in Adun not > >>> StepTalk. > >>> > >>> 2012/1/2 Jordi Villà i Freixa <[EMAIL PROTECTED]> > >>>> > >>>> I am having less troubles now, but still: > >>>> > >>>> jordivilla celtis ~/Adun 530 $ xcodebuild -project Adun.xcodeproj/ > >>>> -target AdunMeta -configuration Debug >adun.log > >>>> ** BUILD FAILED ** > >>>> > >>>> > >>>> The following build commands failed: > >>>> AdunShellController: > >>>> Ld > >>>> > /Users/jordivilla/Library/Adun/Controllers/AdunShell.bundle/Contents/MacOS/AdunShell > >>>> normal i386 > >>>> Adun: > >>>> CompileC > >>>> > build/Adun.build/Debug/Adun.build/Objects-normal/i386/ULViewControllerSimulationCommands.o > >>>> /Users/jordivilla/Adun/UL/ULViewControllerSimulationCommands.m normal > i386 > >>>> objective-c com.apple.compilers.gcc.4_0 > >>>> CompileC > >>>> build/Adun.build/Debug/Adun.build/Objects-normal/i386/ViewController.o > >>>> /Users/jordivilla/Adun/UL/ViewController.m normal i386 objective-c > >>>> com.apple.compilers.gcc.4_0 > >>>> CompileC > >>>> build/Adun.build/Debug/Adun.build/Objects-normal/i386/ULResponder.o > >>>> /Users/jordivilla/Adun/UL/ULResponder.m normal i386 objective-c > >>>> com.apple.compilers.gcc.4_0 > >>>> CompileC > >>>> > build/Adun.build/Debug/Adun.build/Objects-normal/i386/ULScriptManager.o > >>>> /Users/jordivilla/Adun/UL/ULScriptManager.m normal i386 objective-c > >>>> com.apple.compilers.gcc.4_0 > >>>> (5 failures) > >>>> > >>>> > >>>> and the results in adun.log can be checked here: > >>>> http://dl.dropbox.com/u/450113/adun.log > >>>> > >>>> (recall that I have build StepTalk without any noticeable error in > xcode > >>>> prior to this xcodebuild, but still it seems there is something going > on > >>>> with steptalk > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> This message has been automatically forwarded to you by the Adun team > >>>> http://adun.imim.es > >>>> _______________________________________________ > >>>> Adun-users mailing list > >>>> [EMAIL PROTECTED] > >>>> https://mail.gna.org/listinfo/adun-users > >>> > >>> > >>> > >> > >> > >> -- > >> Jordi Villà i Freixa > >> Computational Biochemistry and Biophysics lab > >> Research Group on Biomedical Informatics (GRIB) - IMIM/UPF > >> Parc de Recerca Biomèdica de Barcelona > >> C/ Doctor Aiguader, 88; 08003 Barcelona (Spain) > >> Tel: +34 93 316 0504 // Fax: +34 93 316 0550 > >> e-mail: [EMAIL PROTECTED] > >> http://cbbl.imim.es > >> > > > > > > -- > Jordi Villà i Freixa > Computational Biochemistry and Biophysics lab > Research Program on Biomedical Informatics (GRIB) - IMIM/UPF > Parc de Recerca Biomèdica de Barcelona > C/ Doctor Aiguader, 88; 08003 Barcelona (Spain) > Tel: +34 93 316 0504 // Fax: +34 93 316 0550 > e-mail: [EMAIL PROTECTED] http://cbbl.imim.es http://www.ascidea.com > This message has been automatically forwarded to you by the Adun team http://adun.imim.es _______________________________________________ Adun-users mailing list [EMAIL PROTECTED] https://mail.gna.org/listinfo/adun-users
- [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Re: [Adun-users] advancing the compilation Michael Johnston 2012/02/01
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Re: [Adun-users] advancing the compilation Michael Johnston 2012/02/01
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Re: [Adun-users] advancing the compilation Michael Johnston 2012/02/01
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Re: [Adun-users] advancing the compilation Michael Johnston 2012/02/01 <=
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Message not available
- Message not available
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Re: [Adun-users] advancing the compilation Michael Johnston 2012/02/01
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01
- Re: [Adun-users] advancing the compilation Michael Johnston 2012/02/01
- Re: [Adun-users] advancing the compilation Jordi Villà i Freixa 2012/02/01