• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building universal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building universal


  • Subject: Building universal
  • From: "Justin C. Walker" <email@hidden>
  • Date: Thu, 9 Mar 2006 16:57:35 -0800

Hi, all,

I have a problem building on both a Core Duo and PowerPC (G5) machine (Xcode 2.2.1, with a doc update). If I try to build a universal binary, with 'ppc64' as one of the architectures, the link phase fails (link line pasted below). The same configuration works on PowerPC.

This appears to be treating a file name as a symbol, but an 'nm' of the .o, and a check of the .c, turns up nothing that looks like that.

Clues for the clueless?

Thanks for the help.

Regards,

Justin

Checking Dependencies
Ld /SandBox/Justin/sb/JCWCode/build/JCWCode.build/Development/ kdisp.build/Objects-normal/ppc64/kdisp normal ppc64
cd /SandBox/Justin/sb/JCWCode
/usr/bin/gcc-4.0 -o /SandBox/Justin/sb/JCWCode/build/ JCWCode.build/Development/kdisp.build/Objects-normal/ppc64/kdisp -L/ SandBox/Justin/sb/JCWCode/build/Development -F/SandBox/Justin/sb/ JCWCode/build/Development -filelist /SandBox/Justin/sb/JCWCode/build/ JCWCode.build/Development/kdisp.build/Objects-normal/ppc64/ kdisp.LinkFileList -arch ppc64 -mmacosx-version-min=10.4 -isysroot / Developer/SDKs/MacOSX10.4u.sdk
can't resolve symbols:
/SandBox/Justin/sb/JCWCode/, referenced from:
_main in kdisp.o
ld64 failed: symbol(s) not found
collect2: ld returned 1 exit status


--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
 Well, except the weasel."
      - Homer J Simpson
--------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Building universal
      • From: "Peter O'Gorman" <email@hidden>
    • Re: Building universal
      • From: Chris Hanson <email@hidden>
    • Re: Building universal
      • From: Shyam Sundar <email@hidden>
  • Prev by Date: Re: Can't Find Header even though in project
  • Next by Date: Re: Building universal
  • Previous by thread: Re: Question about static linking...
  • Next by thread: Re: Building universal
  • Index(es):
    • Date
    • Thread