[okl4-developer] what am i doing wrong?

zlice0 zlice0555 at yahoo.com
Fri Oct 23 10:37:57 EST 2009


ok...so i can emulate a 'hello world' cell using skyeye. i am currently
trying to compile OKLinux for x86, and i have no clue what i'm doing wrong.
the README doesn't seem to help, i try using the 'scripts/patch-kernel' and
that does nothing but give me the help on it

kernel-2.6.23-v2 # scripts/patch-kernel /okl4/oklinux_2.6.23
/okl4/oklinux_2.6.23.24
usage: patch-kernel [-h] [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ]
]
  source directory defaults to /usr/src/linux,
  patch directory defaults to the current directory,
  stopversion defaults to <all in patchdir>.
kernel-2.6.23-v2 # scripts/patch-kernel
/okl4/oklinux_2.6.23/kernel-2.6.23-v2/
/okl4/oklinux_2.6.23.24/kernel-2.6.23-v2/
scripts/patch-kernel: line 188: source: .tmpver.1cGk9N.1: file not found
unable to determine current kernel version


compiling different versions/patches give me vdso.o error overlapping and
the only thing i found on that said to change the vdso.h file from 0x500 to
0x600 but it's already at 0x600 and 0x700 size does nothing.

trying to compile oklinux_2.6.24.9-patch.4 gives a 

kernel/exit.c: In function `exit_mm':
kernel/exit.c:585: error: implicit declaration of function `tsk_done_mm'

and after that 

mm/memory.c: In function `vm_insert_pfn':
mm/memory.c:1231: error: `update_mmu_cache' undeclared (first use in this
function)


i thought maybe i would have to compile the okl4_3.0 microkernel first, but
doing that with any combination i've tried has always

sh: arm-linux-g++: command not found
scons: *** [build/pistachio/l4kernel/object/src/asid.o] Error 127
scons: building terminated because of errors.

even though i have the arm-unknown----/bin dir in my path...(there's no
arm-linux-g++ and the only thing i found on that someone said 'just use the
sdk instead')


what i WOULD LIKE TO DO, is compile a working x86 and arm (gumstix) working
microkernel that can run oklinux paravirtualized. if i'm going about this
the wrong way, or the x86 part isn't even possible, could i get some
feedback? thank you in advanced to anyone who answers



-- 
View this message in context: http://n2.nabble.com/what-am-i-doing-wrong-tp3875648p3875648.html
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.



More information about the Developer mailing list