Opde Issues Tracker

compile.22

build number: 22

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/packages/open-app-filter/compile -j$(nproc) || make package/feeds/packages/open-app-filter/compile V=s

Compile.txt

make[4]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/linux-4.19.204'
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.o
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c: In function '__af_update_client_app_info':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:742:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int found = 0;
  ^~~
In file included from /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:23:
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:763:10: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  AF_INFO("[%d] %pI4 visit %s(%d), time=%d action=%s, %d/%d\n", index, &node->ip, flow->app_name, flow->app_id,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   node->visit_info[index].latest_time, node->visit_info[index].latest_action ? "Drop" : "Accept",
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_log.h:7:16: note: in definition of macro 'LOG'
         printk(fmt, ##__VA_ARGS__); \
                ^~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:763:2: note: in expansion of macro 'AF_INFO'
  AF_INFO("[%d] %pI4 visit %s(%d), time=%d action=%s, %d/%d\n", index, &node->ip, flow->app_name, flow->app_id,
  ^~~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:742:6: warning: unused variable 'found' [-Wunused-variable]
  int found = 0;
      ^~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:736:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c: In function 'af_update_client_app_info':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:773:6: warning: unused variable 'index' [-Wunused-variable]
  int index = 0;
      ^~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:772:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c: In function 'app_filter_hook':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:804:21: warning: unused variable 'total_packets' [-Wunused-variable]
  unsigned long long total_packets = 0;
                     ^~~~~~~~~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:803:13: warning: unused variable 'bytes1' [-Wunused-variable]
  static int bytes1 = 0;
             ^~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c: In function 'af_send_msg_to_user':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:997:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  char msg_buf[MAX_OAF_NL_MSG_LEN] = {0};
  ^~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:1001:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  char *p_data = msg_buf + sizeof(struct af_msg_hdr);
  ^~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c: In function 'oaf_msg_rcv':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:1031:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   struct af_msg_hdr *af_hdr = (struct af_msg_hdr *)umsg;
   ^~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:1040:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   void *udata = umsg + sizeof(struct af_msg_hdr);
   ^~~~
At top level:
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:803:13: warning: 'bytes1' defined but not used [-Wunused-variable]
  static int bytes1 = 0;
             ^~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c: In function 'af_send_msg_to_user':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter.c:1006:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_utils.o
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/regexp.o
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/regexp.c:223:58: warning: missing braces around initializer [-Wmissing-braces]
 static int (*matchfun[TYPENUM][2])(RE *, RE *, char *) = {
                                                          ^
  0, 0, 0, 0, 0, 0, 0, 0,
  {   } {   } {   } {   }
  matchstar, matchstar_l,
  {                     }
  matchplus, matchplus_l,
  {                     }
  matchques, matchques,
  {
 };
 }
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/regexp.c: In function 'regexp_match':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/regexp.c:264:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(ret = matchhere(regexp, text))
      ^~~
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/cJSON.o
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/cJSON.c: In function 'parse_number':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/cJSON.c:121:40: warning: unused variable 'signsubscale' [-Wunused-variable]
  int n=0,sign=1,scale=0;int subscale=0,signsubscale=1;
                                        ^~~~~~~~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/cJSON.c:121:29: warning: unused variable 'subscale' [-Wunused-variable]
  int n=0,sign=1,scale=0;int subscale=0,signsubscale=1;
                             ^~~~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/cJSON.c:121:17: warning: unused variable 'scale' [-Wunused-variable]
  int n=0,sign=1,scale=0;int subscale=0,signsubscale=1;
                 ^~~~~
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter_config.o
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter_config.c: In function 'af_change_app_status':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter_config.c:81:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  cJSON *appid_arr = cJSON_GetObjectItem(data_obj, "apps");
  ^~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter_config.c: In function 'af_set_mac_list':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter_config.c:226:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  cJSON *mac_arr = cJSON_GetObjectItem(data_obj, "mac_list");
  ^~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter_config.c:220:6: warning: unused variable 'type' [-Wunused-variable]
  int type;
      ^~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/app_filter_config.c:219:6: warning: unused variable 'id' [-Wunused-variable]
  int id;
      ^~
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_log.o
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.o
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.c: In function 'af_client_list_reset_report_num':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.c:74:7: warning: unused variable 'mac_str' [-Wunused-variable]
  char mac_str[32] = {0};
       ^~~~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.c: In function '__af_visit_info_report':
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.c:219:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  cJSON *visit_info_array = cJSON_CreateArray();
  ^~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.c:227:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   cJSON *visit_obj = cJSON_CreateObject();
   ^~~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.c:243:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  char *out = cJSON_Print(root_obj);
  ^~~~
/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client.c:208:9: warning: unused variable 'j' [-Wunused-variable]
  int i, j;
         ^
  CC [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/af_client_fs.o
  LD [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/oaf.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/oaf.mod.o
  LD [M]  /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/oaf.ko
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-ld: cannot open linker script file ./arch/arm64/kernel/module.lds: No such file or directory
make[5]: *** [scripts/Makefile.modpost:129: /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/oaf.ko] Error 1
make[4]: *** [Makefile:1548: modules] Error 2
make[4]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/linux-4.19.204'
make[3]: *** [Makefile:77: /openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-bcm27xx_bcm2710/open-app-filter-5.0.1-2021-03-24-fd6fef63/.built] Error 2
Last updated on 20 Aug 2021
Published on 20 Aug 2021