After suceesfully running make dep make clean make bzImage make modules fails as follows: mki24.c: In function `mkia_alloc_ldt': mki24.c:533: error: structure has no member named `segments' mki24.c:534: error: structure has no member named `segments' make[1]: *** [mki.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.25_pre7-gss-r2/arch/i386/mki-adapter' make: *** [_mod_arch/i386/mki-adapter] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge sys-kernel/gs-sources-2.4.25_pre7-r2 2. configure kernel (see attached config file) 3. make dep 4. make clean 5. make bzImage modules Actual Results: compile error: mki24.c: In function `mkia_alloc_ldt': mki24.c:533: error: structure has no member named `segments' mki24.c:534: error: structure has no member named `segments' make[1]: *** [mki.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.25_pre7-gss-r2/arch/i386/ mki-adapter' make: *** [_mod_arch/i386/mki-adapter] Error 2 Expected Results: no compile error kernel config file will be attached.
Created attachment 26065 [details] kernel configuration file
I have the same problem
with this features the kernel do not compile !!!
known problem, working on fix for next version
Bob, I can make it compile and load (i.e. win4lin runs) by doing this: --- mki24.c.orig 2004-03-14 12:19:04.000000000 +1030 +++ mki24.c 2004-03-14 12:10:07.000000000 +1030 @@ -118,16 +118,8 @@ #endif -#ifdef MAX_LDT_PAGES -#define GET_LINUX_LDTP(c) (0) -#define GET_LINUX_LDT_NUM_ENTRIES(c) (0) -#elif defined(MM_CONTEXT_HAS_LDT_FIELD) #define GET_LINUX_LDTP(c) ((c)->ldt) #define GET_LINUX_LDT_NUM_ENTRIES(c) ((c)->size) -#else -#define GET_LINUX_LDTP(c) ((c)->segments) -#define GET_LINUX_LDT_NUM_ENTRIES(c) (((c)->segments) ? LDT_ENTRIES : 0 ) -#endif I don't know much of the details of the memory mangement system. Will this be okay, or is it just asking for trouble? Another point I noticed while working on this is that now /usr/include/asm/mmu.h is no longer in sync with /usr/src/linux/include/asm/mmu.h.
Just a follow-up . . . the kernel I built using the above method has panicked three times in the last week . . . :(
old bug, reopen if necessary