[dpdk-test-report] |FAILURE| pw35518 [PATCH RFC 2/2] sched: support per-subport wred configurations

sys_stv at intel.com sys_stv at intel.com
Wed Feb 28 15:19:54 CET 2018


Test-Label: Intel-compilation
Test-Status: FAILURE

http://dpdk.org/patch/35518

_Compilation issues_

Submitter: Alan Dewar <alangordondewar at gmail.com>
Date: Wed, 28 Feb 2018 13:39:43 +0000
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:c06ddf9698e0c2a9653cfa971f9ddc205065662c

Patch35517-35518 --> compile error
Build Summary: 15 Builds Done, 0 Successful, 15 Failures

Test environment and configuration as below:
OS: FreeBSD10.3_64
    Kernel Version:10.3-RELEASE
    CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
    GCC Version:gcc (FreeBSD Ports Collection) 4.8.5
    Clang Version:3.4.1
    x86_64-native-bsdapp-clang
    x86_64-native-bsdapp-gcc
OS: FC24_64
    Kernel Version:4.9.13-100.fc24.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
    Clang Version:3.8.0
    x86_64-native-linuxapp-gcc-debug
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
OS: UB1604_64
    Kernel Version:4.4.0-78-generic
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
    Clang Version:3.8.0
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-clang
OS: CentOS7_64
    Kernel Version:3.10.0-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc

Failed Build #1:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-clang
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS]);
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: array has incomplete element type 'struct rte_red_params'
                                        [e_RTE_METER_COLORS])
                                        ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: note: forward declaration of 'struct rte_red_params'
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS])
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
6 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #2:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: 'struct rte_red_params' declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS]);
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: 'struct rte_red_params' declared inside parameter list [-Werror]
      [e_RTE_METER_COLORS])
      ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function 'rte_sched_subport_config_common':
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter 'red_params' [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function 'rte_sched_subport_config':
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: 'struct rte_red_params' declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS])
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function 'rte_sched_subport_config_v2':
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:13: error: type of formal parameter 5 is incomplete
             qsize, red_params);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter 'red_params' [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #3:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug

SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type ‘struct rte_red_params’
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
     struct rte_red_params red_params[]
            ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:20: error: type of formal parameter 5 is incomplete
             qsize, red_params);
                    ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #4:
OS: FC24_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type ‘struct rte_red_params’
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
     struct rte_red_params red_params[]
            ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:20: error: type of formal parameter 5 is incomplete
             qsize, red_params);
                    ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #5:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS]);
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: array has incomplete element type 'struct rte_red_params'
                                        [e_RTE_METER_COLORS])
                                        ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: note: forward declaration of 'struct rte_red_params'
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS])
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
6 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #6:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared

SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type ‘struct rte_red_params’
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
     struct rte_red_params red_params[]
            ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:20: error: type of formal parameter 5 is incomplete
             qsize, red_params);
                    ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #7:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type ‘struct rte_red_params’
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
     struct rte_red_params red_params[]
            ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: ‘struct rte_red_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
        struct rte_red_params red_params[]
               ^~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:20: error: type of formal parameter 5 is incomplete
             qsize, red_params);
                    ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^~~~~~~~~~
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #8:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS]);
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type ‘struct rte_red_params’
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
      [e_RTE_METER_COLORS])
      ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS])
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:20: error: type of formal parameter 5 is incomplete
             qsize, red_params);
                    ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #9:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS]);
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type ‘struct rte_red_params’
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
      [e_RTE_METER_COLORS])
      ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS])
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:20: error: type of formal parameter 5 is incomplete
             qsize, red_params);
                    ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #10:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared

SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS]);
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type ‘struct rte_red_params’
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
      [e_RTE_METER_COLORS])
      ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type ‘struct rte_red_params’
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS])
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:20: error: type of formal parameter 5 is incomplete
             qsize, red_params);
                    ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #11:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS]);
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: array has incomplete element type 'struct rte_red_params'
                                        [e_RTE_METER_COLORS])
                                        ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: note: forward declaration of 'struct rte_red_params'
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS])
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
6 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_sched.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_sched' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #12:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS]);
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
      [e_RTE_METER_COLORS])
      ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS])
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:13: error: type of formal parameter 5 is incomplete
             qsize, red_params);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors


Failed Build #13:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS]);
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: array has incomplete element type 'struct rte_red_params'
                                        [e_RTE_METER_COLORS])
                                        ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:12: note: forward declaration of 'struct rte_red_params'
                                struct rte_red_params red_params[]
                                       ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: error: declaration of 'struct rte_red_params' will not be visible outside of this function [-Werror,-Wvisibility]
                            struct rte_red_params red_params[]
                                   ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: array has incomplete element type 'struct rte_red_params'
                                [e_RTE_METER_COLORS])
                                ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:15: note: forward declaration of 'struct rte_red_params'
                            struct rte_red_params red_params[]
                                   ^
6 errors generated.


Failed Build #14:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared

SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS]);
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
      [e_RTE_METER_COLORS])
      ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS])
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:13: error: type of formal parameter 5 is incomplete
             qsize, red_params);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors


Failed Build #15:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/rte_sched.h
  SYMLINK-FILE include/rte_sched_common.h
  SYMLINK-FILE include/rte_red.h
  SYMLINK-FILE include/rte_approx.hIn file included from /home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:19:0:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:288:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS]);
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.h:289:5: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: array type has incomplete element type
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:867:6: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
      [e_RTE_METER_COLORS])
      ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_common’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:866:27: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
     struct rte_red_params red_params[]
                           ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:975:13: error: type of formal parameter 5 is incomplete
             NULL);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: At top level:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: array type has incomplete element type
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:984:5: error: ‘struct rte_red_params’ declared inside parameter list [-Werror]
     [e_RTE_METER_COLORS])
     ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c: In function ‘rte_sched_subport_config_v2’:
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:987:13: error: type of formal parameter 5 is incomplete
             qsize, red_params);
             ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:983:30: error: unused parameter ‘red_params’ [-Werror=unused-parameter]
        struct rte_red_params red_params[]
                              ^
/home/patchWorkOrg/compilation/lib/librte_sched/rte_sched.c:988:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors


DPDK STV team


More information about the test-report mailing list