Hey guys, sorry if this is OT, but ever since I installed the MandrakeFreq, I 
haven't been able to compile a win4lin kernel... (when are they gonna decide 
if this is going to be an upgrade or a cooker preview???)  Anyway, I'm trying 
to patch linux-2.4.5-5mdk[smb] with netraverse's 2.4.5-1 patch (I need 
highmem, and like a few other changes - 'tis why i don't just use the stock 
wfl-kernel), and I get the following errors:

the make bzImage:

/usr/bin/kgcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe  
-march=i686    -c -o mki.o mki.c
mki.c: In function `mki_setup_ldt_descriptor':
mki.c:291: `MKI_LDT_DESC' undeclared (first use in this function)
mki.c:291: (Each undeclared identifier is reported only once
mki.c:291: for each function it appears in.)
mki.c: In function `mki_load_mki_descriptors':
mki.c:335: `MKI_LDT_DESC' undeclared (first use in this function)
mki.c:339: `MKI_TSS_ENTRY' undeclared (first use in this function)
mki.c:340: `MKI_TSS_DESC' undeclared (first use in this function)
mki.c: In function `mki_set_gdt_entry':
mki.c:697: `MKI_CLEAR_GDT_AMOUNT' undeclared (first use in this function)
mki.c: In function `mki_set_private_ldt':
mki.c:863: `MKI_LDT_DESC' undeclared (first use in this function)
mki.c: In function `mki_alloc_tss':
mki.c:1401: `MKI_LDT_ENTRY' undeclared (first use in this function)
mki.c:1413: `MKI_TSS_DESC' undeclared (first use in this function)
make[1]: *** [mki.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.5/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2


just in case it's needed, here's the patch routine:

the patch:

[root@chunks win4lin]# patch -p1 -b -d /usr/src/linux/ < 
Kernel-Win4Lin2_2.4.5-1.patch
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/i386/Makefile
patching file arch/i386/config.in
Hunk #1 succeeded at 386 with fuzz 1 (offset 10 lines).
patching file arch/i386/mkildspatch
patching file arch/i386/boot/setup.S
patching file arch/i386/kernel/Makefile
Hunk #1 succeeded at 41 with fuzz 2 (offset 1 line).
patching file arch/i386/kernel/apm.c
Hunk #1 FAILED at 148.
Hunk #2 succeeded at 1715 (offset 48 lines).
1 out of 2 hunks FAILED -- saving rejects to file arch/i386/kernel/apm.c.rej
patching file arch/i386/kernel/entry.S
Hunk #1 succeeded at 221 (offset 4 lines).
patching file arch/i386/kernel/head.S
Hunk #2 succeeded at 428 with fuzz 2.
Hunk #3 FAILED at 448.
1 out of 3 hunks FAILED -- saving rejects to file arch/i386/kernel/head.S.rej
patching file arch/i386/kernel/i386_ksyms.c
Hunk #1 succeeded at 51 (offset 1 line).
patching file arch/i386/kernel/mhi.S
patching file arch/i386/kernel/mki.c
patching file arch/i386/kernel/process.c
patching file arch/i386/kernel/signal.c
patching file arch/i386/kernel/trampoline.S
patching file arch/i386/mm/Makefile
patching file arch/i386/mm/fault.c
Hunk #1 FAILED at 17.
Hunk #2 succeeded at 290 (offset 56 lines).
1 out of 2 hunks FAILED -- saving rejects to file arch/i386/mm/fault.c.rej
patching file arch/i386/mm/mkivmem.c
patching file include/asm-i386/desc.h
Hunk #2 FAILED at 35.
1 out of 2 hunks FAILED -- saving rejects to file include/asm-i386/desc.h.rej
patching file include/asm-i386/mki.h
patching file include/asm-i386/mki_version.h
patching file include/asm-i386/mkistruct.h
patching file include/asm-i386/segment.h
patching file include/linux/apm_bios.h
patching file include/linux/mm.h
Hunk #1 succeeded at 498 (offset 43 lines).
patching file include/linux/sched.h
Hunk #1 succeeded at 400 (offset 2 lines).
patching file kernel/exit.c
patching file kernel/fork.c
patching file kernel/sched.c
Hunk #1 succeeded at 31 (offset 2 lines).
Hunk #2 succeeded at 640 (offset 3 lines).
patching file mm/mmap.c
Hunk #2 succeeded at 580 (offset 4 lines).
patching file mm/vmscan.c
Hunk #3 succeeded at 877 (offset 36 lines).


If anyone could help me out with this, I would truly appreciate it...!

/me knew he should have never upgraded from 7.2...!  ;P

Geo

_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to