Hi all,
Does anyone have an idea about this problem? Both version 2.5.7 (which we
use) and version 14.03.8 give me the following error:
xcgroup.c: In function ‘xcgroup_ns_mount’:
xcgroup.c:225:15: error: ‘MS_NOEXEC’ undeclared (first use in this function)
MS_NOSUID|MS_NOEXEC|MS_NODEV, options))
^
xcgroup.c:225:15: note: each undeclared identifier is reported only once
for each function it appears in
xcgroup.c:225:25: error: ‘MS_NODEV’ undeclared (first use in this function)
MS_NOSUID|MS_NOEXEC|MS_NODEV, options))
^
xcgroup.c:225:5: warning: passing argument 3 of ‘mount’ makes integer from
pointer without a cast [enabled by default]
MS_NOSUID|MS_NOEXEC|MS_NODEV, options))
^
In file included from xcgroup.c:57:0:
/usr/include/sys/mount.h:56:5: note: expected ‘int’ but argument is of type
‘char *’
int mount(const char *, const char *, int, ...);
^
xcgroup.c: In function ‘xcgroup_lock’:
xcgroup.c:417:21: error: ‘LOCK_EX’ undeclared (first use in this function)
if (flock(cg->fd, LOCK_EX) < 0) {
^
xcgroup.c: In function ‘xcgroup_unlock’:
xcgroup.c:432:21: error: ‘LOCK_UN’ undeclared (first use in this function)
if (flock(cg->fd, LOCK_UN) < 0) {
Thanks in advance for any help.
- Jan
On Tue, Sep 23, 2014 at 2:52 PM, Jan van der Lugt <[email protected]> wrote:
> Hi all,
>
> I'm trying to compile SLURM on Solaris 11.2, but I'm having some trouble
> disabling certain Linux-specific features, such as everything related to
> cgroups. What is the best way to achieve this?
>
> Thanks in advance for your help.
>
> - Jan
>