21 Nov
2010
21 Nov
'10
9:38 a.m.
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, -- Ryo IGARASHI, Ph.D. rigarash@hosi.phys.s.u-tokyo.ac.jp OpenPGP fingerprint: BAD9 71E3 28F3 8952 5640 6A53 EC79 A280 6A19 2319