Re: Xcode not linking static library
Re: Xcode not linking static library
- Subject: Re: Xcode not linking static library
- From: Fritz Anderson <email@hidden>
- Date: Thu, 25 Oct 2007 10:28:34 -0500
I see in this listing that there are two linkages, one for 10.2 on PPC
and one for Intel. They seem to be for the same product. Both report
_LMSerialNumberString as undefined.
I had hoped you would provide the partial transcript for the case in
which the link _didn't_ work, and for the case in which it _did_. Then
we could compare.
(Is LMSerialNumberString even used in the product that did link?)
— F
On 25 Oct 2007, at 10:15 AM, Luc Vandal wrote:
Checking Dependencies
Ld "/Users/lucvandal/Edovia/Clients/HW/VRSMac PPC-INTEL/lpn/source/
VRMacOSX/randomid/build/randomid.build/Release/randomid.build/
Objects-normal/ppc/randomid" normal ppc
cd "/Users/lucvandal/Edovia/Clients/HW/VRSMac PPC-INTEL/lpn/
source/VRMacOSX/randomid"
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk
/usr/bin/gcc-3.3 -o /Users/lucvandal/Edovia/Clients/HW/VRSMac\
PPC-INTEL/lpn/source/VRMacOSX/randomid/build/randomid.build/Release/
randomid.build/Objects-normal/ppc/randomid -L/Users/lucvandal/Edovia/
Clients/HW/VRSMac\ PPC-INTEL/lpn/source/VRMacOSX/randomid/build/
Release -L../LicenseManager/build -L/Users/lucvandal/Edovia/Clients/
HW/VRSMac\ PPC-INTEL/lpn/source/VRMacOSX/randomid/../LicenseManager/
build -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 -F/
Users/lucvandal/Edovia/Clients/HW/VRSMac\ PPC-INTEL/lpn/source/
VRMacOSX/randomid/build/Release -filelist /Users/lucvandal/Edovia/
Clients/HW/VRSMac\ PPC-INTEL/lpn/source/VRMacOSX/randomid/build/
randomid.build/Release/randomid.build/Objects-normal/ppc/
randomid.LinkFileList -framework Foundation -lLicenseManager -arch
ppc -Wl,-Y,1455 -mmacosx-version-min=10.2 -Wl,-syslibroot,/Developer/
SDKs/MacOSX10.2.8.sdk
ld: Undefined symbols:
_LMSerialNumberString
/Users/lucvandal/Edovia/Clients/HW/VRSMac PPC-INTEL/lpn/source/
VRMacOSX/randomid/build/randomid.build/Release/randomid.build/
Objects-normal/ppc/randomid.o reference to undefined
_LMSerialNumberString
Ld "/Users/lucvandal/Edovia/Clients/HW/VRSMac PPC-INTEL/lpn/source/
VRMacOSX/randomid/build/randomid.build/Release/randomid.build/
Objects-normal/i386/randomid" normal i386
cd "/Users/lucvandal/Edovia/Clients/HW/VRSMac PPC-INTEL/lpn/
source/VRMacOSX/randomid"
/usr/bin/gcc-4.0 -o /Users/lucvandal/Edovia/Clients/HW/VRSMac\
PPC-INTEL/lpn/source/VRMacOSX/randomid/build/randomid.build/Release/
randomid.build/Objects-normal/i386/randomid -L/Users/lucvandal/
Edovia/Clients/HW/VRSMac\ PPC-INTEL/lpn/source/VRMacOSX/randomid/
build/Release -L../LicenseManager/build -L/Users/lucvandal/Edovia/
Clients/HW/VRSMac\ PPC-INTEL/lpn/source/VRMacOSX/randomid/../
LicenseManager/build -F/Users/lucvandal/Edovia/Clients/HW/VRSMac\
PPC-INTEL/lpn/source/VRMacOSX/randomid/build/Release -filelist /
Users/lucvandal/Edovia/Clients/HW/VRSMac\ PPC-INTEL/lpn/source/
VRMacOSX/randomid/build/randomid.build/Release/randomid.build/
Objects-normal/i386/randomid.LinkFileList -framework Foundation -
lLicenseManager -arch i386 -Wl,-Y,1455 -mmacosx-version-min=10.4 -
isysroot /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: Undefined symbols:
_LMSerialNumberString
/Users/lucvandal/Edovia/Clients/HW/VRSMac PPC-INTEL/lpn/source/
VRMacOSX/randomid/build/randomid.build/Release/randomid.build/
Objects-normal/i386/randomid.o reference to undefined
_LMSerialNumberString
collect2: ld returned 1 exit status
_______________________________________________
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