Skip to contentSkip to conversation

No rule to make target `arch/um/os-Linux/sys-i386/registers.c'

uml-devel Robbie Dinn 2 participants 2 messages Sep 30, 2004 – Oct 1, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi,

I have just been building linux-2.6.9-rc2-mm4 + incremental patches from http://user-mode-linux.sourceforge.net/patches.html downloaded fresh today.

I think the i386 UML target is broken.

I got a build error when doing make:

robbie@linux-uml:~/linux-2.6.9-rc2-mm4-um> make ARCH=um linux
[snip]
LD arch/um/os-Linux/drivers/tuntap.o
LD arch/um/os-Linux/drivers/built-in.o
make[2]: *** No rule to make target arch/um/os-Linux/sys-i386/registers.c', needed by arch/um/os-Linux/sys-i386/registers.o'. Stop. make[1]: *** [arch/um/os-Linux/sys-i386] Error 2
make: *** [arch/um/os-Linux] Error 2
robbie@linux-uml:~/linux-2.6.9-rc2-mm4-um>

I couldn't find arch/um/os-Linux/sys-i386/registers.c but I looked in arch/um/os-Linux/sys-x86_64 and found a one there.

I did

cp arch/um/os-Linux/sys-i386/registers.c arch/um/os-Linux/sys-x86_64/registers.c

then recompiled, and it build OK.
The UML kernel even booted too!

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 3 lines · [email protected] said:

make[2]: *** No rule to make target arch/um/os-Linux/sys-i386/ registers.c', needed by arch/um/os-Linux/sys-i386/registers.o'. Stop.

Oops, missed a 'quilt add'. It's fixed now.

Quoted 4 lines

I did
cp arch/um/os-Linux/sys-i386/registers.c arch/um/os-Linux/sys-x86_64/ registers.c
then recompiled, and it build OK. The UML kernel even booted too!

Presumably you copied in the other direction.

Anyway, that's what would be called an unsupported configuration :-)

Jeff

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel