Bug#271533: kernel-image-2.4.27-1-generic: cannot build alsa-modules from alsa-source
Hi Jan-Jaap,
thanks for your bug report. Your change looks good to me an I have
applied it to the kernel-source-2.4.26 and kernel-source-2.4.27 trees in
svn should appear in the next release, though there are no immediate
plans for releases. I have CCed the Alpha port maintainers for their
consideration.
Josh Kwan, Please let me know if i did something wrong
when adding the patch to kernel-source-2.4.27.
On Mon, Sep 13, 2004 at 05:17:12PM +0200, Jan-Jaap van der Heijden wrote:
> Package: kernel-image-2.4.27-1-generic
> Version: 2.4.27-3
> Severity: normal
> Tags: patch
>
> 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)
>
>
> -- System Information:
> Debian Release: 3.1
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: alpha
> Kernel: Linux 2.4.27-1-generic
> Locale: LANG=C, LC_CTYPE=C
>
> Versions of packages kernel-image-2.4.27-1-generic depends on:
> ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
> ii initrd-tools 0.1.74 tools to create initrd image for p
> ii modutils 2.4.26-1 Linux module utilities
>
> -- no debconf information
>
>
> --
> To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
Horms
Reply to: