[vtkusers] problem compiling vtk-4.5.0 on fedora core 2

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Oct 11 08:57:23 EDT 2004


Manoj,

	Could you run these commands on your system:

nm -D /usr/lib/libz.so | grep crc32
nm -D /usr/lib/libz.so | grep compress

	For some reasons it looks like those symbols cannot be found in your 
zlib library.

	Anyway you can always turn zlib off from cmake interface to build the 
internal vtk zlib.

HTH
Mathieu

Manoj Kumar Singh wrote:
> I am trying to compile vtk-4.5.0 (dated 6 oct,2004) on fedora core 2 and
> compilation fails with following error message:
> Building object file vtkTkAppInit.o...
> Building executable /usr/src/redhat/BUILD/VTK/bin/vtk...
> /usr/src/redhat/BUILD/VTK/lib/libvtkRendering.so: undefined reference to
> `crc32'/usr/src/redhat/BUILD/VTK/lib/libvtkRendering.so: undefined
> reference to `compress'
> collect2: ld returned 1 exit status
> make[3]: *** [/usr/src/redhat/BUILD/VTK/bin/vtk] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Wrapping_Tcl] Error 2
> make: *** [default_target] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.70179 (%build)
> 
> The compilation is successful till the libraries are built. The problem
> starts when wrappers are built. What is going wrong? Any help in this is
> appreciated. Thanks in advance
>  Manoj
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list