Le mercredi 30 Mars 2005 19:54, Blaisorblade a écrit :
> On Tuesday 29 March 2005 23:33, Jean-Michel Caricand wrote:
> > Hi,
> >
> > I try to build UML kernel. My kernel is 2.4.27 and I apply the correct
> > patch. I get this errors :
> >
> > make[2]: Entering directory `/home/jm/UML1/linux-2.4.27/drivers/mtd'
> > gcc -D__KERNEL__ -I/home/jm/UML1/linux-2.4.27/include -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> > -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH="i386"
> > -D_LARGEFILE64_SOURCE -I/home/jm/UML1/linux-2.4.27/arch/um/include
> > -Derrno=kernel_errno -I/home/jm/UML1/linux-2.4.27/arch/um/kernel/tt/include
> > -I/home/jm/UML1/linux-2.4.27/arch/um/kernel/skas/include  -DMODULE 
> > -nostdinc -iwithprefix include -DKBUILD_BASENAME=cmdlinepart 
> > -DEXPORT_SYMTAB -c cmdlinepart.c cmdlinepart.c:31:23: asm/setup.h : Aucun
> > fichier ou répertoire de ce type cmdlinepart.c:345: attention :
> > `mtdpart_setup' defined but not used make[2]: *** [cmdlinepart.o] Erreur 1
> > make[2]: Leaving directory `/home/jm/UML1/linux-2.4.27/drivers/mtd'
> > make[1]: *** [_modsubdir_mtd] Erreur 2
> > make[1]: Leaving directory `/home/jm/UML1/linux-2.4.27/drivers'
> > make: *** [_mod_drivers] Erreur 2
> > amande:/home/jm/UML1/linux-2.4.27#
> >
> > Any ideas ?
> Disable MTD support in the .config. You have not hardware support in UML, so 
> that does not make sense.
> 
> And make sure you are doing "make linux ARCH=um" and not something else.

Hi,

I disable MTD and now all work fine !

Thank.


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to