Closed ubenmackin closed 3 years ago
This could be outdated kernel headers that come in an extra package. Bees doesn't use the headers from /usr/src/linux. Or glibc, maybe...
@kakra What would be the best way to check, or update them or have bees use the correct ones?
I looked at what was installed, and I've got:
kernel-ml-headers-5.10.2-1.el7.elrepo.x86_64
So I am pretty sure it is the latest ones.
I checked /usr/src/linux, and I don't have such a folder. I have:
/usr/src/kernels/5.10.2-1.el7.elrepo.x86_64
But you mention those aren't used.
I know I was able to build the previous version from back in September or October. Could it be an issue that I have to new of a kernel?
Headers should be in /usr/include/linux
It compiles for me with kernel headers 5.4, gcc 10 and glibc 2.32. The struct should be in sys/siginfo.h
but I don't have this file, I have asm/siginfo.h
which you usually do not include directly. So maybe that's another namespace issue or glibc has changed?
Headers should be in /usr/include/linux
It compiles for me with kernel headers 5.4, gcc 10 and glibc 2.32. The struct should be in
sys/siginfo.h
but I don't have this file, I haveasm/siginfo.h
which you usually do not include directly. So maybe that's another namespace issue or glibc has changed?
So seeing as I am on 5.10, maybe it has changed since 5.4?
This is an excellent use case for feature tests in the build system... [waves at @kakra ;)]
We can just delete the offending line. It's a throwaway debug message anyway.
@ubenmackin Let me know if it builds for you with that line deleted. If it does, I'll push a fix to close this issue.
@Zygo Yup, commenting out that line allows it to build for me. I then did a make install, and started up the systemd service, and it seems to be running fine.
I was trying to build on the latest source (just did a git clone today), but get the following error during a make:
Some info about my environment: