[torquedev] Problem compiling torque 2.1.1
Pierre
pierre42d at 9online.fr
Mon Jul 10 09:38:26 MDT 2006
Garrick Staples wrote:
> On Mon, Jul 10, 2006 at 02:32:40AM +0200, Pierre alleged:
>> [...]
>> Making all in server
>> make[2]: Entering directory `/tmp/torque-2.1.1/src/server'
>> source='pbsd_main.c' object='pbsd_main.o' libtool=no \
>> depfile='.deps/pbsd_main.Po' tmpdepfile='.deps/pbsd_main.TPo' \
>> depmode=gcc3 /bin/sh ../../buildutils/depcomp \
>> gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include
>> -DPBS_SERVER_HOME=\"/var/spool/torque\"
>> -DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\" -s -O3 -march=i686
>> -D_LARGEFILE64_SOURCE -c `test -f 'pbsd_main.c' || echo './'`pbsd_main.c
>> pbsd_main.c:92:22: sys/lock.h: No such file or directory
>> pbsd_main.c: In function `main':
>> pbsd_main.c:893: error: `PROCLOCK' undeclared (first use in this function)
>> pbsd_main.c:893: error: (Each undeclared identifier is reported only once
>> pbsd_main.c:893: error: for each function it appears in.)
>> make[2]: *** [pbsd_main.o] Error 1
>> make[2]: Leaving directory `/tmp/torque-2.1.1/src/server'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/tmp/torque-2.1.1/src'
>> make: *** [all-recursive] Error 1
>
> Looks you enabled plock on Linux? Linux doesn't have plock.
Yes I configured with the --enable-plock-daemons option.
> I don't think it is well tested, but you can add "-DPPINMEM" to CFLAGS
> which will enable the mlockall() interface in pbs_mom.
I tried but I got the same error.
--
Pierre.
More information about the torquedev
mailing list