SCI Seg3D Mailing List

Text archives Help


Re: [Seg3D] building error and HDF5


Chronological Thread 
  • From: Ayla Khan <ayla@sci.utah.edu>
  • To: seg3d@sci.utah.edu
  • Subject: Re: [Seg3D] building error and HDF5
  • Date: Mon, 24 Nov 2014 23:01:51 -0700

Hi Petar,

You'll have to downgrade your compiler for now (try gcc 4.6). This issue will
be fixed in the next release.

Ayla

On Nov 18, 2014, at 6:27 AM, Petar Petrov wrote:

> Hello Seg3D users,
> I have hard times trying to build seg3D on Ubuntu machine, currently 12.04
> with gcc 4.8.2
> but I recall I experienced the same issue even several years ago!
>
> namely, HDF5 external library is not compiling and I found no way to
> disable it in CMake, since I couldn’t care less about HDF5.
>
> Any other advice?
>
> [ 60%] Building C object Externals/hdf5/src/CMakeFiles/hdf5.dir/H5F.c.o
> /home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c: In function
> ‘H5F_build_actual_name’:
> /home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2219:9: warning: implicit
> declaration of function ‘lstat’ [-Wimplicit-function-declaration]
> if(HDlstat(name, &lst) < 0)
> ^
> /home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2223:12: error: ‘S_IFLNK’
> undeclared (first use in this function)
> if(S_IFLNK == (lst.st_mode & S_IFMT)) {
> ^
> /home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2223:12: note: each
> undeclared identifier is reported only once for each function it appears in
> /home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2223:38: error: ‘S_IFMT’
> undeclared (first use in this function)
> if(S_IFLNK == (lst.st_mode & S_IFMT)) {
> ^
> /home/ppetrov/seg3D/src/Externals/hdf5/src/H5F.c:2228:27: error: ‘PATH_MAX’
> undeclared (first use in this function)
> char realname[PATH_MAX]; /* Fully resolved path name of
> file */




Archive powered by MHonArc 2.6.18.

Top of page