Skip to contentSkip to conversation

build breaks with UML patch

DISCUSSION Vikram Rangnekar 2 participants 2 messages Apr 11, 2003

lore
Share & tools
lore
#0 lore raw

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)

#1 lore raw
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 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

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 :)