Giter VIP home page Giter VIP logo

git does not build on arch - 6.4.1-arch2-1 implicit declaration of function ‘register_sysctl_paths’; did you mean ‘register_sysctl_table’? [-Werror=implicit-function-declaration] about ipt-netflow HOT 9 OPEN

jayray-git avatar jayray-git commented on June 5, 2024
git does not build on arch - 6.4.1-arch2-1 implicit declaration of function ‘register_sysctl_paths’; did you mean ‘register_sysctl_table’? [-Werror=implicit-function-declaration]

from ipt-netflow.

Comments (9)

kalamlacki avatar kalamlacki commented on June 5, 2024

Hi,

Try this: https://github.com/kalamlacki/ipt-netflow

from ipt-netflow.

xtaran avatar xtaran commented on June 5, 2024

Try this: https://github.com/kalamlacki/ipt-netflow

"Update ipt_NETFLOW.c" is a very bad style for commit messages. 😞 Please put the relevant part like "update for >= 6.4.0" into the first line of the commit message.

The relevant commit for this issue seems to be kalamlacki@2a1d250

Thanks for the patch anyways, even if we had to check all commits to find the relevant one. 😃

from ipt-netflow.

kalamlacki avatar kalamlacki commented on June 5, 2024

I have one remark, you should take my last 2 commits not only one, the path for sysctl should be net/netflow and not net.netflow

from ipt-netflow.

xtaran avatar xtaran commented on June 5, 2024

I have one remark, you should take my last 2 commits not only one, the path for sysctl should be net/netflow and not net.netflow

Thanks, will have look at that, too. (Currently trying to fix this compilation issue for ipt_NETFLOW in Debian Unstable.)

from ipt-netflow.

kalamlacki avatar kalamlacki commented on June 5, 2024

When you use net/netflow then command

sysctl net.netflow

looks like on older kernel without this issue

from ipt-netflow.

xtaran avatar xtaran commented on June 5, 2024

Relevant commit in Linux seems to be torvalds/linux@0199849.

from ipt-netflow.

xtaran avatar xtaran commented on June 5, 2024

I have one remark, you should take my last 2 commits not only one, the path for sysctl should be net/netflow and not net.netflow

Indeed, it compiles fine without, but when actually running kernel 6.4 without it, sysctl -a, will throw errors like these:

sysctl: cannot stat /proc/sys/net/netflow.active_timeout: No such file or directory
sysctl: cannot stat /proc/sys/net/netflow.debug: No such file or directory
sysctl: cannot stat /proc/sys/net/netflow.destination: No such file or directory
[…]

from ipt-netflow.

kalamlacki avatar kalamlacki commented on June 5, 2024

You were testing the commit with net.netflow right? When I test the version with net/netflow I get correct result with sysctl.
I checked the path to version 6.4.0 and everywhere when was register_sysctl_paths() was renamed on to register_sysctl()

from ipt-netflow.

xtaran avatar xtaran commented on June 5, 2024

You were testing the commit with net.netflow right?

Yes, I wanted to understand why a slash instead of the expected dot was necessary.

from ipt-netflow.

Related Issues (20)

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.