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

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Oct 12 10:24:24 EDT 2004


Manoj,

	could you run the make command in verbose mode:

make VERBOSE=1

And send me the compilation line that fail.

Thanks
Mathieu

Manoj Kumar Singh wrote:
> 
> ----- Original Message -----
> From: Mathieu Malaterre <mathieu.malaterre at kitware.com>
> Date: Monday, October 11, 2004 6:27 pm
> Subject: Re: [vtkusers] problem compiling  vtk-4.5.0  on fedora core 2
> 
> 
>>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.
>>
> 
> My system does not have /usr/lib/libz.so but it has
> /usr/lib/libz.so.1.2.1.1 and /usr/lib/libz.so.1 so i have run the
> command suggested by you on libz.so.1.2.1.1 and the output is:
> 004d6880  T  compress
> 004d6910  T  crc32
> should i create symbolic link /usr/lib/libz.so to /usr/lib/libz.so.1.2.1.1 ?
> 
>>   Anyway you can always turn zlib off from cmake interface to 
>>build the 
>>internal vtk zlib.
>>
> 
> I am newbie to vtk and cmake so how to do it. I have checked and found
> that libvtkzlib.so is being built and it has compress and crc32. 
> 
> 
>>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: <" 
>>
>>target="l">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