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 > Developer Center > Can't build any applications/projects on new Powerbook

Can't build any applications/projects on new Powerbook
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
May 12, 2004, 02:09 AM
 
Hi

I just got my new powerbook and I installed the recent developer tools. When I tried building my project, I got a build error. I tried building the examples included in the developer tools and also got a build error. Below is what I get when building the toolbar example in the Developer AppKit examples:

"Building ZeroLink launcher build/SimpleToolbar.app/Contents/MacOS/SimpleToolbar
cd /Developer/Examples/AppKit/SimpleToolbar
/usr/bin/ld -o build/SimpleToolbar.app/Contents/MacOS/SimpleToolbar -lcrt1.o /System/Library/PrivateFrameworks/ZeroLink.framework/Resources/libZeroLinkAppStub.a -all_load -lSystem -Lbuild -Fbuild -framework Cocoa -stack_size 100000 -stack_addr c0000000 -framework ZeroLink -F/System/Library/PrivateFrameworks/ -x -unexported_symbols_list /System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/Resources/ZeroLinkAppStub.nexp -sectcreate __TEXT __zerolink build/SimpleToolbar.build/SimpleToolbar.build/Objects-normal/SimpleToolbar.zerolink
/usr/bin/ld: can't locate file for: -lcrt1.o"

Any suggestions on how to get this fixed?

Thanks.
     
JNI
Forum Regular
Join Date: Oct 2002
Location: Left Coast
Status: Offline
Reply With Quote
May 12, 2004, 11:52 AM
 
Originally posted by macaroni:
/usr/bin/ld: can't locate file for: -lcrt1.o"
crt1.o should be in /usr/lib. Did you check to see if it is there? If so, maybe the permissions are screwed up on that folder?

When you installed OS X, did you install the BSD subsystem stuff? That is necessary.

If all that looks good, I think a reinstall might be easiest to resolve any issues.
     
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
May 13, 2004, 12:20 PM
 
I doubled check the items that you suggested and were infact intact so I resorted to reinstall and everything seems to be ok.

Thanks.


Originally posted by JNI:
crt1.o should be in /usr/lib. Did you check to see if it is there? If so, maybe the permissions are screwed up on that folder?

When you installed OS X, did you install the BSD subsystem stuff? That is necessary.

If all that looks good, I think a reinstall might be easiest to resolve any issues.
     
   
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 06:30 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