I try to compile a custom kernel based on the lastes hijack kernel.
Compiling the default b13 kernel is not a problem, it works well. But as soon as I apply the three patches rds, voladj and hijack I get the following compile (link) error:
arm-empeg-linux-ld -p -X -T arch/arm/vmlinux.lds arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/arm/kernel/kernel.o arch/arm/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/net/irda/irda_drivers.a arch/arm/special/special.a \
arch/arm/nwfpe/math-emu.a arch/arm/lib/lib.o arch/arm/lib/lib.a /usr/src/empeg/kernel.20b13hv299/kernel/lib/lib.a /usr/local/armtools/lib/gcc-lib/arm-empeg-linux/2.95.3/libgcc.a \
--end-group \
-o vmlinux
arch/arm/kernel/kernel.o: In function `time_init':
arch/arm/kernel/kernel.o(.text+0x6248): undefined reference to `mktime'
make: *** [vmlinux] Error 1
I found out that the problem is the modified file arch/arm/kernel/time.c
Hijack adds the following lines #if 0 and #endif and comments out the mktime function. I don't know why. If I remove these two "if endif" lines everything is ok, as expected.
Seems that at least on my maschine the "#if 0" get false, where on other maschine this statement return true.
Mark, do you have a explanation for that?