[vtkusers] compilation error of release v5.8.0

Kishore Mosaliganti kishoreraom at gmail.com
Tue Nov 12 00:24:02 EST 2013


Hello,

I am using Ubuntu 13.10 64-bit with gcc version 4.8.1. When I tried to
compile v5.8.0, I obtained the following error:

$ make
[  1%] Built target vtksys
[  2%] Built target vtkzlib
[  2%] Built target H5detect
[  2%] Built target H5make_libsettings
[  2%] Building C object
Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5F.c.o
/home/krm15/GITROOT/VTKRel/VTK/Utilities/vtkhdf5/src/H5F.c: In function
‘H5F_build_actual_name’:
/home/krm15/GITROOT/VTKRel/VTK/Utilities/vtkhdf5/src/H5F.c:2223:12: error:
‘S_IFLNK’ undeclared (first use in this function)
         if(S_IFLNK == (lst.st_mode & S_IFMT)) {
            ^
/home/krm15/GITROOT/VTKRel/VTK/Utilities/vtkhdf5/src/H5F.c:2223:12: note:
each undeclared identifier is reported only once for each function it
appears in
/home/krm15/GITROOT/VTKRel/VTK/Utilities/vtkhdf5/src/H5F.c:2223:38: error:
‘S_IFMT’ undeclared (first use in this function)
         if(S_IFLNK == (lst.st_mode & S_IFMT)) {
                                      ^
/home/krm15/GITROOT/VTKRel/VTK/Utilities/vtkhdf5/src/H5F.c:2228:27: error:
‘PATH_MAX’ undeclared (first use in this function)
             char realname[PATH_MAX];    /* Fully resolved path name of
file */
                           ^
make[2]: *** [Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5F.c.o] Error 1
make[1]: *** [Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/all] Error 2
make: *** [all] Error 2

I found this old bug report on this issue:
http://vtk.org/Bug/view.php?id=12568

I was wondering if this bug fix can be applied to the VTK5 release.

Thank you,

Kishore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131112/1b6ce0e9/attachment.htm>


More information about the vtkusers mailing list