FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-25-2008, 02:25 PM
Moritz Muehlenhoff
 
Default Bug#278413: Error in compiling kernel-source on MAC

reassign 278413 linux-2.6
thanks

On Tue, Oct 26, 2004 at 10:28:12PM +0200, Bernardi Giorgio wrote:
>
> Package: kernel-source
> Version: 2.6.8
>
> The problem is compiling the kernel-source using the attached config file:
>
> arch/ppc/syslib/open_pic.c: In function `openpic_mapirq':
> arch/ppc/syslib/open_pic.c:779: array index in non-array initializer
> arch/ppc/syslib/open_pic.c:779: (near initialization for `irqdest')
> arch/ppc/syslib/open_pic.c:779: warning: missing braces around initializer
> arch/ppc/syslib/open_pic.c:779: warning: (near initialization for
> `irqdest.bits')
> make[1]: *** [arch/ppc/syslib/open_pic.o] Error 1
> make: *** [arch/ppc/syslib] Error 2
>
> the fix:
>
> --- open_pic.c Mon Aug 30 11:16:07 2004
> +++ open_pic_mod.c Mon Aug 30 11:15:39 2004
> @@ -776,7 +776,7 @@
> if (ISR[irq] == 0)
> return;
> if (!cpus_empty(keepmask)) {
> - cpumask_t irqdest = { .bits[0] = openpic_read(&ISR[irq]->Destination) };
> + cpumask_t irqdest = { irqdest.bits[0] =
> openpic_read(&ISR[irq]->Destination) };
> cpus_and(irqdest, irqdest, keepmask);
> cpus_or(physmask, physmask, irqdest);
> }

Does this error still occur with more recent kernel versions?

Cheers,
Moritz





--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:07 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org