<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi all
<p>I searched everywhere in the archives but I can't find a solution so
I ask you all :
<p>I'm trying to compile VTK on a sun ultra 80 with solaris 8.
<br>After a while, the following error appears :
<p><i>c++&nbsp; -fpermissive -fPIC&nbsp; -fpermissive -I.&nbsp; -I. -I./../graphics
-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib -DVTK_USE_CONTRIB
-I./../local -DVTK_USE_LOCAL&nbsp; -I/usr/openwin/share/include/&nbsp;&nbsp;
-I/usr/openwin/include&nbsp; -I./../common -I../common -I/root/archives/src/tk8.3.3/generic/
-I/root/archives/src/tcl8.3.3/generic/&nbsp; -I/export/home/manu/Python-2.1/Include
-I/export/home/manu/Python-2.1 -Wl,-G -o \</i>
<br><i>libVTKLocal.so \</i>
<br><i>&nbsp;</i>
<br><i>../wrap/vtkWrapTclInit VTKLocalTcl&nbsp; > tcl/LocalInit.cxx</i>
<br><i>Usage: ../wrap/vtkWrapTclInit kit_name file1 file2 file3 ...</i>
<br><i>make[1]: *** [tcl/LocalInit.cxx] Error 1</i>
<br><i>make[1]: Leaving directory `/export/home/manu/vtk/local'</i>
<br><i>make: *** [build_local] Error 2</i>
<p>if I run make again, the making process goes on but crashes soon with
an error concerning unrefferenced symbol in VTKLocalTcl_init ...
<p><i>c++&nbsp; -fpermissive -fPIC&nbsp; -fpermissive -I.&nbsp; -I. -I./../graphics
-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib -DVTK_USE_CONTRIB
-I./../local -DVTK_USE_LOCAL&nbsp; -I/usr/openwin/share/include/&nbsp;&nbsp;
-I/usr/openwin/include&nbsp; -I./../common -I../common -I/root/archives/src/tk8.3.3/generic/
-I/root/archives/src/tcl8.3.3/generic/&nbsp; -I/export/home/manu/Python-2.1/Include
-I/export/home/manu/Python-2.1 -Wl,-G \</i>
<br><i>-o libVTKLocalPython.so python/LocalInit.o \</i>
<br><i>&nbsp;&nbsp; -L.&nbsp; \</i>
<br><i>-lVTKLocal -L../graphics -lVTKGraphicsPython -L../imaging -lVTKImagingPython
-L../common -lVTKCommonPython -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/openwin/lib
-lGL&nbsp;&nbsp; -L/usr/openwin/lib -R/usr/openwin/lib -lXext -lXt -lSM
-lICE -lX11 \</i>
<br><i>-lsocket&nbsp; -lnsl -ldl -lpthread</i>
<br><i>make[1]: Leaving directory `/export/home/manu/vtk/local'</i>
<br><i>cd tcl;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make - vtk</i>
<br><i>make[1]: Entering directory `/export/home/manu/vtk/tcl'</i>
<br><i>c++ -o vtk tkAppInit.o \</i>
<br><i>-L. -fpermissive&nbsp; -fPIC&nbsp; -fpermissive -I. -I./../common
-I../common -I/root/archives/src/tk8.3.3/generic/ -I/root/archives/src/tcl8.3.3/generic/
-I/usr/openwin/share/include/&nbsp;&nbsp; -I/usr/openwin/include&nbsp;
-I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib
-DVTK_USE_CONTRIB -I./../local -DVTK_USE_LOCAL&nbsp; -Wl,-R,/usr/local/lib&nbsp;&nbsp;
-L/export/home/manu/vtk/local -lVTKLocalTcl -lVTKLocal&nbsp; -L/export/home/manu/vtk/contrib
-lVTKContribTcl -lVTKContrib&nbsp;&nbsp; -L/export/home/manu/vtk/imaging
-lVTKImagingTcl -lVTKImaging -L/export/home/manu/vtk/graphics -lVTKGraphicsTcl
-lVTKGraphics -L../common -lVTKCommonTcl -lVTKCommon -L/usr/openwin/lib
-R/usr/openwin/lib -L/usr/openwin/lib -lGL&nbsp; /usr/local/lib/libtk8.3.so
/usr/local/lib/libtcl8.3.so -ldl -lpthread \</i>
<br><i>-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lXt -lSM -lICE -lX11
-lsocket&nbsp; -lnsl -lm</i>
<br><i>Undefined&nbsp;&nbsp; first referenced</i>
<br><i>&nbsp;symbol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in
file</i>
<br><i>Vtklocaltcl_Init&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tkAppInit.o</i>
<br><i>ld: fatal: Symbol referencing errors. No output written to vtk</i>
<br><i>collect2: ld returned 1 exit status</i>
<br><i>make[1]: *** [vtk] Error 1</i>
<br><i>make[1]: Leaving directory `/export/home/manu/vtk/tcl'</i>
<br><i>make: *** [build_tcl] Error 2</i>
<p>Thanks to help me go through this !
<p>Emmanuel Olart
<br>&nbsp;</html>