求助编译torque 6.1.3 排队系统出现以下错误

首页 问答 🤹 洛基心得 求助编译torque 6.1.3 排队系统出现以下错误

正在查看 1 个帖子:1-1 (共 1 个帖子)
  • 作者
    帖子
  • #1512
    [lxd@Great torque-6.1.3]$ make
    Making all in src
    make[1]: Entering directory '/home/lxd/software/download/torque-6.1.3/src'
    Making all in include
    make[2]: Entering directory '/home/lxd/software/download/torque-6.1.3/src/include'
    cp site_job_attr_def.ht site_job_attr_def.h
    cp site_job_attr_enum.ht site_job_attr_enum.h
    cp site_qmgr_node_print.ht site_qmgr_node_print.h
    cp site_qmgr_que_print.ht site_qmgr_que_print.h
    cp site_qmgr_svr_print.ht site_qmgr_svr_print.h
    cp site_que_attr_def.ht site_que_attr_def.h
    cp site_que_attr_enum.ht site_que_attr_enum.h
    cp site_svr_attr_def.ht site_svr_attr_def.h
    cp site_svr_attr_enum.ht site_svr_attr_enum.h
    make all-am
    make[3]: Entering directory '/home/lxd/software/download/torque-6.1.3/src/include'
    make[3]: Leaving directory '/home/lxd/software/download/torque-6.1.3/src/include'
    make[2]: Leaving directory '/home/lxd/software/download/torque-6.1.3/src/include'
    Making all in lib
    make[2]: Entering directory '/home/lxd/software/download/torque-6.1.3/src/lib'
    Making all in Libattr
    make[3]: Entering directory '/home/lxd/software/download/torque-6.1.3/src/lib/Libattr'
    make[4]: Entering directory '/home/lxd/software/download/torque-6.1.3/src/lib/Libattr'
    g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I../../../src/include <code>xml2-config --cflags</code> -g -D_LARGEFILE64_SOURCE -fstack-protector -Wformat -Wformat-security -DFORTIFY_SOURCE=2 -W -Wall -Wextra -Wno-unused-parameter -Wno-long-long -Wpedantic -Werror -Wno-sign-compare -MT attr_atomic.o -MD -MP -MF .deps/attr_atomic.Tpo -c -o attr_atomic.o attr_atomic.c
    mv -f .deps/attr_atomic.Tpo .deps/attr_atomic.Po
    g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I../../../src/include <code>xml2-config --cflags</code> -g -D_LARGEFILE64_SOURCE -fstack-protector -Wformat -Wformat-security -DFORTIFY_SOURCE=2 -W -Wall -Wextra -Wno-unused-parameter -Wno-long-long -Wpedantic -Werror -Wno-sign-compare -MT attr_fn_acl.o -MD -MP -MF .deps/attr_fn_acl.Tpo -c -o attr_fn_acl.o attr_fn_acl.c
    attr_fn_acl.c: In function ‘int set_allacl(pbs_attribute*, pbs_attribute*, batch_op, int (*)(char*, char*))’:
    attr_fn_acl.c:502:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
    502 | pas->as_next = pas->as_buf;
    | ~~~~~~~~~~~~~^~~~~~~~~~~~~
    attr_fn_acl.c:506:5: note: here
    506 | case INCR_OLD:
    | ^~~~
    cc1plus: all warnings being treated as errors
    make[4]: *** [Makefile:497: attr_fn_acl.o] Error 1
    make[4]: Leaving directory '/home/lxd/software/download/torque-6.1.3/src/lib/Libattr'
    make[3]: *** [Makefile:557: all-recursive] Error 1
    make[3]: Leaving directory '/home/lxd/software/download/torque-6.1.3/src/lib/Libattr'
    make[2]: *** [Makefile:392: all-recursive] Error 1
    make[2]: Leaving directory '/home/lxd/software/download/torque-6.1.3/src/lib'
    make[1]: *** [Makefile:403: all-recursive] Error 1
    make[1]: Leaving directory '/home/lxd/software/download/torque-6.1.3/src'
    make: *** [Makefile:586: all-recursive] Error 1
正在查看 1 个帖子:1-1 (共 1 个帖子)
  • 哎呀,回复话题必需登录。