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

test_interleave.c:139:23: error: ‘SCTP_INTERLEAVING_SUPPORTED’ undeclared #49

Open
thekingofspain opened this issue Nov 20, 2022 · 1 comment

Comments

@thekingofspain
Copy link

Getting an error trying to make this on archlinux.

./bootstrap
./confiure
make

make all-recursive
...
CC test_interleave.o
test_interleave.c: In function ‘main’:
test_interleave.c:139:23: error: ‘SCTP_INTERLEAVING_SUPPORTED’ undeclared (first use in this function); did you mean ‘SCTP_RECONFIG_SUPPORTED’?
test_setsockopt(sk1, SCTP_INTERLEAVING_SUPPORTED,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SCTP_RECONFIG_SUPPORTED
test_interleave.c:139:23: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [Makefile:1184: test_interleave.o] Error 1
make[3]: Leaving directory '/root/lksctp-tools/src/func_tests'
make[2]: *** [Makefile:380: all-recursive] Error 1
make[2]: Leaving directory '/root/lksctp-tools/src'
make[1]: *** [Makefile:492: all-recursive] Error 1
make[1]: Leaving directory '/root/lksctp-tools'
make: *** [Makefile:398: all] Error 2

@marceloleitner
Copy link
Contributor

Which kernel headers are you using there?
SCTP_INTERLEAVING_SUPPORTED was defined in 772a58693fc31 , in v4.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants