Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New build issues of master #169

Closed
k0ste opened this issue Jun 8, 2023 · 1 comment
Closed

New build issues of master #169

k0ste opened this issue Jun 8, 2023 · 1 comment
Labels

Comments

@k0ste
Copy link

k0ste commented Jun 8, 2023

Build from 9d3c971

make -C ipt
make[1]: Entering directory '/srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/ipt'
cc -fPIC -I../.. -I../../src/include -I../../src/lib -I../src -I../libre -DOPENDPI_NETFILTER_MODULE -DXTABLES_INTERNAL -O2 -Wall -D_INIT=libxt_ndpi_init -c -o libxt_ndpi.o libxt_ndpi.c;
cc -shared -o libxt_ndpi.so libxt_ndpi.o;
rm libxt_ndpi.o
make[1]: Leaving directory '/srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/ipt'
make -C src
make[1]: Entering directory '/srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src'
$xt_ndpi-y is [main.o ndpi_strcol.o ndpi_proc_parsers.o ndpi_proc_generic.o ndpi_proc_info.o  ndpi_proc_flow.o ndpi_proc_hostdef.o ndpi_proc_ipdef.o ../libre/regexp.o ../../src/lib/third_party/src/ndpi_md5.o ../../src/lib/third_party/src/ndpi_sha1.o ../../src/lib/third_party/src/ahocorasick.o ../../src/lib/third_party/src/libcache.o ../../src/lib/third_party/src/ndpi_patricia.o ../../src/lib/third_party/src/gcrypt_light.o ../../src/lib/third_party/src/btlib.o ../../src/lib/ndpi_main.o ../../src/lib/ndpi_utils.o ../../src/lib/ndpi_serializer.o ../../src/lib/ndpi_geoip.o ../../src/lib/protocols/*.o] -I/../../src/include -I/../../src/lib -I/../libre -I/../../src/lib/third_party/include  -DHAVE_CONFIG_H -DNDPI_LIB_COMPILATION -DOPENDPI_NETFILTER_MODULE -DNDPI_DETECTION_SUPPORT_IPV6 -g  -Wno-declaration-after-statement -femit-struct-debug-detailed=any
\
make  -C /usr/lib/modules/6.0.7-arch1-2-nfcustom/build M=$PWD modules ;
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (GCC) 12.2.1 20230201
  You are using:           gcc (GCC) 13.1.1 20230429
/srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/main.c: In functionndpi_net_init’:
/srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/main.c:2959:31: error: assignment tondpi_debug_function_ptr’ {akavoid (*)(unsigned int,  struct ndpi_detection_module_struct *, ndpi_log_level_t,  const char *, const char *, unsigned int,  const char *, ...)’} from incompatible pointer typevoid (*)(u_int32_t,  void *, ndpi_log_level_t,  const char *, const char *, unsigned int,  const char *, ...)’ {akavoid (*)(unsigned int,  void *, ndpi_log_level_t,  const char *, const char *, unsigned int,  const char *, ...)’} [-Werror=incompatible-pointer-types]
 2959 |         ndpi_debug_print_init = debug_printf;
      |                               ^
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:249: /srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src/main.o] Error 1
make[2]: *** [Makefile:1852: /srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src] Error 2
make[1]: *** [Makefile:44: modules] Error 2
make[1]: Leaving directory '/srv/raid/filez/builder/PACKAGES/6.0.7/ipt_ndpi/src/ipt_ndpi/ndpi-netfilter/src'
make: *** [Makefile:3: all] Error 2
@k0ste k0ste added the bug label Jun 8, 2023
@vel21ripn
Copy link
Owner

Fixed in 6cddf9c

@k0ste k0ste closed this as completed Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants