Re: [ipt-netflow] any plan to support kernel 4.9 +
NetFlow iptables module for Linux kernel
Brought to you by:
aabc
From: Bruce F. <bfe...@ba...> - 2017-08-15 08:20:56
|
Gordon, I just finished compiling against a check out from the git repository at: ttps://github.com/aabc/ipt-netflow It builds and works I'd suggest pulling that and attempting a build. If that Fails, use the link I sent previously to update your compiler and set it up correctly. The steps are all at that link. On 08/15/2017 01:10 AM, Goodman Leung wrote: > hi > > my gcc version as follow: > > gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 > Copyright (C) 2013 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE > > 在 2017/8/15 15:22, Bruce Ferrell 写道: >> >> And to followup on my own reply, mine is fixed in the git repository. >> >> >> On 08/15/2017 12:16 AM, Bruce Ferrell wrote: >>> Gordon, >>> >>> Your error is different from the one I get on Scientific Linux 6.9 with Kernel 4.12.7 >>> >>> My error seems to be a kernel internal structure change: >>> >>> error: request for member ‘tv64’ in something not a structure or union >>> >>> Your error is a gcc version problem; please send the output of: >>> >>> gcc --version >>> >>> and try the solution found below; Even if you're not on a Ubuntu release the fix should be similar: >>> >>> |https://askubuntu.com/questions/26498/choose-gcc-and-g-version | >>> >>> On 08/14/2017 11:12 PM, Goodman Leung wrote: >>>> thks for reply >>>> >>>> here is the error output : >>>> >>>> grep: input file `version.h' is also the output >>>> Compiling for kernel 4.9.20-040920-generic >>>> make -C /lib/modules/4.9.20-040920-generic/build M=/root/tools/ipt-netflow/ipt-netflow-2.2 modules CONFIG_DEBUG_INFO=y >>>> make[1]: Entering directory `/usr/src/linux-headers-4.9.20-040920-generic' >>>> CC [M] /root/tools/ipt-netflow/ipt-netflow-2.2/ipt_NETFLOW.o >>>> gcc: error: unrecognized command line option ‘-fstack-protector-strong’ >>>> make[2]: *** [/root/tools/ipt-netflow/ipt-netflow-2.2/ipt_NETFLOW.o] Error 1 >>>> make[1]: *** [_module_/root/tools/ipt-netflow/ipt-netflow-2.2] Error 2 >>>> make[1]: Leaving directory `/usr/src/linux-headers-4.9.20-040920-generic' >>>> make: *** [ipt_NETFLOW.ko] Error 2 >>>> >>>> >>>> >>>> >>>> 在 2017/8/15 11:09, Bruce Ferrell 写道: >>>>> Gordon, >>>>> >>>>> What error are you having? What distro? >>>>> >>>>> >>>>> On 08/14/2017 07:18 PM, Goodman Leung wrote: >>>>>> hi list >>>>>> >>>>>> any update ? >>>>>> >>>>>> >>>>>> 在 2017/8/14 18:20, Goodman Leung 写道: >>>>>>> hi list >>>>>>> >>>>>>> does any one know , is there a plan to support kernel 4.9 + ? >>>>>>> >>>>>> >>>>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> ipt-netflow-users mailing list >>> ipt...@li... >>> https://lists.sourceforge.net/lists/listinfo/ipt-netflow-users >>> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> ipt-netflow-users mailing list >> ipt...@li... >> https://lists.sourceforge.net/lists/listinfo/ipt-netflow-users > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > ipt-netflow-users mailing list > ipt...@li... > https://lists.sourceforge.net/lists/listinfo/ipt-netflow-users |