[Insight-users] crtbeginT.o error in building ITK 4.4

Bill Lorensen bill.lorensen at gmail.com
Fri Jul 5 08:25:52 EDT 2013


Are you building in a clean tree? Or have you build an earlier version of
ITK in the same tree.


On Fri, Jul 5, 2013 at 3:44 AM, UJJWAL aryan <meetukme at gmail.com> wrote:

> Hi all.
>
> While building ITK 4.4.0, I face the following error which i am unable to
> overcome :-
>
>
> [ 78%] Built target ITKIOTransformBaseTestDriver
> [ 78%] Built target ITKIOTransformBaseHeaderTest1
> [ 78%] Built target ITKIOTransformBase-all
> [ 78%] Built target H5detect
> [ 78%] Built target H5make_libsettings
> Linking C shared library ../../../../../../lib/libitkhdf5-4.4.so
> /usr/bin/ld: error: /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginT.o:
> requires dynamic R_X86_64_32 reloc against '__TMC_END__' which may overflow
> at runtime; recompile with -fPIC
> collect2: error: ld returned 1 exit status
> make[2]: *** [lib/libitkhdf5-4.4.so.1] Error 1
> make[1]: ***
> [Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/itkhdf5.dir/all] Error 2
> make: *** [all] Error 2
>
>
> To resolve this error I tried to set CXX Flags as -fPIC but to no use. I
> am not able to overcome it. Kindly help me out.  I am using ubuntu 13.04
>
> --
> Ujjwal
> IIIT Hyderabad
> Mob - 8142265628
> ujjwal at research.iiit.ac.in
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130705/fa937f62/attachment.htm>


More information about the Insight-users mailing list