SysinternalsEBPF icon indicating copy to clipboard operation
SysinternalsEBPF copied to clipboard

Can't build getOffsets

Open jordischoots opened this issue 1 year ago • 0 comments

I cannot build getOffsets, I'm running the 6.7.2-hardened1-1-hardened kernel on Archlinux.

Steps to reproduce;

  • cd getOffsets
  • sudo make

I'm getting the following error:

make CFLAGS_MODULE="-DKERN_MAJ=6 -DKERN_MIN=7" -C /lib/modules/6.7.2-hardened1-1-hardened/build M= modules
make[1]: Entering directory '/usr/lib/modules/6.7.2-hardened1-1-hardened/build'
  SYNC    include/config/auto.conf
crypto/Kconfig:1508: can't open file "arch/arm/crypto/Kconfig"
make[4]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[3]: *** [Makefile:685: syncconfig] Error 2
make[2]: *** [/usr/lib/modules/6.7.2-hardened1-1-hardened/build/Makefile:786: include/config/auto.conf] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.7.2-hardened1-1-hardened/build'
make: *** [Makefile:25: all] Error 2

The error 'can't open file "arch/arm/crypto/Kconfig"' seems right, this is the result of ls /usr/lib/modules/6.7.2-hardened1-1-hardened/build/arch: Kconfig x86

The folder 'arm' folder is indeed missing.

jordischoots avatar Feb 03 '24 20:02 jordischoots