kernel-image-2.4.27 and alsa-modules
Hello,
I'm trying to build alsa-modules from alsa source for
kernel-image-2.4.27-1-generic (sarge). If I try to build support for all
cards, it stops with an error in <asm-alpha/unistd.h>.
It turns out that in <asm-alpha/unistd.h> a struct pt_regs regs is declared
without including <asm-alpha/ptrace.h> where it is defined. In 2.6.8 this
is fixed (it includes ptrace.h plus a bunch of others).
So, I propose this fix:
--- unistd.h.orig 2004-09-13 12:13:22.000000000 +0200
+++ unistd.h 2004-09-13 12:14:49.000000000 +0200
@@ -519,6 +519,7 @@
#include <linux/string.h>
#include <linux/signal.h>
+#include <asm/ptrace.h>
extern void sys_idle(void);
static inline void idle(void)
Regards,
Jan-Jaap
Reply to: