[Insight-users] Problems building ITK 4.4.0 (..crtbeginT.o: requires dynamic R_X86.....)
UJJWAL aryan
meetukme at gmail.com
Thu Jul 4 00:53:07 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130704/d3614634/attachment.htm>
More information about the Insight-users
mailing list