[vtkusers] Compilation problems under Sparc/Solaris

Technique upup_in at yahoo.com
Thu Feb 19 03:06:54 EST 2004


Hello,
 
I encounter linking problems when trying to compile VTK
under the following platform :
 
gcc -v
Reading specs from /home/OPNSRC/GCC-2.95.2/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)

The error messages are as follows :
 
Building executable /home/to41943/VTKall/VTK/src/VTK/bin/HybridCxxTests...
ld: elf error: file TestPointWidget.o: elf_strptr: Request error: no string table
ld: fatal: File processing errors. No output written to /home/to41943/VTKall/VTK/src/VTK/bin/HybridCxxTests
collect2: ld returned 1 exit status
*** Error code 1
The following command caused the error:
c++         -Wno-deprecated -I/usr/openwin/share/include -fPIC  HybridCxxTests.o  BoxWidget.o  TestImplicitPlaneWidget.o  ImagePlaneWidget.o  PushTest.o  TestSplineWidget.o  TestScalarBarWidget.o  TestLineWidget.o  TestPlaneWidget.o  TestPointWidget.o   -o /home/to41943/VTKall/VTK/src/VTK/bin/HybridCxxTests  -L. -L/home/to41943/VTKall/VTK/src/VTK/bin -L/usr/openwin/lib -lvtkHybrid -lvtkRendering -lvtkGraphics -lvtkImaging -lSM -lICE -lSM -lICE -lX11 -lXext -lsocket -lnsl -lX11 -lXext -lsocket -lnsl -lvtkftgl -lGLU -lGL -lvtkfreetype -lXt -lSM -lICE -lX11 -lXext -lsocket -lnsl -lvtkIO -lvtkFiltering -lvtkCommon -lthread -ldl -lm -lvtkpng -lvtktiff -lvtkzlib -lvtkjpeg -lvtkexpat -Wl,-R.:/home/to41943/VTKall/VTK/src/VTK/bin:/usr/openwin/lib 
make: Fatal error: Command failed for target `/home/to41943/VTKall/VTK/src/VTK/bin/HybridCxxTests'
Current working directory /home/to41943/VTKall/VTK/src/VTK/Hybrid/Testing/Cxx
*** Error code 1
The following command caused the error:
make  all
make: Fatal error: Command failed for target `default_target'
Current working directory /home/to41943/VTKall/VTK/src/VTK/Hybrid/Testing/Cxx
*** Error code 1
The following command caused the error:
cd /home/to41943/VTKall/VTK/src/VTK/Hybrid/Testing/Cxx; make default_target
make: Fatal error: Command failed for target `default_target_Cxx'
Current working directory /home/to41943/VTKall/VTK/src/VTK/Hybrid/Testing
*** Error code 1
The following command caused the error:
make  all
make: Fatal error: Command failed for target `default_target'
Current working directory /home/to41943/VTKall/VTK/src/VTK/Hybrid/Testing
*** Error code 1
The following command caused the error:
cd /home/to41943/VTKall/VTK/src/VTK/Hybrid/Testing; make default_target
make: Fatal error: Command failed for target `default_target_Hybrid_Testing'
Current working directory /home/to41943/VTKall/VTK/src/VTK
*** Error code 1
The following command caused the error:
make  all
make: Fatal error: Command failed for target `default_target'

Could you please give me some advice about the versions of cmake, gcc, solaris, python and tcl under which VTK is known to compile without any problem ?
 
Could you also tell me what the ld: elf error: file TestPointWidget.o: elf_strptr: Request error: no string table does mean ?

 
Thank you in advance.
 
Ginger


---------------------------------
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040219/e6dbd93f/attachment.htm>


More information about the vtkusers mailing list