You are not logged in.
Pages: 1
Hello there,
I'm running on linux-rt (from AUR), but I couldn't build the latest updates. The compilation dies with:
kernel/watchdog_hld.c: Dans la fonction « watchdog_overflow_callback »:
kernel/watchdog_hld.c:112:3: error: déclaration implicite de la fonction « printk_kill »; vouliez-vous utiliser « printk_emit » ? [-Werror=implicit-function-declaration]The French part in the second line means "implicit declaration of function "printk_kill"; did you mean "printk_emit"?"
The package maintainer (jhernberg) has no idea where the problem might come from. He suggested building in chroot with devtools, but even if it works it won't really solve the problem. I could also perhaps compile with warnings not treated as errors, but again I'd rather build a kernel the usual way...
Whatever I've found on the internet is not really helpful. I must admit I'm not familiar with the Linux kernel, so I'm lost here. If anybody knows what's going on...
Best,
Paul
Last edited by zappathustra (2017-07-30 12:04:41)
Offline
He suggested building in chroot with devtools, but even if it works it won't really solve the problem
What do you mean? Why wouldn't it solve the problem? That is the "right" way to build packages. Frequently we can get by just fine by doing things not-quite-right by building outside a chroot in our running system, but when that fails, attempting to do it right (if the build works for others) is a reasonable approach.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Offline
zappathustra wrote:He suggested building in chroot with devtools, but even if it works it won't really solve the problem
What do you mean? Why wouldn't it solve the problem? That is the "right" way to build packages. Frequently we can get by just fine by doing things not-quite-right by building outside a chroot in our running system, but when that fails, attempting to do it right (if the build works for others) is a reasonable approach.
Thank you Trilby, I simply didn't know that. I'll have to investigate how to do that properly (I think I've never used chroot after installing Arch), and then I'll report here.
Offline
For full disclosure, I don't build in clean chroots - I've never needed to. Most of the time not doing so is just fine. I just wanted to highlight, though, that in contrast to a potential assumption - building in a clean chroot is not some sort of dirty hack - it is the gold standard. Not doing so is an only midly dirty hack that works for most of us a vast majority of the time.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
For the record: building in a chroot, then installing manually (with pacman -U) worked perfectly.
Offline
Pages: 1