[torquedev] [Bug 70] new configure.ac changes... need testers!

Troy Baer tbaer at utk.edu
Fri Jul 9 07:16:20 MDT 2010


BTW, here's the stanza from config.log where linking against libjob
appears to fail:

configure:22186: checking whether to enable libjob job_create support
configure:22195: result: yes
configure:22204: checking for job_create in -ljob
configure:22224: gcc -o conftest -g -O2 -D_LARGEFILE64_SOURCE   conftest.c  -ljob >&5
In file included from conftest.c:67:
/usr/include/job.h:32: error: expected declaration specifiers or '...' before 'uid_t'
/usr/include/job.h:35: error: expected ')' before 'pid'
/usr/include/job.h:53: error: expected declaration specifiers or '...' before 'pid_t'
/usr/include/job.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'job_getuid'
/usr/include/job.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'job_getprimepid'
/usr/include/job.h:68: error: expected ')' before 'pid'
/usr/include/job.h:71: error: expected ')' before 'pid'
conftest.c: In function 'main':
conftest.c:71: error: too many arguments to function 'job_create'

I get the same errors on both Nautilus (an SGI UV running SLES 11) and
Kraken (a Cray XT5 running SLES 10) if I try compiling that conftest
program by hand without modification.  However, if I include sys/types.h
and unistd.h before job.h, it will compile.  (Yes, job.h probably ought
to include these itself...)

	--Troy
-- 
Troy Baer, HPC System Administrator
National Institute for Computational Sciences, University of Tennessee
http://www.nics.tennessee.edu/
Phone:  865-241-4233
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20100709/4a0f9b90/attachment-0001.bin 


More information about the torquedev mailing list