[vtkusers] vtk+solaris+java installation problem

Andy Cedilnik andy.cedilnik at kitware.com
Wed Aug 28 09:15:57 EDT 2002


Hello Kumar,

What version of VTK are you using.

			Andy

On Wed, 2002-08-28 at 02:21, Kumar, Preethish M (MED) wrote:
> hi,
>  
>     i was trying to build vtk java on solaris, i am attaching user.make
> also.
>  
> JDKHOME=/usr/java1.2
> JAVAC=${JDKHOME}/bin/javac
> JAVA_CLASS_HOME=/homes/kumarm/vtk31
> JAVAH=${JDKHOME}/bin/javah
> JAVA_INCLUDES=-I${JDKHOME}/include -I${JDKHOME}/include/solaris
> JAVA_CXX_LIB=-lC
>  
> i got an error at the end of installation.
>  
> the error was 
>  
> CC  -G \
> -o libvtkJava.so -L.  -L../common
> -L/homes/kumarm/vtk31/i
> maging -lVTKImagingJava -lVTKImaging     -L/homes/kumarm/vtk31/graphics
> -lVTKGra
> phicsJava -lVTKGraphics  -lVTKCommonJava -lVTKCommon  -L/usr/openwin/lib
> -R/usr/
> openwin/lib -L/usr/openwin/lib -lGL -ldl  \
> -L/usr/openwin/lib -R/usr/openwin/lib -lXext -lSM -lICE -lX11 -lsocket
> -lnsl -l
> C
> ld: warning: symbol `_GLOBAL_OFFSET_TABLE_' has differing sizes:
>         (file /homes/kumarm/vtk31/imaging/libVTKImagingJava.so value=0x0;
> file /
> homes/kumarm/vtk31/graphics/libVTKGraphicsJava.so value=0x11e6);
>         /homes/kumarm/vtk31/imaging/libVTKImagingJava.so definition taken
> ld: fatal: library -lC: not found
> ld: fatal: File processing errors. No output written to libvtkJava.so
> *** Error code 1
> make: Fatal error: Command failed for target `libvtkJava.so'





More information about the vtkusers mailing list