Similar to another post here in the archive. I'm compiling with gcc 4.6 and g+
+-4.6, but this still happens. Any advice?
[ 60%] Building C object Externals/hdf5/src/CMakeFiles/hdf5.dir/H5E.c.o
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5E.c: In function
‘H5Epush2’:
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5E.c:1351:5: warning:
implicit declaration of function ‘vasprintf’ [-Wimplicit-function-declaration]
[ 60%] Building C object Externals/hdf5/src/CMakeFiles/hdf5.dir/H5Edeprec.c.o
[ 60%] Building C object Externals/hdf5/src/CMakeFiles/hdf5.dir/H5Eint.c.o
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5Eint.c: In function
‘H5E_printf_stack’:
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5Eint.c:724:5: warning:
implicit declaration of function ‘vasprintf’ [-Wimplicit-function-declaration]
[ 60%] Building C object Externals/hdf5/src/CMakeFiles/hdf5.dir/H5F.c.o
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5F.c: In function
‘H5F_build_actual_name’:
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5F.c:2219:9: warning:
implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration]
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5F.c:2223:12: error:
‘S_IFLNK’ undeclared (first use in this function)
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5F.c:2223:12: note: each
undeclared identifier is reported only once for each function it appears in
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5F.c:2223:38: error:
‘S_IFMT’ undeclared (first use in this function)
/home/gauss/Seg3D2-2.1.5-code/src/Externals/hdf5/src/H5F.c:2228:27: error:
‘PATH_MAX’ undeclared (first use in this function)
make[2]: *** [Externals/hdf5/src/CMakeFiles/hdf5.dir/H5F.c.o] Error 1
make[1]: *** [Externals/hdf5/src/CMakeFiles/hdf5.dir/all] Error 2
make: *** [all] Error 2
Thanks!
M
Archive powered by MHonArc 2.6.18.