This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: MIPSPro + GCC = ?
- From: Muthukumar Ratty <muthu at iqmail dot net>
- To: Bjorn Hanch Sollie <bhs at pvv dot org>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 28 May 2003 16:42:28 -0700 (PDT)
- Subject: Re: MIPSPro + GCC = ?
>
> 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)?
Try the linux-mips mailing list... linux-mips@linux-mips.org. someone
there might have used the MIPSPro.
> 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
>