# make menuconfig ARCH=um CC="gcc -m32"

Add at least also SUBARCH=i386, and remove your manual fix to arch/um/Makefile. Also, fixing more tools names like you did for CC might be needed. Search the archives about that (someone did succeed in it). Also work on the host includes might be needed (UML wants the i386 host includes).



arch/um/Makefile:18: arch/um/Makefile-x86_64: Aucun fichier ou
r�pertoire de ce type
make: *** Pas de r�gle pour fabriquer la cible � arch/um/Makefile-x86_64
�. Arr�t.

I'm editing the Makefile, replacing, ligne 18 :

include $(ARCH_DIR)/Makefile-i386
include $(ARCH_DIR)/Makefile-os-Linux

Yes, remove this one.

Now, # make menuconfig ARCH=um CC="gcc -m32" work fine :) but i've more,
more errors :(


make linux SUBARCH=i386 ARCH=um CC="gcc -m32"
make -C arch/um/kernel/skas include/skas_ptregs.h
make[1]: Entering directory `/usr/src/linux-2.4.28-uml-guest/arch/um/kernel/skas'
make -C util
make[2]: Entering directory `/usr/src/linux-2.4.28-uml-guest/arch/um/kernel/skas/util'
gcc -c mk_ptregs.c
mk_ptregs.c: In function `main':
mk_ptregs.c:19: error: invalid application of `sizeof' to an incomplete type
mk_ptregs.c:21: error: `EIP' undeclared (first use in this function)
mk_ptregs.c:21: error: (Each undeclared identifier is reported only once
mk_ptregs.c:21: error: for each function it appears in.)
mk_ptregs.c:22: error: `UESP' undeclared (first use in this function)
mk_ptregs.c:23: error: `EFL' undeclared (first use in this function)
mk_ptregs.c:24: error: `EAX' undeclared (first use in this function)
mk_ptregs.c:25: error: `EBX' undeclared (first use in this function)
mk_ptregs.c:26: error: `ECX' undeclared (first use in this function)
mk_ptregs.c:27: error: `EDX' undeclared (first use in this function)
mk_ptregs.c:28: error: `ESI' undeclared (first use in this function)
mk_ptregs.c:29: error: `EDI' undeclared (first use in this function)
mk_ptregs.c:30: error: `EBP' undeclared (first use in this function)
mk_ptregs.c:31: error: `CS' undeclared (first use in this function)
mk_ptregs.c:32: error: `SS' undeclared (first use in this function)
mk_ptregs.c:33: error: `DS' undeclared (first use in this function)
mk_ptregs.c:34: error: `FS' undeclared (first use in this function)
mk_ptregs.c:35: error: `ES' undeclared (first use in this function)
mk_ptregs.c:36: error: `GS' undeclared (first use in this function)
make[2]: *** [mk_ptregs.o] Erreur 1
make[2]: Leaving directory `/usr/src/linux-2.4.28-uml-guest/arch/um/kernel/skas/util'
make[1]: *** [util/mk_ptregs] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.4.28-uml-guest/arch/um/kernel/skas'
make: *** [arch/um/kernel/skas/include/skas_ptregs.h] Erreur 2


Regards

Franck


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ User-mode-linux-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to