From: Blaisorblade <bla...@ya...> - 2005-04-08 00:05:46
|
On Friday 08 April 2005 00:34, Jelle Boomstra wrote: > Hi list, > > The following build errors crosseed my way when I tried to build a debina > package for an uml guest: > [...] > HOSTCC scripts/mod/mk_elfconfig > MKELF scripts/mod/elfconfig.h > HOSTCC scripts/mod/file2alias.o > HOSTCC scripts/mod/modpost.o > HOSTCC scripts/mod/sumversion.o > HOSTLD scripts/mod/modpost > CC init/main.o > > In file included from include/asm/pgtable.h:28, > from include/linux/bootmem.h:7, > from init/main.c:30: > include/asm/pgtable-3level.h: In function `pfn_pmd': > include/asm/pgtable-3level.h:138: warning: implicit declaration of function > `__pmd' > include/asm/pgtable-3level.h:138: error: incompatible types in return > make[2]: *** [init/main.o] Error 1 > make[1]: *** [init] Error 2 > make[1]: Leaving directory `/usr/src/kernel-source-2.6.11' > make: *** [stamp-build] Error 2 > > > I cannot see any obvious things I foprgot to do, maybe somebody else on the > list see what I missed? > > (command to invoke it was: > > make-kpkg --rootcmd sudo --arch um kernel-image > > Done in a clean build tree with the uml-2.6.11-bs1.patch.bz2 applied (no > skas, that was the previous compile and reversed).. I assume that you *did* a make mproper after that (if not, do it). Disable the 3 level pagetables support, and/or HIGHMEM support, as a second option. These compilation options go often out-of-date, sorry, because they are not very used. However it won't affect you if you run on x86. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade |