• 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
Re: XCode Link Error - What does this mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode Link Error - What does this mean?


  • Subject: Re: XCode Link Error - What does this mean?
  • From: Rick Sustek <email@hidden>
  • Date: Fri, 2 May 2008 13:30:26 -0700

Actually, you should have to do this, Mac or no Mac!

You are dealing with UNIX tools that operate on command lines, and command line argument syntax follows certain rules.

Basically, spaces and punctuation characters will cause trouble, depending on what tool, and how, they are used.

You can avoid troubles by never using spaces or punctuation characters outside of a limited set. Or, you can make sure that you follow quoting and escaping rules whenever you declare paths and files that do use spaces or non-standard punctuation.

If you examine your own linkage command line, you will see that many of the arguments to the flags are fully encased in double quotes. This is usually enough to do the job, particularly when there are space characters in between. However, certain flag parsers may not be able to deal with every punctuation character, such as comma.

If you look in Apple's own library tree, at /System/Library/ Frameworks, you will note that they avoided space characters from the root down to any specific binary file.

A good rule to go by, is save the spaces and special characters for *product* files, that the user or customer will see, as that is where readability is most important. But within a tree of source code, object code, and other development project assets, stick firmly to no spaces and alphanumerics only.

Have fun,
-Rick







Begin forwarded message:
From: Stefan Werner <email@hidden>
Date: May 2, 2008 12:24:47 PM PDT
To: J.Todd Slack <email@hidden>
Cc: Xcode-users <email@hidden>
Subject: Re: XCode Link Error - What does this mean?


On May 2, 2008, at 12:04 PM, J. Todd Slack wrote:

I am getting this error ( on all my projects it seems..)

cd "/Users/slack/Sites and Projects/Get Online, LLC/iTunes Visual SDK/VisualsSDK"
/Developer/usr/bin/gcc-4.0 -o "/Users/slack/Sites and Projects/ Get Online, LLC/iTunes Visual SDK/VisualsSDK/build/Development/ iTunes Visualizer.bundle/Contents/MacOS/iTunes Visualizer" "-L/ Users/slack/Sites and Projects/Get Online, LLC/iTunes Visual SDK/ VisualsSDK/build/Development" "-F/Users/slack/Sites and Projects/ Get Online, LLC/iTunes Visual SDK/VisualsSDK/build/Development" - filelist "/Users/slack/Sites and Projects/Get Online, LLC/iTunes Visual SDK/VisualsSDK/build/iTunesPlugIn.build/Development/iTunes Visualizer.build/Objects-normal/i386/iTunes Visualizer.LinkFileList" -framework CoreFoundation -framework Carbon -arch i386 -bundle -mmacosx-version-min=10.3 -isysroot / Developer/SDKs/MacOSX10.4u.sdk
ld: -filelist file not found: /Users/slack/Sites and Projects/Get Online


collect2: ld returned 1 exit status
ld: -filelist file not found: /Users/slack/Sites and Projects/ Get Online
collect2: ld returned 1 exit status
Build failed (1 error)



Can anyone tell me what this means and perhaps how to fix?

If I interpret this correctly, it's choking on the comma in the path name. If you rename "Get Online, LLC" to "Get Online LLC", will it work then?


I've had several cases in which Xcode had problems with spaces or non-English characters in file names and just put up with it by not naming my files like that. I shouldn't have to on a Mac though.

-Stefan
_______________________________________________
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
_______________________________________________
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: XCode Link Error - What does this mean?
      • From: "Mark Wagner" <email@hidden>
    • Re: XCode Link Error - What does this mean?
      • From: Jason Watts <email@hidden>
    • Re: XCode Link Error - What does this mean?
      • From: Marshall Clow <email@hidden>
    • Re: XCode Link Error - What does this mean?
      • From: "J. Todd Slack" <email@hidden>
References: 
 >XCode Link Error - What does this mean? (From: "J. Todd Slack" <email@hidden>)
 >Re: XCode Link Error - What does this mean? (From: Stefan Werner <email@hidden>)

  • Prev by Date: Re: Xcode 3 losing scm password
  • Next by Date: Re: XCode Link Error - What does this mean?
  • Previous by thread: Re: XCode Link Error - What does this mean?
  • Next by thread: Re: XCode Link Error - What does this mean?
  • Index(es):
    • Date
    • Thread