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 > macOS > I get a MAKE error; how do I correct this?

I get a MAKE error; how do I correct this?
Thread Tools
Gregory Terry
Fresh-Faced Recruit
Join Date: Mar 2006
Status: Offline
Reply With Quote
Mar 16, 2006, 07:58 PM
 
I get the following:

administratrors-powerbook-g4-17:~/v26a_bld/src/mcnpx] admin% make all
/usr/bin/ld: Undefined symbols:
_printf$LDBLStub
_sprintf$LDBLStub
/usr/bin/ld: warning weak symbol references not set in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
/usr/bin/ld: warning weak referenced symbols:
_getaddrinfo
make: *** [mcnpx] Error 1


How do I get the address info to the right place for these commands?

Thanks,

     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Mar 21, 2006, 02:42 PM
 
I think we need a lot more info to help you with that. Which version of OS X are you running, for starters? Which Xcode/Project Builder version is installed? What program are you trying to build? Did ./configure output anything enlightening when you ran it?
     
Detrius
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status: Offline
Reply With Quote
Mar 26, 2006, 06:03 AM
 
Going off the top of my head here, but I think weak linking was introduced in 10.2, so you should probably set the deployment target to 10.2 or later. Also, if you are using weak linking, make sure you point at the SDK you want to take advantage of.

Also, are you weak linking frameworks, libraries, or explicitly weak linking functions in the code? Of course, if it's your code, this should really be in the Developer forum.
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 10:00 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,