Skip navigation

Where are my error codes?

501 Views 6 Replies Latest reply: Apr 4, 2013 12:30 PM by baltwo RSS
Gil Dawson Level 1 Level 1 (75 points)
Currently Being Moderated
Apr 3, 2013 3:34 PM

A reasonably current and comprehensive list of Mac error codes can be found on some folks' machines, but not mine.  Why not?

 

Error codes can be found in the header files used to compile code.  On Mark's machine...

Mark Jalbert wrote:

 

Here's the command and the output that I get->

[bash-3.2.48] ~ $ find /System/Library/Frameworks/ -type f -iname "*.h" -exec /usr/bin/grep -lw "\-1409" {} + 
/System/Library/Frameworks//CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h

 

My machine does not have that same file structure.  When I try to drill the Finder down to that "MacErrors.h" file, I find that, on my machine, one of the folders in the path...

 

/System/Library/Frameworks//CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/

 

...has no "Headers" folder in it, even when invisibles are visible via the Invisibility Toggler app. 

 

Mark and I are both running 10.6.8.

 

I  have XCode V 3.2.5 installed on my machine.

 

Any ideas?

 

--Gil

MacBook Pro, Mac OS X (10.6.8)
  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Apr 3, 2013 4:30 PM (in response to Gil Dawson)

    open /System/Library/Frameworks//CoreServices.framework/Versions/A/Frameworks/Carbon Core.framework/Versions/A/Headers/

     

    or with Xcode, try

     

    open /Developer/Headers/FlatCarbon/

     

    Do note that the former is newer than the latter.

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.3), G4 450 MP w/Leopard, 9.2.2
  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Apr 3, 2013 6:09 PM (in response to Gil Dawson)

    My error copying the first one from the originating post. There's a double slash between the first Frameworks and CoreServices, mucking things up. Try:

     

    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Carbon Core.framework/Versions/A/Headers/

     

    The second folder should have this:

     

    Screen shot 2013-04-03 at 6.07.16 PM.png

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.3), G4 450 MP w/Leopard, 9.2.2
  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Apr 4, 2013 12:30 PM (in response to Gil Dawson)

    thumbsup.gif

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.3), G4 450 MP w/Leopard, 9.2.2

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.