<div dir="ltr">Hi all.<div><br></div><div>While building ITK 4.4.0, I face the following error which i am unable to overcome :-</div><div><br></div><div><br clear="all"><div><div>[ 78%] Built target ITKIOTransformBaseTestDriver</div>
<div>[ 78%] Built target ITKIOTransformBaseHeaderTest1</div><div>[ 78%] Built target ITKIOTransformBase-all</div><div>[ 78%] Built target H5detect</div><div>[ 78%] Built target H5make_libsettings</div><div>Linking C shared library ../../../../../../lib/<a href="http://libitkhdf5-4.4.so">libitkhdf5-4.4.so</a></div>
<div>/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</div><div>collect2: error: ld returned 1 exit status</div>
<div>make[2]: *** [lib/libitkhdf5-4.4.so.1] Error 1</div><div>make[1]: *** [Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/itkhdf5.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div><br>
</div><div style>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 </div>-- <br>Ujjwal<div>IIIT Hyderabad </div><div><br></div>
<div><br></div>
</div></div>