Go Back   The macosxhints Forums > Working with OS X > OS X Developer



Reply
 
Thread Tools Rate Thread Display Modes
Old 10-12-2006, 06:53 PM   #1
solutions
Prospect
 
Join Date: Oct 2006
Posts: 2
Compiling Framework

Hi,

I am new to this and trying to compile a framework using XCode 2.3 on OSX 10.4.8. When I compile, I get the following errors and warnings. Can anyone please help on how to correct this or know where I can get help? Do the warnings need to be dealt with or just the errors? Google doesn't seem to be much help on the errors.

Checking Dependencies (1 warning)
warning: The Mac OS X 10.2.8 SDK does not support ZeroLink; disabling it

Linking (2 errors, 2 warnings)

warning can't open dynamic library: /Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/libgcc_s.1.dylib referenced from:...(checking for undefined symbols may be affected) (No such file or directory, errno = 2)

warning prebinding disabled because dependent library: /Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/libgcc_s.1.dylib can't be searched

Undefined symbols:
_fegetround referenced from libSystem expected to be defined in /usr/lib/system/libmathCommon.A.dylib

/usr/bin/libtool: internal link edit command failed
solutions is offline   Reply With Quote
Old 10-13-2006, 12:48 AM   #2
blb
All Star
 
Join Date: Jan 2002
Location: CO, USA
Posts: 908
If you truly need to build for 10.2.8 (or any version prior to 10.3.9) you can't use gcc4 for compiling. See, for example, How to: Compile an application for 10.2 (or 10.3) using Xcode 2.1.

Also, Apple's Xcode users list may be a good resource for this.
blb is offline   Reply With Quote
Old 10-14-2006, 03:00 PM   #3
solutions
Prospect
 
Join Date: Oct 2006
Posts: 2
Thanks,

In the project info>build screen, I changed GCC_VERSION to 3.3, set the framework to 10.2.8 and changed the architecture to ppc from current. Changing the architecture is the one thing that tutorial leaves out.

One other question: The developer says to use the 10.2.8 Dev kit to build the code. If I wanted to build it for Universal, I would have to change a lot fo the coding, right? Any documentation on something like that?
solutions is offline   Reply With Quote
Old 10-14-2006, 05:11 PM   #4
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,941
Giyf

Quote:
Originally Posted by solutions
If I wanted to build it for Universal, I would have to change a lot fo the coding, right? Any documentation on something like that?

Try this:
http://www.google.com/search?q=unive...oper.apple.com
__________________
hayne.net/macosx.html
hayne is online now   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.