net-tools icon indicating copy to clipboard operation
net-tools copied to clipboard

Compiling Issie

Open rezapoorzare1 opened this issue 2 years ago • 6 comments

Hello,

I hope you are doing well.

When I am compiling the package bu using make I encounter this error:

"strip.c:24:10: fatal error: linux/if_strip.h: No such file or directory 24 | #include <linux/if_strip.h> "

What should I do?

Thanks a lot

rezapoorzare1 avatar May 09 '22 11:05 rezapoorzare1

Hello,

Which branch did you use? mptcp_v0.95 or mptcp_v0.95_debian?

matttbe avatar May 09 '22 11:05 matttbe

Thanks for the reply.

The output for "sudo dmesg | grep MPTCP" is" [ 1.073426] MPTCP tokens hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 1.073525] MPTCP request tokens hash table entries: 65536 (order: 7, 524288 bytes, linear)

Thanks

rezapoorzare1 avatar May 09 '22 12:05 rezapoorzare1

And it is in ubuntu.

rezapoorzare1 avatar May 10 '22 07:05 rezapoorzare1

Hello,

Which branch from this net-tools repo did you use? Or in other words, how did you get the source code?

Also, can you not use the .deb file from https://github.com/multipath-tcp/net-tools/releases/tag/v0.94_debian

matttbe avatar May 10 '22 09:05 matttbe

I have installed net-tools by means of linux packages. the version is : Version: 1.60+git20180626.aebd88e-1ubuntu1

I am using this branch: https://github.com/multipath-tcp/net-tools

rezapoorzare1 avatar May 11 '22 13:05 rezapoorzare1

I am using this branch: https://github.com/multipath-tcp/net-tools

This is not a branch. Branches are listed there: https://github.com/multipath-tcp/net-tools/branches/all

But I'm quite sure you don't need this tool, it is probably enough for you to do:

cat /proc/net/mptcp_net/snmp cat /proc/net/mptcp_net/mptcp

no?

matttbe avatar May 25 '22 13:05 matttbe