[torqueusers] Building torque 2.4.3 failed in SLES-11
Albino A. Aveleda
bino at coc.ufrj.br
Tue Dec 22 06:14:28 MST 2009
Dear All,
I compiled the torque-2.3.8 with these options below without problems in SLES-11.
# ./configure --prefix=/usr/local/torque --enable-server --enable-mom --enable-clients --enable-docs \
--with-tcl --enable-gui --enable-syslog --enable-tcl-qstat --with-server-home=/var/spool/torque \
--with-rcp=/usr/bin/rcp
# rpmbuild -bb torque.spec
But when I tried to compile the torque-2.4.3 in the same machine I had this error.
if 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\" -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -MT req_locate.o -MD -MP -MF ".deps/req_locate.Tpo" -c -o req_locate.o req_locate.c; \
then mv -f ".deps/req_locate.Tpo" ".deps/req_locate.Po"; else rm -f ".deps/req_locate.Tpo"; exit 1; fi
cc1: warnings being treated as errors
req_jobobit.c: In function âon_job_exitâ:
req_jobobit.c:912: error: ignoring return value of âlinkâ, declared with attribute warn_unused_result
req_jobobit.c:929: error: ignoring return value of âlinkâ, declared with attribute warn_unused_result
req_jobobit.c:1215: error: ignoring return value of âlinkâ, declared with attribute warn_unused_result
req_jobobit.c:1232: error: ignoring return value of âlinkâ, declared with attribute warn_unused_result
make[2]: *** [req_jobobit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/packages/BUILD/torque-2.4.3/src/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/torque-2.4.3/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.17836 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.17836 (%build)
How do I fix this?
Have a Merry Christimas.
Best regards,
Bibo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20091222/82e80776/attachment.html
More information about the torqueusers
mailing list