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

UJJWAL aryan meetukme at gmail.com
Fri Jul 5 03:44:29 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130705/260ff4a6/attachment.htm>


More information about the Insight-users mailing list