[vtkusers] VTK install error

William A. Hoffman billlist at nycap.rr.com
Wed Oct 1 10:50:29 EDT 2003


What was the compile line for xmlrole.o?   Did it have the -fPIC in it?

-Bill


At 10:42 AM 10/1/2003, Rao Jianguo wrote:
>Hello everyone, 
>
>I am trying to install VTK version 4.2.2 on SUN working station 
>using Tcl/tk 8.4, CMake 1.8.1, with VTK_WRAP_TCL  on. 
>
>I got error message, the following is part of it : 
>
>-------------- 
>
><unknown>                           0x2b04      xmlrole.o 
><unknown>                           0x2b4c      xmlrole.o 
><unknown>                           0x2b50      xmlrole.o 
>ld: fatal: relocations remain against allocatable but non-writable sections 
>collect2: ld returned 1 exit status 
>*** Error code 1 
>The following command caused the error: 
>gcc -fPIC   -shared -o /export/xdata4/rjianguo/tapeContents/vtk/VTK-4.2.2/binForVTK/bin/libvtkexpat.so 
>xmlparse.o  xmltok.o  xmlrole.o  -L. -Wl,-R. 
>------------
>
>It seems there are some problems with XML parse.
>
>I would be bery grateful if some can help.
>
>
>
>Thanks for your attension.
>
>
>
>Jianguo





More information about the vtkusers mailing list