[BUG?] [PPC/403/IBM] compile error 2.6.9 and earlier

Gerhard Jaeger g.jaeger at sysgo.com
Tue Dec 14 19:31:55 EST 2004


On Monday 13 December 2004 22:37, Nico Schottelius wrote:
> [repost: posted on linux-kernel before / hit the wrong list]
> Hello!
> I didn't find linux-ppc list on vger, so I hope this list is correct:
> When trying to compile a kernel for my ibm thinclient, which has a
> 403 PPC processor, I get the attached compile error. 
> The error exists since 2.6.X, but the times before I tried to cross-compile,
> this time I tried to built the kernel from my 'new' g3-ibook, which
> failed again (so this is not a cross-compile error).
> Thanks for any hints,
> Nico
> P.S.: See http://marc.theaimsgroup.com/?l=linux-kernel&m=110293175523284&w=2
> for one 'possible answer' to my question. If that's true, is anyone
> out there who wants me to guide to fix it? I'd really love to let the
> IBM thinclients live with Linux.

when having a closer look at the ppc4xx_pic.c you might find out, that there
are two "sections" one for CONFIG_403 and another for the other 4xx parts.
I'm not familiar with the 403 ones, but I think you should concentrate your work
on the config options there. Selecting "OAK" sets CONFIG_403GCX but not CONFIG_403,
correct me if I'm wrong, but regarding the IRQ stuff they should be more or less
the same chips...
After fixing that, you also have to fix oak.c, as this is also somewhat broken, but 
should be no big deal.

Hope this helps a bit.

Gerhard Jaeger <gjaeger at sysgo.com>            
SYSGO AG                      Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.osek.de | www.imerva.com

More information about the Linuxppc-embedded mailing list