Skip to contentSkip to conversation

Problems compiling 2.4 kernel

uml-devel Anthony Brock 2 participants 2 messages Jul 1, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Okay, I found my problem. My problem was attempting to compile using:

make ARCH=um

rather than:

make linux ARCH=um

The compile is running as I type. Like an idiot, I keep forgetting to look at my prior notes. It appears that I encountered and resolved this issue over three months ago.

This change resolves the symlink issue in addition to several others (I did try manually creating the link earlier, but still had problems).

Tony

Quoted 1 line
Quoted 1 line
Quoted 1 line

BlaisorBlade <[email protected]> 07/01/04 10:36AM >>>

Alle 18:43, giovedì 1 luglio 2004, Jeff Dike ha scritto:

Quoted 1 line

[email protected] said:

The problem is another: uml Makefile don't manage properly the include/asm/arch symlink, and it is not created:

Quoted 1 line

asm/arch/posix_types.h: No such file or directory

To workaround this:
cd include
<make sure that asm points to asm-um>
cd asm
ln -s ../asm-i386 arch

There is a lot of other people claiming similar problems. For instance, somebody else complained that to build UML he must avoid doing "make mrproper ARCH=um" because some files are not recreated (with 2.4.24-3).

However, Anthony, I would recommend using, for optimal stability, a 2.4.26 vanilla kernel patched with 2.4.24-1um + the attached patch.

Bye

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



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 4 lines · [email protected] said:

Okay, I found my problem. My problem was attempting to compile using:
make ARCH=um
rather than:
make linux ARCH=um

OK, that needs fixing. All the other arches do something sane with just 'make', and UML needs to follow suit.

Jeff

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel