<div dir="ltr">Are you building in a clean tree? Or have you build an earlier version of ITK in the same tree.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 3:44 AM, UJJWAL aryan <span dir="ltr">&lt;<a href="mailto:meetukme@gmail.com" target="_blank">meetukme@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi all.</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">While building ITK 4.4.0, I face the following error which i am unable to overcome :-</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><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/" target="_blank">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 &#39;__TMC_END__&#39; 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>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></div><span class="HOEnZb"><font color="#888888"><div><br>
</div>-- <br>Ujjwal<div>IIIT Hyderabad </div>
<div>Mob - <a href="tel:8142265628" value="+18142265628" target="_blank">8142265628</a></div><div><a href="mailto:ujjwal@research.iiit.ac.in" target="_blank">ujjwal@research.iiit.ac.in</a><br><br><br></div>
</font></span></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>