Hi,
2010/11/12 陈锟 chenkun@mail.ustc.edu.cn:
../../src/alps/parapack/filelock.C: In member function 'void alps::filelock::lock(int)': ../../src/alps/parapack/filelock.C:93: error: 'S_IWRITE' was not declared in this scope
...snip...
My OS is Ubuntu10.10 amd64,I find 'S_IWRITE' is defined in sys/stat.h
...snip...
Is it a bug or just because i have not configured my OS properly?
This is a known problem on Ubuntu 10.10. Just add: #include <sys/stat.h> on top of src/alps/parapack/filelock.C.
Best regards,