problem during link of bundles
problem during link of bundles
- Subject: problem during link of bundles
- From: email@hidden
- Date: Fri, 24 Jun 2005 11:54:56 +0200
- Importance:
Hello,
I am porting a C++ application from
MS Visual C++ to Xcode using xlc++.
During the link phase, I have the following
error message :
/libXLSTATCR1C.dylib is input for
the dynamic link editor, is not relocatable by the static link editor again
I produce a bundle XLSTATCR1C which
uses the Carbon Framework. The build process works fine.
Now I want to create another bundle,
that uses functions exported by XLSTATCR1C.
During the linking there is problem
due to some static link. I thought choosing dynamic libraries and -bundle
option uses always dynamic linking if nothing else is specified.
---
I tried also to use the dynamic Library
style in Xcode, but the option is not recognized by the gxlc++ precompiler.
---
Native Build of Target "XLSTATCR1C"
CompileC build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/ppc/appledef.o
/Users/jjaeger/MAC/CRY/appledef.cpp normal ppc c++ com.apple.compilers.gccplusplus.3_3.xlc
mkdir -p /Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/ppc
cd /Users/jjaeger/XLSTAT2
/opt/ibmcmp/vacpp/6.0/bin/gxlc++
-x c++ -arch ppc -pipe -Wx,-qmacmessage -Wno-trigraphs -fpascal-strings
-g -O0 -Wno-four-char-constants -Wno-unknown-pragmas -fmessage-length=0
-F/Users/jjaeger/XLSTAT2/build -I/Users/jjaeger/XLSTAT2/build/include -I/Users/jjaeger/MAC/include
-I/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/DerivedSources
-Wp,-header-mapfile,/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/XLSTATCR1C.hmap
-c /Users/jjaeger/MAC/CRY/appledef.cpp -o /Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/ppc/appledef.o
/opt/ibmcmp/vacpp/6.0/bin/gxlc++: 1501-257
Option -Wp,-header-mapfile,/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/XLSTATCR1C.hmap
is not recognized. Option will be ignored.
CompileC build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/ppc/BitCrypt.o
/Users/jjaeger/MAC/CRY/BitCrypt.cpp normal ppc c++ com.apple.compilers.gccplusplus.3_3.xlc
cd /Users/jjaeger/XLSTAT2
/opt/ibmcmp/vacpp/6.0/bin/gxlc++
-x c++ -arch ppc -pipe -Wx,-qmacmessage -Wno-trigraphs -fpascal-strings
-g -O0 -Wno-four-char-constants -Wno-unknown-pragmas -fmessage-length=0
-F/Users/jjaeger/XLSTAT2/build -I/Users/jjaeger/XLSTAT2/build/include -I/Users/jjaeger/MAC/include
-I/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/DerivedSources
-Wp,-header-mapfile,/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/XLSTATCR1C.hmap
-c /Users/jjaeger/MAC/CRY/BitCrypt.cpp -o /Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/ppc/BitCrypt.o
/opt/ibmcmp/vacpp/6.0/bin/gxlc++: 1501-257
Option -Wp,-header-mapfile,/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/XLSTATCR1C.hmap
is not recognized. Option will be ignored.
CompileC build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/ppc/StdAfx.o
/Users/jjaeger/MAC/CRY/StdAfx.cpp normal ppc c++ com.apple.compilers.gccplusplus.3_3.xlc
cd /Users/jjaeger/XLSTAT2
/opt/ibmcmp/vacpp/6.0/bin/gxlc++
-x c++ -arch ppc -pipe -Wx,-qmacmessage -Wno-trigraphs -fpascal-strings
-g -O0 -Wno-four-char-constants -Wno-unknown-pragmas -fmessage-length=0
-F/Users/jjaeger/XLSTAT2/build -I/Users/jjaeger/XLSTAT2/build/include -I/Users/jjaeger/MAC/include
-I/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/DerivedSources
-Wp,-header-mapfile,/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/XLSTATCR1C.hmap
-c /Users/jjaeger/MAC/CRY/StdAfx.cpp -o /Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/ppc/StdAfx.o
/opt/ibmcmp/vacpp/6.0/bin/gxlc++: 1501-257
Option -Wp,-header-mapfile,/Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/XLSTATCR1C.hmap
is not recognized. Option will be ignored.
Ld /Users/jjaeger/XLSTAT2/build/libXLSTATCR1C.dylib
cd /Users/jjaeger/XLSTAT2
/opt/ibmcmp/vacpp/6.0/bin/gxlc++
-o /Users/jjaeger/XLSTAT2/build/libXLSTATCR1C.dylib -L/Users/jjaeger/XLSTAT2/build
-F/Users/jjaeger/XLSTAT2/build -filelist /Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATCR1C.build/Objects-normal/XLSTATCR1C.LinkFileList
-arch ppc -bundle -framework Carbon
Native Build of Target "XLSTATBS1C"
Ld /Users/jjaeger/XLSTAT2/build/XLSTATBS1C.dylib
cd /Users/jjaeger/XLSTAT2
/opt/ibmcmp/vacpp/6.0/bin/gxlc++
-o /Users/jjaeger/XLSTAT2/build/XLSTATBS1C.dylib -L/Users/jjaeger/XLSTAT2/build
-F/Users/jjaeger/XLSTAT2/build -filelist /Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATBS1C.build/Objects-normal/XLSTATBS1C.LinkFileList
-lXLSTATCR1C -arch ppc -bundle
ld: /Users/jjaeger/XLSTAT2/build/libXLSTATCR1C.dylib
is input for the dynamic link editor, is not relocatable by the static
link editor again
/opt/ibmcmp/vacpp/6.0/bin/xlc++ -qsourcetype=c++
-o /Users/jjaeger/XLSTAT2/build/XLSTATBS1C.dylib -L/Users/jjaeger/XLSTAT2/build
-qframeworkdir=/Users/jjaeger/XLSTAT2/build -filelist /Users/jjaeger/XLSTAT2/build/XLSTAT2.build/XLSTATBS1C.build/Objects-normal/XLSTATBS1C.LinkFileList
-lXLSTATCR1C -arch ppc -bundle
Jürgen Jäger
________________________________
JIS
36, rue Nicolaï
75012 Paris - France
Mob. +33625081663
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