Linux-2.6.9-rc2 kernel build for mvme5100

Matt Porter mporter at kernel.crashing.org
Thu Sep 16 15:36:25 EST 2004


On Thu, Sep 16, 2004 at 02:29:49PM +1000, David Gardiner wrote:
> Hi all,
> 
> I've got two questions in regard to building linux-2.6.9-rc2 for a mvme5100
> 
> Target info:
> build platform: mvme5100, gcc-3.3.4, debian-testing, linuxppc_2_4_devel, 
> default mvme5100 config
> target platform: mvme5100
> 
> Questions 1:
> 
> I was getting this error when I tried to build the kernel:
> 
>   CC      arch/ppc/boot/common/bootinfo.o
>   CC      arch/ppc/boot/common/misc-common.o
>   CC      arch/ppc/boot/common/ns16550.o
> arch/ppc/boot/common/ns16550.c:14: error: conflicting types for `outb'
> include/asm/io.h:142: error: previous declaration of `outb'
> arch/ppc/boot/common/ns16550.c:15: error: conflicting types for `inb'
> include/asm/io.h:157: error: previous declaration of `inb'
> make[2]: *** [arch/ppc/boot/common/ns16550.o] Error 1
> make[1]: *** [arch/ppc/boot/common] Error 2
> make: *** [zImage] Error 2
> 
> I changed arch/ppc/boot/common/ns16550.c so that it managed to compile 
> based on what was in io.h, the patch for which is attatched, are these 
> changes okay?

You need this patch:
 http://www.ussg.iu.edu/hypermail/linux/kernel/0409.1/1192.html

-Matt



More information about the Linuxppc-dev mailing list