[torqueusers] help! torque-2.2.1 will not build

Steven DuChene sduchene at sgi.com
Sat Nov 3 21:05:30 MDT 2007


Garrick Staples wrote:
> On Sat, Nov 03, 2007 at 06:14:39PM -0700, Garrick Staples alleged:
>   
>> Looks like something wrong with the Makefile.  Can you change:
>>    SUBDIRS = $(cpuset)
>> to:
>>    SUBDIRS = $(cpusetdir)
>> in src/resmom/linux/Makefile.in and run configure again?
>>     
>
>
> Err, that should be:
>    SUBDIRS = $(csetsubdir)
>   
> ------------------------------------------------------------------------
>
>
>   
Nope, seems to have made things worse


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:39: warning: implicit declaration of function âsprintfâ
cpuset.c:39: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:39: warning: format â%sâ expects type âchar *â, but argument 3 
has type âstruct cpuset *â
cpuset.c:92: warning: implicit declaration of function 
âfind_free_cpuset_spaceâ
cpuset.c:124: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:147: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c: In function âcreate_job_setâ:
cpuset.c:188: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:194: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:209: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:216: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:224: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:232: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:240: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:248: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:256: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:266: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:276: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:286: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:294: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:312: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:323: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:334: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:345: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:353: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:360: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:367: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c: In function âfind_free_cpuset_spaceâ:
cpuset.c:401: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:409: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:417: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:425: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:433: warning: incompatible implicit declaration of built-in 
function âsprintfâ
cpuset.c:439: warning: incompatible implicit declaration of built-in 
function âsprintfâ
make[4]: *** [cpuset.o] Error 1
make[4]: Leaving directory 
`/usr/local/src/torque-2.2.1/src/resmom/linux/cpuset'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/torque-2.2.1/src/resmom/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/torque-2.2.1/src/resmom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/torque-2.2.1/src'
make: *** [all-recursive] Error 1
opticore-head:/usr/local/src/torque-2.2.1 #



More information about the torqueusers mailing list