[vtk-developers] [VTK 0012568]: Build error with vtk 5.8.0 on archlinux

Mantis Bug Tracker mantis at public.kitware.com
Thu Sep 1 18:49:48 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=12568 
====================================================================== 
Reported By:                td123
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12568
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
====================================================================== 
Date Submitted:             2011-09-01 18:49 EDT
Last Modified:              2011-09-01 18:49 EDT
====================================================================== 
Summary:                    Build error with vtk 5.8.0 on archlinux
Description: 
Hi, I have the following build error on archlinux:

[  0%] Building C object Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5F.c.o
/build/src/VTK/Utilities/vtkhdf5/src/H5F.c: In function 'H5F_build_actual_name':
/build/src/VTK/Utilities/vtkhdf5/src/H5F.c:2224:12: error: 'S_IFLNK' undeclared
(first use in this function)
/build/src/VTK/Utilities/vtkhdf5/src/H5F.c:2224:12: note: each undeclared
identifier is reported only once for each function it appears in
/build/src/VTK/Utilities/vtkhdf5/src/H5F.c:2224:38: error: 'S_IFMT' undeclared
(first use in this function)
/build/src/VTK/Utilities/vtkhdf5/src/H5F.c:2229:27: error: 'PATH_MAX' undeclared
(first use in this function)

I tried to fix this by doing:

sed -i '31 i#include <sys/stat.h>' Utilities/vtkhdf5/src/H5F.c

but it resulted in the same error, I don't know how else this could be remedied.

I suspect this error is because archlinux is using the stricter gcc 4.6.1
I have attached the full build log as "vtk5.8.0buildlog".
If you need more info, please let me know.
Thanks in advance for any help!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-01 18:49 td123          New Issue                                    
2011-09-01 18:49 td123          File Added: vtk5.8.0buildlog                    
======================================================================




More information about the vtk-developers mailing list