[vtkusers] who can help me? I will be mad,Thanks

宋 华 songhua0712 at hotmail.com
Mon Dec 8 03:46:58 EST 2003


Hi everyone:
Severl days ago I had the problem,now I still cannot solve it,although I 
tried many many times.The prolbem is:
I tried to  build VTK4.2 with Java1_3_1_08 on Solaris (sparc) 9. But when I
make,  almost after half an hour I got the following error:
 
root 11:27:38 /usr/local/vtk/Wrapping/Java# /opt/SUNWspro/bin/CC        
-I/usr/openwin/share/include -KPIC  $(VTKJavaExecutable_SRC_OBJS)   -
o /usr/local/vtk/bin/VTKJavaExecutable  -L. 
-L/export/home/songhua/j2sdk1_3_1_08/jre/lib/sparc/client 
-L/usr/local/vtk/bin -L/usr/openwin/lib
 -L/export/home/songhua/j2sdk1_3_1_08/jre/lib/sparc -lvtkCommonJava 
-lvtkFilteringJava -lvtkGraphicsJava -lvtkIOJava -lvtkImagingJava -lvtkRe
nderingJava -lvtkIO -lvtkpng -lvtktiff -lvtkzlib -lvtkjpeg -lvtkexpat 
-lvtkImagingJava -lvtkGraphicsJava -lvtkFilteringJava -lvtkCommonJava -
lvtkRendering -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkCommon 
-lthread -ldl -lm -lSM -lICE -lSM -lICE -lX11 -lXext -lsocket -lnsl -lX11
 -lXext -lsocket -lnsl -lvtkftgl -lGLU -lGL -lvtkfreetype -lXt -lSM -lICE 
-lX11 -lXext -lsocket -lnsl -ljawt -R.:/export/home/songhua/j2sdk1_
3_1_08/jre/lib/sparc/client:/usr/local/vtk/bin:/usr/openwin/lib:/export/home/songhua/j2sdk1_3_1_08/jre/lib/sparc 

bash: VTKJavaExecutable_SRC_OBJS: command not found
ld: warning: file libmawt.so: be required 
/export/home/songhua/j2sdk1_3_1_08/jre/lib/sparc/libjawt.so, not found
Undefined                 
 symbole                       in file
awt_GetDrawingSurface               
/export/home/songhua/j2sdk1_3_1_08/jre/lib/sparc/libjawt.so
awt_FreeDrawingSurface              
/export/home/songhua/j2sdk1_3_1_08/jre/lib/sparc/libjawt.so
main                                /opt/SUNWspro/prod/lib/crt1.o
ld: fatal: symbol reference error.No output be writen into 
/usr/local/vtk/bin/VTKJavaExecutable
I tried java1.4, but the problem still is.How can I do then?
 
Thanks a lot!
songhua

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  




More information about the vtkusers mailing list