Skip to contentSkip to conversation

UML and 2.6.x

uml-devel Kris Van Hees 2 participants 2 messages Apr 12, 2004 – Apr 13, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

I just found out (the hard way) that is seems like UML 2.6.4 cannot be compiled on a host that is running 2.4.18, because the host-level code (in this case arch/um/os-Linux/process.c) is depending on things in the installed include files (unistd.h and the stuff it includes, specifically linux/unistd.h) that are simply not there (__NR_tkill). Is this fact documented somewhere that I overlooked?

Kris

Signature · 15 lines
Never underestimate a Mage with:
 - the Intelligence to cast Magic Missile,
 - the Constitution to survive the first hit, and
 - the Dexterity to run fast enough to avoid being hit a second time.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw

Alle 00:36, martedì 13 aprile 2004, Kris Van Hees ha scritto:

Quoted 6 lines

I just found out (the hard way) that is seems like UML 2.6.4 cannot be compiled on a host that is running 2.4.18, because the host-level code (in this case arch/um/os-Linux/process.c) is depending on things in the installed include files (unistd.h and the stuff it includes, specifically linux/unistd.h) that are simply not there (__NR_tkill). Is this fact documented somewhere that I overlooked?

It is not documented, but there have been several complaints. Comment out the piece of code and un-comment the call to kill(), which will work perfectly.

Signature · 14 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel