Re: Clean XCode install coughs :(
Re: Clean XCode install coughs :(
- Subject: Re: Clean XCode install coughs :(
- From: Scott Tooker <email@hidden>
- Date: Thu, 17 Jun 2004 18:11:12 -0700
You might try
gcc -v
from Terminal to see which gcc is currently being used. It appears that
gcc-2.95.2 is currently the active one.
Use
sudo gcc_select 3.3
to get a more reasonable version of gcc as the default.
Scott
On Jun 17, 2004, at 4:14 AM, jed wrote:
Hi
I have just installed, from new, OSX 10.3.4 and XCode 1.2 tools and
cannot get an 'out the box' cocoa project to compile :(
When I create a new Cocoa Application and compile it I get 34 warnings
and 4 errors. The warnings are
main.m:0: warning: could not use precompiled header
'/Users/jed/Projects/ProjBuilder
Code/Java/FriskeAdmin/build/FriskeAdmin.build/FriskeAdmin.build/
PrefixHeaders/FriskeAdmin_Prefix-gcc3.p', because:
main.m:0: warning: #ifdef '__OBJC__' not defined when precompiled, but
now defined:
main.m:0: warning: on the command line
/Users/jed/Projects/ProjBuilder
Code/Java/FriskeAdmin/FriskeAdmin_Prefix.h:6: warning: could not use
precompiled header
'/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa-gcc3.p',
because:
/Users/jed/Projects/ProjBuilder
Code/Java/FriskeAdmin/FriskeAdmin_Prefix.h:6: warning: 'stdint.h' has
different date than in precomp
/Users/jed/Projects/ProjBuilder
Code/Java/FriskeAdmin/FriskeAdmin_Prefix.h:6: warning: 'stdbool.h' has
different date than in precomp
/Users/jed/Projects/ProjBuilder
Code/Java/FriskeAdmin/FriskeAdmin_Prefix.h:6: warning: 'stdarg.h' has
different date than in precomp
/Users/jed/Projects/ProjBuilder
Code/Java/FriskeAdmin/FriskeAdmin_Prefix.h:6: warning: 'assert.h' has
different date than in precomp
etc..., where warnings repeat in a similar manner for the remaining 4
files:
'/System/Library/Frameworks/Foundation.framework/Headers/Foundation-
gcc3.p'
/System/Library/Frameworks/ApplicationServices.framework/Headers/
ApplicationServices-gcc3.p'
'/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices-gcc3.p'
'/System/Library/Frameworks/AppKit.framework/Headers/AppKit-gcc3.p'
The 4 errors are identical except for the final number on each line;
ld: /usr/lib/crt1.o malformed object, illegal reference (reference to a
symbol stub not at the start of the stub from section (__TEXT,__text)
relocation entry (42))
ld: /usr/lib/crt1.o malformed object, illegal reference (reference to a
symbol stub not at the start of the stub from section (__TEXT,__text)
relocation entry (44))
ld: /usr/lib/crt1.o malformed object, illegal reference (reference to a
symbol stub not at the start of the stub from section (__TEXT,__text)
relocation entry (54))
ld: /usr/lib/crt1.o malformed object, illegal reference (reference to a
symbol stub not at the start of the stub from section (__TEXT,__text)
relocation entry (72))
Same messages occur using gcc v3.1 or v3.3.
Has anyone seen this before. It would be more understandable it if I
had been using the compiler in anger over a relatively long period, but
this has occurred from a clean install :(
Any pointers gratefully received :)
Jed
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.