Giter VIP home page Giter VIP logo

ipt_iftag's People

Contributors

vel21ripn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ipt_iftag's Issues

Build errors on 4.10+

make -C iptables
make[1]: Entering directory '/tmp/ipt_iftag/iptables'
cc -fPIC -I../kernel -g -Wall -D_INIT=libipt_iftag_init -c -o libipt_iftag.o libipt_iftag.c;
cc -shared -o libipt_iftag.so libipt_iftag.o;
rm libipt_iftag.o
make[1]: Leaving directory '/tmp/ipt_iftag/iptables'
make -C kernel
make[1]: Entering directory '/tmp/ipt_iftag/kernel'
make -C /lib/modules/4.12.0-1-ARCH/build M=$PWD modules -w
make[2]: Entering directory '/usr/lib/modules/4.12.0-1-ARCH/build'
  CC [M]  /tmp/ipt_iftag/kernel/ipt_iftag.o
/tmp/ipt_iftag/kernel/ipt_iftag.c: In function ‘iftag_mt’:
/tmp/ipt_iftag/kernel/ipt_iftag.c:41:50: error: ‘struct xt_action_param’ has no member named ‘in’
  iiftag = info->op & XT_IFTAG_IIF ? get_in_if(par->in):0;
                                                  ^~
/tmp/ipt_iftag/kernel/ipt_iftag.c:42:50: error: ‘struct xt_action_param’ has no member named ‘out’
  oiftag = info->op & XT_IFTAG_OIF ? get_in_if(par->out):0;
                                                  ^~
make[3]: *** [scripts/Makefile.build:309: /tmp/ipt_iftag/kernel/ipt_iftag.o] Error 1
make[2]: *** [Makefile:1512: _module_/tmp/ipt_iftag/kernel] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.12.0-1-ARCH/build'
make[1]: *** [Makefile:12: modules] Error 2
make[1]: Leaving directory '/tmp/ipt_iftag/kernel'
make: *** [Makefile:3: all] Error 2

Build errors

/usr/lib/modules/6.4.7-arch1-2/
make -C iptables
make[1]: Entering directory '/srv/raid/filez/trash/ssd_backup/sandbox/AUR/ipt_iftag/src/ipt_iftag/iptables'
cc -fPIC -I../kernel -g -Wall -I -D_INIT=libipt_iftag_init -c -o libipt_iftag.o libipt_iftag.c;
libipt_iftag.c: In function__iftag_mt4_save’:
libipt_iftag.c:66:46: warning: ‘%sdirective output may be truncated writing up to 31 bytes into a region of size 30 [-Wformat-truncation=]
   66 |                 snprintf(v2m,sizeof(v2m)-1,"(%s & ~0x%x)",v2,info->mask);
      |                                              ^~
libipt_iftag.c:66:17: note: ‘snprintfoutput between 10 and 48 bytes into a destination of size 31
   66 |                 snprintf(v2m,sizeof(v2m)-1,"(%s & ~0x%x)",v2,info->mask);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -shared -o libipt_iftag.so libipt_iftag.o;
/usr/bin/ld: libipt_iftag.o: in function `_init':
/srv/raid/filez/trash/ssd_backup/sandbox/AUR/ipt_iftag/src/ipt_iftag/iptables/libipt_iftag.c:260: multiple definition of `_init'; /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/crti.o:(.init+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:15: libipt_iftag.so] Error 1
rm libipt_iftag.o
make[1]: Leaving directory '/srv/raid/filez/trash/ssd_backup/sandbox/AUR/ipt_iftag/src/ipt_iftag/iptables'
make: *** [Makefile:2: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.