microsoft / microsoft/SysinternalsEBPF
Can't build getOffsets
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 288
- Forks
- 38
- Avg merge
- 21d 13h
- Merged PRs (30d)
- 1
Description
I cannot build getOffsets, I'm running the 6.7.2-hardened1-1-hardened kernel on Archlinux.
Steps to reproduce;
cd getOffsetssudo 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with getOffsets/Makefile, especially the target invoking the kernel build under /usr/lib/modules/6.7.2-hardened1-1-hardened/build, and reproduce the reported sudo make command. Compare the build inputs with the kernel tree's available architecture directories; done means getOffsets builds successfully on the reported Arch Linux kernel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux, c, linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100