error: ‘sock_type_names’ undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux