Re: build breaks with UML patch

From: Antonio Vargas (wind@cocodriloo.com)
Date: Fri Apr 11 2003 - 14:54:19 EST


On Fri, Apr 11, 2003 at 09:34:43PM +0200, Vikram Rangnekar wrote:
>
> arch/i386/kernel/sys_i386.c: In function `do_mmap2':
> arch/i386/kernel/sys_i386.c:59: warning: passing arg 1 of `do_mmap_pgoff'
> from incompatible pointertype
> arch/i386/kernel/sys_i386.c:59: warning: passing arg 2 of `do_mmap_pgoff'
> makes pointer from integer without a cast
> arch/i386/kernel/sys_i386.c:59: too few arguments to function `do_mmap_pgoff'
> make[1]: *** [arch/i386/kernel/sys_i386.o] Error 1
> make: *** [arch/i386/kernel] Error 2
>
> When i try to make the 2.5.67 kernel with the uml-patch-2.5.67-1
>
> regards
> Vikram (http://www.vicramresearch.com)

Did you remember to do the ARCH=um thing everywhere?

ie: make ARCH=um menuconfig
    make ARCH=um linux

I missed it a few times when starting with uml :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:24 EST