link error, how to include a target that was linked as -bundle
link error, how to include a target that was linked as -bundle
- Subject: link error, how to include a target that was linked as -bundle
- From: email@hidden
- Date: Thu, 23 Jun 2005 12:14:14 +0200
- Importance:
- Sensitivity:
Hello,
I am using xlc++ and Xcode 1.5.
I build a project that consists on several bundle.
I did chose -bundle as library style in the targets parameters of
"XLSTATRD1C", "XLSTATCR1C" et "XLSTATBS1C"
The test application is build with a library style -dylib.
The linker does not find two symbols VBDecryptWString(char*),
SysAllocString(wchar_t const*).
These methods are well defined in XLSTATCR1C.
The same code compiles without problem under windows.
- What can I do to make it compile?
- Is there some documentation about the differences of -bundle and -dylib
in this context (xlc++ xcode)
Thanks in advance.
---
Native Build of Target "XLSTATRD1C"
Native Build of Target "XLSTATCR1C"
Native Build of Target "XLSTATBS1C"
Ld /Users/jjaeger/build/XLSTATBS1C.dylib
cd /Users/jjaeger
/opt/ibmcmp/vacpp/6.0/bin/gxlc++ -o
/Users/jjaeger/build/XLSTATBS1C.dylib -L/Users/jjaeger/build
-F/Users/jjaeger/build -filelist
/Users/jjaeger/build/XLSTAT1.build/XLSTATBS1C.build/Objects-normal/XLSTATBS1C.LinkFileList
-arch ppc -bundle
ld: warning multiple definitions of symbol _expm1
/Users/jjaeger/build/XLSTAT1.build/XLSTATBS1C.build/Objects-normal/ppc/XLSTATBS1C.o
definition of _expm1 in section (__TEXT,__text)
/usr/lib/libm.dylib(tableExpD.o) definition of _expm1
ld: Undefined symbols:
VBDecryptWString(char*)
SysAllocString(wchar_t const*)
/opt/ibmcmp/vacpp/6.0/bin/xlc++ -qsourcetype=c++ -o
/Users/jjaeger/build/XLSTATBS1C.dylib -L/Users/jjaeger/build
-qframeworkdir=/Users/jjaeger/build -filelist
/Users/jjaeger/build/XLSTAT1.build/XLSTATBS1C.build/Objects-normal/XLSTATBS1C.LinkFileList
-arch ppc -bundle
Jürgen Jäger
mail: email@hidden
_______________________________________________
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