[Paraview] problem compiling: debian, 64bit, gcc 4.3.1

Berk Geveci berk.geveci at kitware.com
Fri Jun 27 15:31:54 EDT 2008


Can you try adding a

#include <stdlib.h>

towards the top of
/home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx?

Please let me know if it works so that I can fix cvs.

-berk


On Fri, Jun 27, 2008 at 3:13 PM, Ricardo Reis <rreis at aero.ist.utl.pt> wrote:
>
>  Taken freshly from cvs.
>
>  Error
>
> [ 48%] Building CXX object
> Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfH5Driver.o
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:
> In function 'void* H5FD_dsm_fapl_get(H5FD_t*)':
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:359:
> error: 'calloc' was not declared in this scope
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:
> In function 'H5FD_t* H5FD_dsm_open(const char*, unsigned int, hid_t,
> haddr_t)':
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:412:
> error: 'calloc' was not declared in this scope
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:442:
> error: 'free' was not declared in this scope
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:
> In function 'herr_t H5FD_dsm_close(H5FD_t*)':
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:534:
> error: 'free' was not declared in this scope
> /home/rreis/on_hold/src/paraview/ParaView3/Utilities/Xdmf2/libsrc/XdmfH5Driver.cxx:536:
> error: 'free' was not declared in this scope
> make[2]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfH5Driver.o]
> Error 1
> make[1]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/all] Error 2
> make: *** [all] Error 2
>
>  any ideas?
>
>
>  Ricardo Reis
>
>  'Non Serviam'
>
>  PhD student @ Lasef
>  Computational Fluid Dynamics, High Performance Computing, Turbulence
>  http://www.lasef.ist.utl.pt
>
>  &
>
>  Cultural Instigator @ Rádio Zero
>  http://www.radiozero.pt
>
>  http://www.flickr.com/photos/rreis/
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list