Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Can't compile C program due to loader crapping out?

Can't compile C program due to loader crapping out?
Thread Tools
Mac Enthusiast
Join Date: Jun 2000
Location: New Jersey, USA
Status: Offline
Reply With Quote
Dec 26, 2002, 10:58 AM
 
I've become so Perl-centric that I hardly ever touch C any more, but I went to play around a bit the other day and got the following error message:

/usr/bin/ld: /usr/lib/libSystem.dylib load command 9 unknown cmd field

Same thing happens when I either just run vanilla "cc hw.c" or else "make hw" using the default rules (no makefile).

Can anyone offer any insight what this means? I had expected that the basic compiler environment would be ready to go, but apparently not.

Thanks in advance...
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 26, 2002, 12:57 PM
 
You installed 10.2 over 10.1 but did not upgrade your developer tools. Keep your tools up to date! Go get the December 2002 ones.
     
neilw  (op)
Mac Enthusiast
Join Date: Jun 2000
Location: New Jersey, USA
Status: Offline
Reply With Quote
Dec 26, 2002, 02:12 PM
 
Yeah, that's what I did.

Thanks, I'll go do the download.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2