* error: ‘sock_type_names’ undeclared
@ 2023-07-08 18:37 Luigi De Matteis
0 siblings, 0 replies; only message in thread
From: Luigi De Matteis @ 2023-07-08 18:37 UTC (permalink / raw)
To: xdp-newbies
Hi you all,
I'm trying to build the linux kernel following the guide on
kernelnewbies, is there anybody who can help me to figure out what the
following error is pointing to?
CALL scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
DESCEND bpf/resolve_btfids
INSTALL libsubcmd_headers
CC security/apparmor/net.o
security/apparmor/net.c: In function ‘audit_net_cb’:
security/apparmor/net.c:81:13: error: ‘sock_type_names’ undeclared (first use in this function)
81 | if (sock_type_names[aad(sa)->net.type])
| ^~~~~~~~~~~~~~~
security/apparmor/net.c:81:13: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:243: security/apparmor/net.o] Error 1
make[3]: *** [scripts/Makefile.build:477: security/apparmor] Error 2
make[2]: *** [scripts/Makefile.build:477: security] Error 2
make[1]: *** [/home/user/Desktop/kernel/git/kernels/staging/Makefile:2020: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
I'm running on Ubuntu 22.04
thank you in advance,
Luigi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-08 18:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-08 18:37 error: ‘sock_type_names’ undeclared Luigi De Matteis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).