[vtkusers] Building with error: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC

Siwei Yang s.yang at dkfz-heidelberg.de
Fri Feb 25 06:21:22 EST 2005


Hello everyone,
I 'm building VTK 4.2, but get the following error :
      Build with error: relocation R_X86_64_32S can not be used when 
making a shared object; recompile with -fPIC
And the latest version fails also.
I 've tested with -fPIC, but it didn't work. 
Does anyone have the same problem?

My computer is:
CPU      : AMD Opteron(tm) Processor 144    (64 bit )
cpu MHz         : 1792.663
cache size      : 1024 KB

and I use SUSE linux 9.1

By the way, it works all right with 32 bit mashine .


best wishes
Siwei Yang





More information about the vtkusers mailing list