Opde Issues Tracker

compile.33

build number: 33

re-implement command

docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/base/ustp/compile -j$(nproc) || make package/feeds/base/ustp/compile V=s

Compile.txt

-- The C compiler identification is GNU 8.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER
    CMAKE_ASM_COMPILER_LAUNCHER
    CMAKE_CXX_COMPILER
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_EXPORT_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY
    CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
    CMAKE_FIND_USE_PACKAGE_REGISTRY
    CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    DL_LIBRARY


-- Build files have been written to: /openwrt/build_dir/target-aarch64_cortex-a72_musl/ustp-2021-08-25-9622264c
ninja: Entering directory `/openwrt/build_dir/target-aarch64_cortex-a72_musl/ustp-2021-08-25-9622264c'
[1/12] Building C object CMakeFiles/ustpd.dir/bridge_track.c.o
[2/12] Building C object CMakeFiles/ustpd.dir/brmon.c.o
[3/12] Building C object CMakeFiles/ustpd.dir/hmac_md5.c.o
[4/12] Building C object CMakeFiles/ustpd.dir/libnetlink.c.o
[5/12] Building C object CMakeFiles/ustpd.dir/mstp.c.o
FAILED: CMakeFiles/ustpd.dir/mstp.c.o 
/openwrt/staging_dir/host/bin/ccache /openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-gcc   -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a72_musl/ustp-2021-08-25-9622264c=ustp-2021-08-25-9622264c -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/include -flto -DNDEBUG   -Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations -Wno-error=missing-declarations -I/openwrt/build_dir/target-aarch64_cortex-a72_musl/ustp-2021-08-25-9622264c -MD -MT CMakeFiles/ustpd.dir/mstp.c.o -MF CMakeFiles/ustpd.dir/mstp.c.o.d -o CMakeFiles/ustpd.dir/mstp.c.o -c /openwrt/build_dir/target-aarch64_cortex-a72_musl/ustp-2021-08-25-9622264c/mstp.c
mstp.c: In function 'recordAgreement':
mstp.c:2026:13: error: implicit declaration of function 'list_for_each_entry_continue'; did you mean 'list_for_each_entry_reverse'? [-Werror=implicit-function-declaration]
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
             list_for_each_entry_reverse
mstp.c:2026:60: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                            ^~~~~~~~~
                                                            port_t
mstp.c:2026:60: note: each undeclared identifier is reported only once for each function it appears in
mstp.c:2026:70: error: expected ';' before '{' token
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                      ^
                                                                      ;
             {
             ~                                                         
mstp.c:2007:23: warning: variable 'cist_proposing' set but not used [-Wunused-but-set-variable]
     bool cist_agreed, cist_proposing;
                       ^~~~~~~~~~~~~~
mstp.c:2007:10: warning: variable 'cist_agreed' set but not used [-Wunused-but-set-variable]
     bool cist_agreed, cist_proposing;
          ^~~~~~~~~~~
mstp.c: In function 'recordDispute':
mstp.c:2071:64: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
                 list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                ^~~~~~~~~
                                                                port_t
mstp.c:2071:74: error: expected ';' before '{' token
                 list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                          ^
                                                                          ;
                 {
                 ~                                                         
mstp.c: In function 'recordMastered':
mstp.c:2095:60: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                            ^~~~~~~~~
                                                            port_t
mstp.c:2095:70: error: expected ';' before 'ptp'
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                      ^
                                                                      ;
                 ptp->mastered = false;
                 ~~~                                                   
mstp.c: In function 'recordProposal':
mstp.c:2132:60: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                            ^~~~~~~~~
                                                            port_t
mstp.c:2132:70: error: expected ';' before 'ptp'
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                      ^
                                                                      ;
                 ptp->proposed = cist_proposed;
                 ~~~                                                   
mstp.c:2113:10: warning: variable 'cist_proposed' set but not used [-Wunused-but-set-variable]
     bool cist_proposed;
          ^~~~~~~~~~~~~
mstp.c: In function 'setRcvdMsgs':
mstp.c:2207:56: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
         list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                        ^~~~~~~~~
                                                        port_t
mstp.c:2207:66: error: expected ';' before '{' token
         list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                  ^
                                                                  ;
         {
         ~                                                         
mstp.c:2195:10: error: unused variable 'found' [-Werror=unused-variable]
     bool found;
          ^~~~~
mstp.c:2194:12: error: unused variable 'msg_MSTID' [-Werror=unused-variable]
     __be16 msg_MSTID;
            ^~~~~~~~~
mstp.c:2193:9: error: unused variable 'i' [-Werror=unused-variable]
     int i;
         ^
mstp.c:2192:35: error: unused variable 'msti_msg' [-Werror=unused-variable]
     msti_configuration_message_t *msti_msg;
                                   ^~~~~~~~
mstp.c: In function 'setTcFlags':
mstp.c:2297:64: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
                 list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                ^~~~~~~~~
                                                                port_t
mstp.c:2297:74: error: expected ';' before 'ptp'
                 list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                          ^
                                                                          ;
                     ptp->proposed = true;
                     ~~~                                                   
mstp.c: In function 'syncMaster':
mstp.c:2329:52: error: 'bridge_list' undeclared (first use in this function); did you mean 'bridge_t'?
     list_for_each_entry_continue(tree, &br->trees, bridge_list)
                                                    ^~~~~~~~~~~
                                                    bridge_t
mstp.c:2329:64: error: expected ';' before '{' token
     list_for_each_entry_continue(tree, &br->trees, bridge_list)
                                                                ^
                                                                ;
     {
     ~                                                           
mstp.c:2325:22: error: unused variable 'ptp' [-Werror=unused-variable]
     per_tree_port_t *ptp;
                      ^~~
mstp.c: In function 'txMstp':
mstp.c:2469:52: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
     list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                    ^~~~~~~~~
                                                    port_t
mstp.c:2469:62: error: expected ';' before '{' token
     list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                              ^
                                                              ;
     {
     ~                                                         
mstp.c:2410:35: warning: variable 'msti_msg' set but not used [-Wunused-but-set-variable]
     msti_configuration_message_t *msti_msg;
                                   ^~~~~~~~
mstp.c: In function 'reselectMSTIs':
mstp.c:2594:52: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
     list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                    ^~~~~~~~~
                                                    port_t
mstp.c:2594:62: error: expected ';' before 'ptp'
     list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                              ^
                                                              ;
         ptp->reselect = true;
         ~~~                                                   
mstp.c: In function 'PTSM_to_TRANSMIT_PERIODIC':
mstp.c:3195:52: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
     list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                    ^~~~~~~~~
                                                    port_t
mstp.c:3195:62: error: expected ';' before '{' token
     list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                              ^
                                                              ;
     {
     ~                                                         
mstp.c:3189:10: error: unused variable 'cistDesignatedOrTCpropagatingRootPort' [-Werror=unused-variable]
     bool cistDesignatedOrTCpropagatingRootPort =
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mstp.c: In function 'PTSM_run':
mstp.c:3260:60: error: 'port_list' undeclared (first use in this function); did you mean 'port_t'?
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                            ^~~~~~~~~
                                                            port_t
mstp.c:3260:70: error: expected ';' before '{' token
             list_for_each_entry_continue(ptp, &prt->trees, port_list)
                                                                      ^
                                                                      ;
             {
             ~                                                         
At top level:
mstp.c:3184:13: error: 'PTSM_to_TRANSMIT_PERIODIC' defined but not used [-Werror=unused-function]
 static void PTSM_to_TRANSMIT_PERIODIC(port_t *prt)
             ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:44: /openwrt/build_dir/target-aarch64_cortex-a72_musl/ustp-2021-08-25-9622264c/.built] Error 1
Last updated on 30 Oct 2021
Published on 30 Oct 2021