Skip navigation.
 
mlRe: Omni frameworks installation
FROM : Steven Troughton-Smith
DATE : Sun Oct 17 13:18:20 2004

Just a thought, but you do need to compile the frameworks in a certain 
order or they won't build.

Try following the instructions on 
http://www.cocoadevcentral.com/articles/000032.php

Hope that helps,
Steve

On 17 Oct 2004, at 11:41 am, Christiaan Hofman wrote:

> Hi,
>
> I am trying to install the 3 main Omni frameworks (Base, Foundation 
> and AppKit), but keep getting errors compiling. Let me add that I am a 
> relative newbie to the whole thing.
>
> I did follow the instructions of choosing separate building and 
> intermediate locations.
> I also tried both the PB and XCode versions.
>
> For XCode OmniBase builds, although I had to add a SegAddrTable.txt 
> file which I copied from another message on this list. I know from 
> that message that the xcode version is not the main one and therefore 
> might be out of date, but PB gives me much worse (see below).
> OmniFrameworks however does not compile properly. I get the following 
> linking error:
>
> ld: 
> /Users/christiaanhofman/Documents/Development/Frameworks/
> BuildProducts/Intermediates/OmniFoundation.build/OmniFoundation 
> (Framework).build/Objects-normal/ppc/NSData-OFExtensions.o illegal 
> reference to symbol: _crc32 defined in indirectly referenced dynamic 
> library /Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/libz.1.1.3.dylib
> /usr/bin/libtool: internal link edit command failed
>
>
> I realize this is probably a basic linking question, but I do not know 
> what to do with it.
> Anyone can help me out?
>
>
> As for PB, it failed miserably (64 pare errors) already on OmniBase (I 
> changed all the usual stuff such as Deployment buildstyle, added 
> SKIP_INSTALL and DSTROOT, and used sudo).
> Here is a part of the log where the errors start (it goes on for a 
> while like this):
>
>                  from NSData-OBObjectCompatibility.m:8:
> /usr/include/stdarg.h:48: parse error before `__gnuc_va_list'
> /usr/include/stdarg.h:48: warning: data definition has no type or 
> storage class
> /usr/include/stdarg.h:110: parse error before `va_list'
> /usr/include/stdarg.h:110: warning: data definition has no type or 
> storage class
> In file included from 
> /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
>                  from 
> /System/Library/Frameworks/Foundation.framework/Headers/NSData.h:5,
>                  from 
> /Users/christiaanhofman/Documents/Development/Frameworks/OmniBase/
> NSData-OBObjectCompatibility.h:10,
>                  from NSData-OBObjectCompatibility.m:8:
> /System/Library/Frameworks/Foundation.framework/Headers/
> NSObjCRuntime.h:65: parse error before `va_list'
> In file included from 
> /System/Library/Frameworks/CoreFoundation.framework/Headers/
> CFPropertyList.h:10,
>                  from 
> /System/Library/Frameworks/CoreFoundation.framework/Headers/
> CoreFoundation.h:16,
>                  from 
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:
> 7,
>                  from NSData-OBObjectCompatibility.m:10:
> /System/Library/Frameworks/CoreFoundation.framework/Headers/
> CFString.h:191: parse error before `va_list'
> /System/Library/Frameworks/CoreFoundation.framework/Headers/
> CFString.h:466: parse error before `va_list'
> In file included from 
> /System/Library/Frameworks/Foundation.framework/Headers/
> NSAttributedString.h:5,
>                  from 
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:
> 12,
>                  from NSData-OBObjectCompatibility.m:10:
> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
> 184: parse error before `va_list'
> /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:
> 186: parse error before `va_list'
> In file included from 
> /System/Library/Frameworks/Foundation.framework/Headers/
> NSClassDescription.h:6,
>                  from 
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:
> 18,
>                  from NSData-OBObjectCompatibility.m:10:
> /System/Library/Frameworks/Foundation.framework/Headers/NSException.h:
> 56: parse error before `va_list'
> In file included from 
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:
> 41,
>                  from NSData-OBObjectCompatibility.m:10:
> /System/Library/Frameworks/Foundation.framework/Headers/
> NSInvocation.h:42: parse error before `_Bool'
>
>
> (that's the end of the log part).
>
> I would like to be able to use PB also to compile, as this is the 
> version that is actually used by OmniGroup.
>
> thanks,
> Christiaan
>
>
> Christiaan
> -------------------------------------------------------------------
> Christiaan Hofman          Email: christiaan.<email_removed>
> Dept. of Particle Physics  WWW:  http://www.weizmann.ac.il/~hofman
> Weizmann Institute        Phone: (+972) 8-934 2943
> Rehovot 76100, Israel      Fax:  (+972) 8-934 4172
> -------------------------------------------------------------------
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>

Related mailsAuthorDate
mlOmni frameworks installation Christiaan Hofman Oct 17, 12:41
mlRe: Omni frameworks installation Steven Troughton-S… Oct 17, 13:18
mlRe: Omni frameworks installation Christiaan Hofman Oct 17, 13:34
mlRe: Omni frameworks installation Scott Stevenson Oct 18, 00:25
mlRe: Omni frameworks installation Christiaan Hofman Oct 18, 11:38
mlRe: Omni frameworks installation (SOLVED) Christiaan Hofman Oct 22, 19:35
mlRe: Omni frameworks installation (SOLVED) Scott Stevenson Oct 22, 23:59
mlRe: Omni frameworks installation (SOLVED) Christiaan Hofman Oct 23, 16:16