Hello,<div>I am trying to compile vtk 5.6.1 but I a get compilation error when linking the shared library libvtkFiltering,</div><div><br></div><div><div>Linking CXX shared library ../bin/libvtkFiltering.so</div><div>/usr/bin/ld: CMakeFiles/vtkFiltering.dir/vtkImageProgressIterator.cxx.o: relocation R_X86_64_PC32 against `vtkImageIterator&lt;signed char&gt;::IsAtEnd()&#39; can not be used when making a shared object; recompile with -fPIC</div>

</div><div><br></div><div>now, I am compiling on a 64b linux machine with $CFLAGS=&quot;-fPIC&quot; and $FFGLAS=&quot;-fPIC&quot;. What else should I flag with -fPIC??</div><div>Thank you for helping,</div><div>Jean</div>

<div><br></div><div><br></div>