[vtkusers] VTK3.2.0 tarball compiling problem. (RH7.1)

Masao Sato sato at isl.d.dendai.ac.jp
Thu Nov 22 22:05:33 EST 2001


Sorry, forgot some commands.

Now, I try to compiling "VTK 3.2.0" tarball on RedHat7.1 Linux kernel 2.4.2-2smp.
just, "make >& make.log" and error output.
I'm in need of MPI class and C++ settings.

Please, help.

My configure option is 

 --with-x --with-opengl --with-mpi --with-shared --with-tcl \
--with-tkwidget --with-patented --with-contrib --with-parallel

And error messages (part of last message. mean to "make >& make.log;tail -34 make.log")

c++      -o pvtk tkAppInit.o \
-L. -O2  -fPIC   -I. -I./../common -I../common -I/usr/include -I/usr/include -I/usr/X11R6/include -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRIB -I./../parallel -DVTK_USE_PARALLEL   -rdynamic  -L/usr/local/src/nightly/vtk/parallel -lVTKParallelTcl -lVTKParallel   -L/usr/local/src/nightly/vtk/contrib -lVTKContribTcl -lVTKContrib  -L/usr/local/src/nightly/vtk/patented -lVTKPatentedTcl -lVTKPatented -L/usr/local/src/nightly/vtk/imaging -lVTKImagingTcl -lVTKImaging -L/usr/local/src/nightly/vtk/graphics -lVTKGraphicsTcl -lVTKGraphics -L../common -lVTKCommonTcl -lVTKCommon -L/usr/X11R6/lib -lGL /usr/lib/libtk.so /usr/lib/libtcl.so -ldl -lpthread  \
-L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11  -lm
./libVTKParallel.so: undefined reference to `MPI_Finalize'
./libVTKParallel.so: undefined reference to `MPI_Error_string'
./libVTKParallel.so: undefined reference to `lam_mpi_double'
./libVTKParallel.so: undefined reference to `lam_mpi_int'
./libVTKParallel.so: undefined reference to `MPI_Comm_free'
./libVTKParallel.so: undefined reference to `MPI_Send'
./libVTKParallel.so: undefined reference to `lam_mpi_float'
./libVTKParallel.so: undefined reference to `lam_mpi_long'
./libVTKParallel.so: undefined reference to `MPI_Test'
./libVTKParallel.so: undefined reference to `MPI_Comm_size'
./libVTKParallel.so: undefined reference to `MPI_Recv'
./libVTKParallel.so: undefined reference to `lam_mpi_unsigned_long'
./libVTKParallel.so: undefined reference to `MPI_Isend'
./libVTKParallel.so: undefined reference to `MPI_Group_free'
./libVTKParallel.so: undefined reference to `MPI_Cancel'
./libVTKParallel.so: undefined reference to `MPI_Comm_create'
./libVTKParallel.so: undefined reference to `MPI_Wait'
./libVTKParallel.so: undefined reference to `MPI_Init'
./libVTKParallel.so: undefined reference to `MPI_Comm_rank'
./libVTKParallel.so: undefined reference to `MPI_Barrier'
./libVTKParallel.so: undefined reference to `MPI_Irecv'
./libVTKParallel.so: undefined reference to `MPI_Comm_dup'
./libVTKParallel.so: undefined reference to `MPI_Comm_group'
./libVTKParallel.so: undefined reference to `lam_mpi_comm_world'
./libVTKParallel.so: undefined reference to `lam_mpi_unsigned_char'
./libVTKParallel.so: undefined reference to `lam_mpi_char'
./libVTKParallel.so: undefined reference to `MPI_Group_incl'
collect2: ld returned 1 exit status
make[1]: *** [build_pvtk] Error 1
make[1]: Leaving directory `/opt/local/src/nightly/vtk/parallel'
make: *** [build_parallel] Error 2

-----------------------------------------------
Masao Sato
Intelligent System Laboratory
Dept. of Electronic Engineering
Tokyo Denki University
-----------------------------------------------




More information about the vtkusers mailing list