MIPSPro + GCC = ?
Bjorn Hanch Sollie
bhs@pvv.org
Wed May 28 12:22:00 GMT 2003
Hi all!
Can anyone here please give me a clue what it takes to link my MIPSPro
compiled program (MIPSPro 7.4) to a gcc built library (GCC 3.2.2)?
That is, I will be very thankful for suggestions on how to resolve the
FATAL 52 below. (In case anyone is wondering, the library I'm linking
against is the ITK segmentation and registration toolkit,
www.itk.org.)
Thanks in advance for any help!
bjorns@octane:~/Surge/Segmentation/demo:$ make
ld -o seg InputOutput.o Levelset.o Lumen3DSegment.o Thrombus2DSegment.o Thrombus3DSegment.o Segment.o main.o -L/usr/lib32/mips3 -L/usr/lib32 -L/lib32 -L/lib -L/oslo/people/bjorns/src/Surge/lib -L/oslo/people/bjorns/Surge/lib/ITK -lITKAlgorithms -lITKBasicFilters -lITKCommon -lITKFEM -lITKIO -lITKMetaIO -lITKNumerics -lITKStatistics -lVXLNumerics -litkpng -litkzlib -cxx -n32 -nostdlib -abi
ld32: WARNING 84 : /oslo/people/bjorns/Surge/lib/ITK/libITKAlgorithms.so is not used for resolving any symbol.
ld32: WARNING 84 : /oslo/people/bjorns/Surge/lib/ITK/libITKBasicFilters.so is not used for resolving any symbol.
ld32: WARNING 84 : /oslo/people/bjorns/Surge/lib/ITK/libITKFEM.so is not used for resolving any symbol.
ld32: WARNING 84 : /oslo/people/bjorns/Surge/lib/ITK/libITKNumerics.so is not used for resolving any symbol.
ld32: WARNING 84 : /oslo/people/bjorns/Surge/lib/ITK/libITKStatistics.so is not used for resolving any symbol.
ld32: FATAL 52 : _fini specified for -fini is not defined in the current object.
*** Error code 4 (bu21)
bjorns@octane:~/Surge/Segmentation/demo:$ ld -V
ld32: INFO 153: Version 7.4.
ld32: INFO 46 : No objects linked.
bjorns@octane:~/Surge/Segmentation/demo:$ g++ --version
g++ (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bjorns@octane:~/Surge/Segmentation/demo:$ CC -version
MIPSpro Compilers: Version 7.4
bjorns@octane:~/Surge/Segmentation/demo:$
-Beorn
--
Truth is often just a widely held opinion.
More information about the Gcc-help
mailing list