[Mono-osx] Problems Building Dumbarton

Eoin Norris e.norris at mac.com
Fri Mar 30 10:24:24 EDT 2007


If using xCode you need to  change the header search paths in the  
target  ( right click on the target and chose Get Info) . Here is  
what worked for me

/Library/Frameworks/Mono.framework/Headers /Library/Frameworks/ 
Mono.framework/Headers/mono-1.0 /


On 30 Mar 2007, at 15:09, Paulmichael Blasucci wrote:

> Hi, all...
>
> I posted here before about problems compiling Dumbarton. Last time  
> (a few months ago) I became so frustrated I just walked away from  
> the whole thing. So, now I'm back trying to compile the latest  
> version of Dumbarton against the latest version of Mono with the  
> latest version of XCode. I am encouraged by the fact that I'm  
> receiving totally different errors than last time I tried this.  
> However, as I'm still receiving errors, I'm hoping some of you kind  
> folks can help me straighten things out.
>
> Specifically, I get several parser errors, which don't seem to stop  
> the compiler, then it finally blows up with the following error:
>
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoObjectRepresentation.h:39: fatal error: method definition not  
> in @implementation context
>
> By no means am I an Objective-C expert, but this seems to be a  
> disconnect between the object's definition and its implementation.  
> So, assuming that's the problem, I reviewed the rest of the output  
> and found all those parser errors I mentioned above. Is it possible  
> the parser errors are related to the fatal error? I'm including the  
> relevant parts of the output below:
>
> CompileC build/Dumbarton.build/Debug/Dumbarton.build/Objects-normal/ 
> i386/DBMonoClassRepresentation.o /Users/paulmichael/Developer/ 
> Dumbarton/src/Representations/DBMonoClassRepresentation.m normal  
> i386 objective-c com.apple.compilers.gcc.4_0
>     cd /Users/paulmichael/Developer/Dumbarton/src
>     /usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs  
> -fobjc-exceptions -fpascal-strings -fasm-blocks -g -O0 -Wreturn- 
> type -Wunused-variable -fmessage-length=0 -fobjc-direct-dispatch - 
> mmacosx-version-min=10.4 -I/Users/paulmichael/Developer/Dumbarton/ 
> src/build/Dumbarton.build/Debug/Dumbarton.build/Dumbarton.hmap -F/ 
> Users/paulmichael/Developer/Dumbarton/src/build/Debug -F/Library/ 
> Frameworks -I/Users/paulmichael/Developer/Dumbarton/src/build/Debug/ 
> include -I/Users/paulmichael/Developer/Dumbarton/src/build/ 
> Dumbarton.build/Debug/Dumbarton.build/DerivedSources -Winvalid-pch - 
> DDEBUG -Winline -DJUDYERROR_NOTEST -D_THREAD_SAFE -I/Library/ 
> Frameworks/Mono.framework/Versions/Current/include -I/Library/ 
> Frameworks/Mono.framework/Versions/Current/include/glib-2.0 -I/ 
> Library/Frameworks/Mono.framework/Versions/Current/lib/glib-2.0/ 
> include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/ 
> Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/Dumbarton_Prefix- 
> dstkdypexcihqndwyintbnvxxgjl/Dumbarton_Prefix.pch -c /Users/ 
> paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoClassRepresentation.m -o /Users/paulmichael/Developer/ 
> Dumbarton/src/build/Dumbarton.build/Debug/Dumbarton.build/Objects- 
> normal/i386/DBMonoClassRepresentation.o
> In file included from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoClassRepresentation.h:24,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoClassRepresentation.m:22:
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:22:25:  
> error: mono/jit/jit.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:23:35:  
> error: mono/metadata/metadata.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:24:40:  
> error: mono/metadata/debug-helpers.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:25:33:  
> error: mono/metadata/object.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:26:34:  
> error: mono/metadata/threads.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:27:36:  
> error: mono/metadata/appdomain.h: No such file or directory
> In file included from /Users/paulmichael/Developer/Dumbarton/src/ 
> Utility/DBUtility.h:22,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoClassRepresentation.h:25,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoClassRepresentation.m:22:
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:28:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:28:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:28:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:29:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:29:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:29:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:32:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:32:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:32:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:33:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:34:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:34:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:34:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:35:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:38:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:39:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:40:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:41:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:44:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:44:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:44:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:45:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:48:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:48:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:48:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:49:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:49:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:49:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:50:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:50:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:50:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:51:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:51:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:51:  
> warning: data definition has no type or storage class
> In file included from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoClassRepresentation.m:22:
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoClassRepresentation.h:29: error: parse error before 'MonoClass'
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoClassRepresentation.h:32: error: parse error before 'MonoClass'
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoClassRepresentation.h:33: error: parse error before  
> 'MonoAssembly'
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoClassRepresentation.h:34: fatal error: method definition not  
> in @implementation context
> compilation terminated.
> {standard input}:7:FATAL:.abort  detected.  Assembly stopping.
>
> CompileC build/Dumbarton.build/Debug/Dumbarton.build/Objects-normal/ 
> i386/DBMonoObjectRepresentation.o /Users/paulmichael/Developer/ 
> Dumbarton/src/Representations/DBMonoObjectRepresentation.m normal  
> i386 objective-c com.apple.compilers.gcc.4_0
>     cd /Users/paulmichael/Developer/Dumbarton/src
>     /usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs  
> -fobjc-exceptions -fpascal-strings -fasm-blocks -g -O0 -Wreturn- 
> type -Wunused-variable -fmessage-length=0 -fobjc-direct-dispatch - 
> mmacosx-version-min=10.4 -I/Users/paulmichael/Developer/Dumbarton/ 
> src/build/Dumbarton.build/Debug/Dumbarton.build/Dumbarton.hmap -F/ 
> Users/paulmichael/Developer/Dumbarton/src/build/Debug -F/Library/ 
> Frameworks -I/Users/paulmichael/Developer/Dumbarton/src/build/Debug/ 
> include -I/Users/paulmichael/Developer/Dumbarton/src/build/ 
> Dumbarton.build/Debug/Dumbarton.build/DerivedSources -Winvalid-pch - 
> DDEBUG -Winline -DJUDYERROR_NOTEST -D_THREAD_SAFE -I/Library/ 
> Frameworks/Mono.framework/Versions/Current/include -I/Library/ 
> Frameworks/Mono.framework/Versions/Current/include/glib-2.0 -I/ 
> Library/Frameworks/Mono.framework/Versions/Current/lib/glib-2.0/ 
> include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/ 
> Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/Dumbarton_Prefix- 
> dstkdypexcihqndwyintbnvxxgjl/Dumbarton_Prefix.pch -c /Users/ 
> paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoObjectRepresentation.m -o /Users/paulmichael/Developer/ 
> Dumbarton/src/build/Dumbarton.build/Debug/Dumbarton.build/Objects- 
> normal/i386/DBMonoObjectRepresentation.o
> In file included from /Users/paulmichael/Developer/Dumbarton/src/ 
> Utility/DBInvoke.h:22,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Utility/DBUtility.h:22,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoObjectRepresentation.h:24,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoObjectRepresentation.m:22:
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:22:25:  
> error: mono/jit/jit.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:23:35:  
> error: mono/metadata/metadata.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:24:40:  
> error: mono/metadata/debug-helpers.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:25:33:  
> error: mono/metadata/object.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:26:34:  
> error: mono/metadata/threads.h: No such file or directory
> /Users/paulmichael/Developer/Dumbarton/src/DBMonoIncludes.h:27:36:  
> error: mono/metadata/appdomain.h: No such file or directory
> In file included from /Users/paulmichael/Developer/Dumbarton/src/ 
> Utility/DBUtility.h:22,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoObjectRepresentation.h:24,
>                  from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoObjectRepresentation.m:22:
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:28:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:28:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:28:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:29:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:29:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:29:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:32:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:32:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:32:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:33:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:34:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:34:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:34:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:35:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:38:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:39:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:40:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:41:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:44:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:44:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:44:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:45:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:48:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:48:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:48:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:49:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:49:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:49:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:50:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:50:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:50:  
> warning: data definition has no type or storage class
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:51:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:51:  
> error: parse error before '*' token
> /Users/paulmichael/Developer/Dumbarton/src/Utility/DBInvoke.h:51:  
> warning: data definition has no type or storage class
> In file included from /Users/paulmichael/Developer/Dumbarton/src/ 
> Representations/DBMonoObjectRepresentation.m:22:
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoObjectRepresentation.h:29: error: parse error before  
> 'MonoObject'
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoObjectRepresentation.h:36: error: parse error before 'MonoClass'
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoObjectRepresentation.h:38: error: parse error before  
> 'MonoObject'
> /Users/paulmichael/Developer/Dumbarton/src/Representations/ 
> DBMonoObjectRepresentation.h:39: fatal error: method definition not  
> in @implementation context
> compilation terminated.
> {standard input}:7:FATAL:.abort  detected.  Assembly stopping.
>
>
> Any help anyone could offer would be most greatly appreciated, as I  
> am version excited by/interested in Mono and Dumbarton. Thanks, in  
> advance, for your assistance. Cheers.
>
> Paulmichael Blasucci
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20070330/c2a917cd/attachment-0001.html 


More information about the Mono-osx mailing list