I am trying to compile SLURM 2.6.4 on Mac OS X 10.6.8. I'm using the
following command from the installation guide:

sh configure && MACOSX_DEPLOYMENT_TARGET=10.5 make all


Compilation fails. Here is the tail of the output I'm getting:
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../slurm -I../.. -g
-O2 -fno-gcse -MT xcgroup.lo -MD -MP -MF .deps/xcgroup.Tpo -c xcgroup.c
 -fno-common -DPIC -o .libs/xcgroup.o
xcgroup.c: In function 'xcgroup_ns_mount':xcgroup.c:225: error: 'MS_NOSUID'
undeclared (first use in this function)xcgroup.c:225: error: (Each
undeclared identifier is reported only oncexcgroup.c:225: error: for each
function it appears in.)xcgroup.c:225: error: 'MS_NOEXEC' undeclared (first
use in this function)xcgroup.c:225: error: 'MS_NODEV' undeclared (first use
in this function)xcgroup.c:225: warning: passing argument 3 of 'mount'
makes integer from pointer without a castxcgroup.c:225: error: too many
arguments to function 'mount'make[3]: *** [xcgroup.lo] Error 1make[2]: ***
[all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all]
Error 2
How should I proceed?
Regards,
Robert Jacobson

Reply via email to