[Insight-developers] RE: C++ prelinker: error: bad instantiat ion request file --

William A. Hoffman billlist at nycap.rr.com
Thu Aug 12 10:56:11 EDT 2004


Yep, there it is....  I guess I did not get enough sleep last night.
Perhaps we should change the CMakeLists.txt files in ITK to automatically
add these flags: -ptused -no_prelink.
If that is the only way to build ITK, then it should be automatic.


-Bill


At 10:39 AM 8/12/2004, Miller, James V (Research) wrote:
>I see a -no_prelink in the uiowa flags.
>
>
>
>-----Original Message-----
>From: William A. Hoffman [mailto:billlist at nycap.rr.com]
>Sent: Thursday, August 12, 2004 9:39 AM
>To: Lorensen, William E (Research); 'Luis Ibanez'; Lorensen, William E
>(Research); Insight Developers List
>Subject: Re: [Insight-developers] RE: C++ prelinker: error: bad
>instantiation request file --
>
>
>
>
>IT would seem that the uiowa SGI does not need to turn off the prelink:
>
>http://www.itk.org/Testing/Sites/kraepelin.uiowa/IRIX64-CC-7.3-opt/20040806-
>0500-Nightly/Notes.html
>
>//No help, variable specified on the command line.
>CMAKE_CXX_FLAGS:STRING= -n32 -O3 -DNDEBUG -G0 -multigot  -xansi -LANG:std
>-LANG:ansi-for-init-scope=ON  -woff
>15,84,1110,1209,1424,1468,3102,3210,3439 -ptused -no_prelink
>
>However, there are two things to note.
>
>1. the uiowa SGI has not submitted a dashboard for a few days, since
>we are doing a release perhaps we should figure out why?
>
>2. There is not SGI that is testing Applications right now.
>
>-Bill
>
>At 10:23 PM 8/11/2004, Lorensen, William E (Research) wrote:
>>Here's what I use on the SGI,
>>
>>CMAKE_CXX_FLAGS:STRING=-Wl,-woff84 -Wl,-woff15 -ptused -no_prelink 
>> 
>>
>>-----Original Message-----
>>From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
>>Sent: Wednesday, August 11, 2004 10:04 PM
>>To: Lorensen, William E (Research); Insight Developers List
>>Subject: C++ prelinker: error: bad instantiation request file -- 
>>
>>
>>
>>Bill,
>>
>>We are assisting a research group for
>>building ITK in an SGI but got the
>>interesting error message below.
>>
>>Does it rings any bell regarding some
>>compiler/linker option that should be
>>used with the native compiler CC in IRIX ?
>>
>>
>>   Thanks
>>
>>
>>     Luis
>>
>>
>>
>>----------------------------------------------------
>>
>>     Building object file itkIsoContourDistanceImageFilterTest.o...
>>     Building object file itkFastChamferDistanceImageFilterTest.o...
>>     Building object file itkCurvesLevelSetImageFilterTest.o...
>>     Building object file itkNarrowBandCurvesLevelSetImageFilterTest.o...
>>     Building object file 
>>itkNarrowBandThresholdSegmentationLevelSetImageFilterTest.o...
>>     Building executable /export/local/ITK-1.8.0/bin/itkAlgorithmsTests...
>>     C++ prelinker: error: itk::ImageFunction<itk::Image<unsigned 
>>char,(const unsigned int)2>,double,double>::SetInputImage(const 
>>itk::Image<unsigned char,(const unsigned int)2>*) assigned to 
>>itkKullbackLeiblerCompareHistogramImageToImageMetricTest.o and 
>>itkDemonsRegistrationFilterTest.o
>>     C++ prelinker: error: bad instantiation request file -- 
>>instantiation assigned to more than one file
>>     *** Error code 2 (bu21)
>>     *** Error code 1 (bu21)
>>     *** Error code 1 (bu21)
>>     *** Error code 1 (bu21)
>>     *** Error code 1 (bu21)
>>     *** Error code 1 (bu21)
>>     *** Error code 1 (bu21)
>>     *** Error code 1 (bu21)
>>     visage 113#
>>
>>
>>
>>
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers at itk.org
>>http://www.itk.org/mailman/listinfo/insight-developers 
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at itk.org
>http://www.itk.org/mailman/listinfo/insight-developers 



More information about the Insight-developers mailing list