[torqueusers] help! torque-2.2.1 will not build

Garrick Staples garrick at usc.edu
Wed Nov 7 12:27:30 MST 2007


On Wed, Nov 07, 2007 at 02:28:45PM -0500, Geoff Zelenka alleged:
> After the changes made earlier in the thread I get this compile error:
> 
> make[4]: Entering directory `/home/gzelenka/ClusterResources/test/ 
> torque-2.2.1/src/resmom/linux/cpuset'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../src/include  - 
> I../../../../src/include   -g -O2 -D_LARGEFILE64_SOURCE -W -Wall -Wno- 
> unused-parameter -Wno-long-long -pedantic -Werror -MT cpuset.o -MD - 
> MP -MF ".deps/cpuset.Tpo" -c -o cpuset.o cpuset.c; \
> then mv -f ".deps/cpuset.Tpo" ".deps/cpuset.Po"; else rm -f ".deps/ 
> cpuset.Tpo"; exit 1; fi
> cc1: warnings being treated as errors
> cpuset.c: In function ‘initialize_root_cpuset’:
> cpuset.c:93: warning: implicit declaration of function  
> ‘find_free_cpuset_space’
> make[4]: *** [cpuset.o] Error 1
> make[4]: Leaving directory `/home/gzelenka/ClusterResources/test/ 
> torque-2.2.1/src/resmom/linux/cpuset'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gzelenka/ClusterResources/test/ 
> torque-2.2.1/src/resmom/linux'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/gzelenka/ClusterResources/test/ 
> torque-2.2.1/src/resmom'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gzelenka/ClusterResources/test/ 
> torque-2.2.1/src'
> make: *** [all-recursive] Error 1
> 
> 
> So I added <mom_func.h> for the find_free_cpuset_space function  
> definition.  Which caused me to have to add the other things.

That just needs a decleration in cpuset.c.  No need to pull in all the other stuff.

Just run configure with --disable-gcc-warnings.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20071107/1c9aa880/attachment.bin


More information about the torqueusers mailing list