You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by march on 13 Sep 40311537 02:13 UTC
Now, I'm getting errors about posix_fadvise not being defined. This is still on my Mac.
Error message:
lawn-128-61-122-116:build march$ make
[ 1%] Building CXX object fastlib/CMakeFiles/fastlib.dir/thor/blockdev.cc.o
/Users/march/Desktop/fastlib/trunk/fastlib/thor/blockdev.cc: In member function void RandomAccessFile::Init(const char_, BlockDevice::mode_t):
/Users/march/Desktop/fastlib/trunk/fastlib/thor/blockdev.cc:63: error: POSIX_FADV_RANDOM was not declared in this scope
/Users/march/Desktop/fastlib/trunk/fastlib/thor/blockdev.cc:63: error: posix_fadvise was not declared in this scope
make[* fastlib/CMakeFiles/fastlib.dir/thor/blockdev.cc.o Error 1
make[* fastlib/CMakeFiles/fastlib.dir/all Error 2
make: *_* [all] Error 2
The text was updated successfully, but these errors were encountered:
Commented by march on 14 May 40311599 05:46 UTC
fl-build doesn't seem to compile all of fastlib. I've never tried to use thor on my personal machine, and when I just tried to compile it explicitly with fl-build, I got the same error.
Commented by rcurtin on 4 May 40314827 07:06 UTC
[5507] should fix this, I put an #ifdef GLIBC around the posix_fadvise() call. That call doesn't actually make a big difference, it just advises the operating system how the opened file pointer will be used.
Reported by march on 13 Sep 40311537 02:13 UTC
Now, I'm getting errors about posix_fadvise not being defined. This is still on my Mac.
Error message:
lawn-128-61-122-116:build march$ make
[ 1%] Building CXX object fastlib/CMakeFiles/fastlib.dir/thor/blockdev.cc.o
/Users/march/Desktop/fastlib/trunk/fastlib/thor/blockdev.cc: In member function void RandomAccessFile::Init(const char_, BlockDevice::mode_t):
/Users/march/Desktop/fastlib/trunk/fastlib/thor/blockdev.cc:63: error: POSIX_FADV_RANDOM was not declared in this scope
/Users/march/Desktop/fastlib/trunk/fastlib/thor/blockdev.cc:63: error: posix_fadvise was not declared in this scope
make[* fastlib/CMakeFiles/fastlib.dir/thor/blockdev.cc.o Error 1
make[* fastlib/CMakeFiles/fastlib.dir/all Error 2
make: *_* [all] Error 2
The text was updated successfully, but these errors were encountered: