build breaks with UML patch
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 pointertypearch/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)
Quoted 10 lines · Vikram Rangnekar
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 pointertypearch/i386/kernel/sys_i386.c:59: warning: passing arg 2 ofdo_mmap_pgoff' makes pointer from integer without a cast arch/i386/kernel/sys_i386.c:59: too few arguments to functiondo_mmap_pgoff' make[1]: *** [arch/i386/kernel/sys_i386.o] Error 1
make: *** [arch/i386/kernel] Error 2
Quoted 4 lines
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 :)