From: Alexander H. <ale...@gm...> - 2012-05-29 00:03:04
|
On 5/28/12 3:16 PM, Héctor Urbina wrote: > OK, my log is here http://pastebin.com/wLZTbmNM, but I'm not sure what > to compare between the logs. It doesn't seem to be a missing > dependency. > > So, how can I turn off all of the -Werror? > > Thanks, > Héctor. > You appear to have overwritten Xcode's compilers: @@ -1282,10 +46,10 @@ checking for egrep... grep -E checking whether gcc needs -traditional... no checking for ar... ar -checking for a sed that does not truncate output... /sw/bin/sed -checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld -checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no -checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r +checking for a sed that does not truncate output... /usr/bin/sed +checking for ld used by gcc... /usr/bin/ld +checking if the linker (/usr/bin/ld) is GNU ld... no +checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all @@ -1339,7 +103,7 @@ checking if gcc PIC flag -fno-common works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes -checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes +checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes @@ -1348,34 +112,34 @@ checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool -rm: cannot remove `conftest.dSYM': Is a directory -checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld -checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no -checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes +rm: conftest.dSYM: is a directory +checking for ld used by g++... /usr/bin/ld +checking if the linker (/usr/bin/ld) is GNU ld... no +checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -checking if g++ PIC flag -fno-common works... rm: cannot remove `conftest.dSYM': Is a directory +checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a directory yes -checking if g++ static flag -static works... rm: cannot remove `conftest.dSYM': Is a directory +checking if g++ static flag -static works... rm: conftest.dSYM: is a directory no -checking if g++ supports -c -o file.o... rm: cannot remove `conftest.dSYM': Is a directory +checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory yes -checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes +checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool -rm: cannot remove `conftest.dSYM': Is a directory -rm: cannot remove `conftest.dSYM': Is a directory +rm: conftest.dSYM: is a directory +rm: conftest.dSYM: is a directory checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gfortran option to produce PIC... -fno-common -checking if gfortran PIC flag -fno-common works... rm: cannot remove `conftest.dSYM': Is a directory +checking if gfortran PIC flag -fno-common works... rm: conftest.dSYM: is a directory yes -checking if gfortran static flag -static works... rm: cannot remove `conftest.dSYM': Is a directory +checking if gfortran static flag -static works... rm: conftest.dSYM: is a directory no -checking if gfortran supports -c -o file.o... rm: cannot remove `conftest.dSYM': Is a directory +checking if gfortran supports -c -o file.o... rm: conftest.dSYM: is a directory yes -checking whether the gfortran linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes +checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes @@ -1533,7 +297,7 @@ checking size of unsigned long... 4 checking for signed char... yes checking size of signed char... 1 -checking whether char is unsigned... no +checking whether char is unsigned... yes checking for socklen_t... no checking for socklen_t equivalent... unsigned checking for pam_get_user() calling type... const char @@ -1842,9 +607,13 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libdis/diswul.c -o diswul.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o dec_attrl.lo `test -f '../Libifl/dec_attrl.c' || echo './'`../Libifl/dec_attrl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libifl/dec_attrl.c -fno-common -DPIC -o .libs/dec_attrl.o +../Libifl/dec_attrl.c: In function 'decode_DIS_attrl': +../Libifl/dec_attrl.c:116:17: warning: variable 'name_len' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libifl/dec_attrl.c -o dec_attrl.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o dec_attropl.lo `test -f '../Libifl/dec_attropl.c' || echo './'`../Libifl/dec_attropl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libifl/dec_attropl.c -fno-common -DPIC -o .libs/dec_attropl.o +../Libifl/dec_attropl.c: In function 'decode_DIS_attropl': +../Libifl/dec_attropl.c:116:17: warning: variable 'name_len' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libifl/dec_attropl.c -o dec_attropl.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o dec_Authen.lo `test -f '../Libifl/dec_Authen.c' || echo './'`../Libifl/dec_Authen.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libifl/dec_Authen.c -fno-common -DPIC -o .libs/dec_Authen.o @@ -2161,7 +930,7 @@ /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o pbs_log.lo `test -f '../Liblog/pbs_log.c' || echo './'`../Liblog/pbs_log.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Liblog/pbs_log.c -fno-common -DPIC -o .libs/pbs_log.o ../Liblog/pbs_log.c: In function 'log_size': -../Liblog/pbs_log.c:921: warning: 'fstat64' is deprecated (declared at /usr/include/sys/stat.h:463) +../Liblog/pbs_log.c:921:3: warning: 'fstat64' is deprecated (declared at /usr/include/sys/stat.h:463) [-Wdeprecated-declarations] gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Liblog/pbs_log.c -o pbs_log.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o pbs_messages.lo `test -f '../Liblog/pbs_messages.c' || echo './'`../Liblog/pbs_messages.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Liblog/pbs_messages.c -fno-common -DPIC -o .libs/pbs_messages.o @@ -2180,6 +949,8 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/md5.c -o md5.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o net_client.lo `test -f '../Libnet/net_client.c' || echo './'`../Libnet/net_client.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/net_client.c -fno-common -DPIC -o .libs/net_client.o +../Libnet/net_client.c: In function 'await_connect': +../Libnet/net_client.c:181:7: warning: variable 'MaxNumDescriptors' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/net_client.c -o net_client.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o net_server.lo `test -f '../Libnet/net_server.c' || echo './'`../Libnet/net_server.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/net_server.c -fno-common -DPIC -o .libs/net_server.o @@ -2189,6 +960,8 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/net_set_clse.c -o net_set_clse.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o rm.lo `test -f '../Libnet/rm.c' || echo './'`../Libnet/rm.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/rm.c -fno-common -DPIC -o .libs/rm.o +../Libnet/rm.c: In function 'activereq': +../Libnet/rm.c:1056:7: warning: variable 'MaxNumDescriptors' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/rm.c -o rm.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o port_forwarding.lo `test -f '../Libnet/port_forwarding.c' || echo './'`../Libnet/port_forwarding.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../../../src/lib/Libdis -DIFF_PATH=\"/sw/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/sw/var/spool/torque/server_name\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c ../Libnet/port_forwarding.c -fno-common -DPIC -o .libs/port_forwarding.o @@ -2233,6 +1006,8 @@ make[2]: Entering directory `/sw/src/fink.build/torque-2.4.6-5/torque-2.4.6/src/server' gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c accounting.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c array_func.c +array_func.c: In function 'setup_array_struct': +array_func.c:426:21: warning: variable 'wt' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c array_upgrade.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c attr_recov.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c dis_read.c @@ -2241,14 +1016,18 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c job_attr_def.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c job_func.c job_func.c: In function 'remtree': -job_func.c:249: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) -job_func.c:288: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) +job_func.c:249:3: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) [-Wdeprecated-declarations] +job_func.c:288:7: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) [-Wdeprecated-declarations] +job_func.c: In function 'job_clone_wt': +job_func.c:928:21: warning: variable 'new_task' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c job_recov.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c job_route.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c node_attr_def.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c node_func.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c node_manager.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c pbsd_init.c +pbsd_init.c: In function 'pbsd_init': +pbsd_init.c:467:21: warning: variable 'wt' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c pbsd_main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c process_request.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c queue_attr_def.c @@ -2257,16 +1036,24 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c reply_send.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_delete.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_deletearray.c +req_deletearray.c: In function 'req_deletearray': +req_deletearray.c:50:21: warning: variable 'ptask' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_getcred.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_holdjob.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_jobobit.c +req_jobobit.c: In function 'req_jobobit': +req_jobobit.c:2237:10: warning: variable 'have_resc_used' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_locate.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_manager.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_message.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_modify.c +req_modify.c: In function 'chkpt_xfr_done': +req_modify.c:207:14: warning: variable 'pjob' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_movejob.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_quejob.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_register.c +req_register.c: In function 'encode_depend': +req_register.c:2043:9: warning: variable 'BSpace' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_rerun.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_rescq.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_runjob.c @@ -2274,6 +1061,8 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_shutdown.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_signal.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_stat.c +req_stat.c: In function 'req_stat_job_step2': +req_stat.c:329:25: warning: variable 'IsTruncated' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_track.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c resc_def_all.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c run_sched.c @@ -2283,6 +1072,8 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_connect.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_func.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_jobfunc.c +svr_jobfunc.c: In function 'chk_svr_resc_limit': +svr_jobfunc.c:838:13: warning: variable 'qurc' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_mail.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_movejob.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_recov.c @@ -2290,6 +1081,8 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_task.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_tokens.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c job_qs_upgrade.c +job_qs_upgrade.c: In function 'upgrade_2_3_X': +job_qs_upgrade.c:277:8: warning: variable 'basename' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_holdarray.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c svr_format_job.c /bin/sh ../../libtool --tag=CC --mode=link gcc -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -Os -W -Wall -Wno-unused-parameter -Wno-long-long -L/sw/lib -o pbs_server accounting.o array_func.o array_upgrade.o attr_recov.o dis_read.o geteusernam.o issue_request.o job_attr_def.o job_func.o job_recov.o job_route.o node_attr_def.o node_func.o node_manager.o pbsd_init.o pbsd_main.o process_request.o queue_attr_def.o queue_func.o queue_recov.o reply_send.o req_delete.o req_deletearray.o req_getcred.o req_holdjob.o req_jobobit.o req_locate.o req_manager.o req_message.o req_modify.o req_movejob.o req_quejob.o req_register.o req_rerun.o req_rescq.o req_runjob.o req_select.o req_shutdown.o req_signal.o req_stat.o req_track.o resc_def_all.o run_sched.o stat_job.o svr_attr_def.o svr_chk_owner.o svr_connect.o svr_func.o svr_jobfunc.o svr_mail.o svr_movejob.o svr_recov.o svr_resccost.o svr_task.o req_tokens.o job_qs_upgrade.o req_holdarray.o svr_format_job.o ../lib/Libattr/libattr.a ../lib/Libsite/libsite.a ../lib/Libutils/libutils.a ../lib/Libpbs/libtorque.la @@ -2377,8 +1170,10 @@ Making all in darwin make[3]: Entering directory `/sw/src/fink.build/torque-2.4.6-5/torque-2.4.6/src/resmom/darwin' gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c mom_mach.c -In file included from mom_mach.c:140: -/usr/include/mach/shared_memory_server.h:48:2: warning: #warning "<mach/shared_memory_server.h> is deprecated. Please use <mach/shared_region.h> instead." +In file included from mom_mach.c:140:0: +/usr/include/mach/shared_memory_server.h:48:2: warning: #warning "<mach/shared_memory_server.h> is deprecated. Please use <mach/shared_region.h> instead." [-Wcpp] +mom_mach.c: In function 'get_tinfo_by_pid': +mom_mach.c:3231:37: warning: extra tokens at end of #ifdef directive [enabled by default] gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c mom_start.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c pe_input.c rm -f libmommach.a @@ -2394,18 +1189,26 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c prolog.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c requests.c requests.c: In function 'is_file_same': -requests.c:995: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) -requests.c:995: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) +requests.c:995:3: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) [-Wdeprecated-declarations] +requests.c:995:3: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) [-Wdeprecated-declarations] requests.c: In function 'is_file_going_to_dir': -requests.c:1040: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) +requests.c:1040:3: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) [-Wdeprecated-declarations] +requests.c: In function 'req_returnfiles': +requests.c:2876:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c start_exec.c +start_exec.c: In function 'TMomFinalizeJob1': +start_exec.c:1320:23: warning: variable 'presc' set but not used [-Wunused-but-set-variable] +start_exec.c: In function 'TMomFinalizeJob2': +start_exec.c:1743:25: warning: variable 'ptask' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c checkpoint.c +checkpoint.c: In function 'mom_checkpoint_job': +checkpoint.c:1045:8: warning: variable 'filelen' set but not used [-Wunused-but-set-variable] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c tmsock_recov.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c req_quejob.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c job_func.c job_func.c: In function 'remtree': -job_func.c:259: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) -job_func.c:298: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) +job_func.c:259:3: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) [-Wdeprecated-declarations] +job_func.c:298:7: warning: 'lstat64' is deprecated (declared at /usr/include/sys/stat.h:464) [-Wdeprecated-declarations] gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o attr_recov.o `test -f '../server/attr_recov.c' || echo './'`../server/attr_recov.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o dis_read.o `test -f '../server/dis_read.c' || echo './'`../server/dis_read.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o job_attr_def.o `test -f '../server/job_attr_def.c' || echo './'`../server/job_attr_def.c @@ -2414,6 +1217,8 @@ gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o reply_send.o `test -f '../server/reply_send.c' || echo './'`../server/reply_send.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o resc_def_all.o `test -f '../server/resc_def_all.c' || echo './'`../server/resc_def_all.c gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/resmom/darwin -DPBS_MOM -DDEMUX=\"/sw/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/sw/var/spool/torque\" -DPBS_ENVIRON=\"/sw/var/spool/torque/pbs_environment\" -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -c -o job_qs_upgrade.o `test -f '../server/job_qs_upgrade.c' || echo './'`../server/job_qs_upgrade.c +../server/job_qs_upgrade.c: In function 'upgrade_2_3_X': +../server/job_qs_upgrade.c:277:8: warning: variable 'basename' set but not used [-Wunused-but-set-variable] /bin/sh ../../libtool --tag=CC --mode=link gcc -Os -W -Wall -Wno-unused-parameter -Wno-long-long -L/sw/lib -o pbs_mom catch_child.o mom_comm.o mom_inter.o mom_main.o mom_server.o prolog.o requests.o start_exec.o checkpoint.o tmsock_recov.o req_quejob.o job_func.o attr_recov.o dis_read.o job_attr_def.o job_recov.o process_request.o reply_send.o resc_def_all.o job_qs_upgrade.o darwin/libmommach.a ../lib/Libattr/libattr.a ../lib/Libsite/libsite.a ../lib/Libutils/libutils.a ../lib/Libpbs/libtorque.la mkdir .libs gcc -Os -W -Wall -Wno-unused-parameter -Wno-long-long -o .libs/pbs_mom catch_child.o mom_comm.o mom_inter.o mom_main.o mom_server.o prolog.o requests.o start_exec.o checkpoint.o tmsock_recov.o req_quejob.o job_func.o attr_recov.o dis_read.o job_attr_def.o job_recov.o process_request.o reply_send.o resc_def_all.o job_qs_upgrade.o -L/sw/lib darwin/libmommach.a ../lib/Libattr/libattr.a ../lib/Libsite/libsite.a ../lib/Libutils/libutils.a ../lib/Libpbs/.libs/libtorque.dylib @@ -2435,918 +1240,47 @@ Making all in iff make[2]: Entering directory `/sw/src/fink.build/torque-2.4.6-5/torque-2.4.6/src/iff' gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/sw/include -Os -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -c iff2.c -/bin/sh ../../libtool --tag=CC --mode=link gcc -Os -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -L/sw/lib -o pbs_iff iff2.o ../lib/Libpbs/libtorque.la -mkdir .libs -gcc -Os -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -o .libs/pbs_iff iff2.o -L/sw/lib ../lib/Libpbs/.libs/libtorque.dylib -creating pbs_iff +iff2.c: In function 'main': +iff2.c:153:7: error: variable 'PBSLOGLEVEL' set but not used [-Werror=unused-but-set-variable] +cc1: all warnings being treated as errors +make[2]: *** [iff2.o] Error 1 (note the differing warning messages, as I have Xcode 3.2.6, and your initial bug report claimed that you did) Using other than a supported compiler configuration (On 10.6 that's Xcode 3.2.6 or Xcode 4.2) can lead to build problems which we won't fix. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ |