errors in compilation
I tried to compile Kindle DXG kernel source. Downloaded from Amazon.com and unzip the linux-2.6.22-lab126.tar.bz2 into a directory.
I copied config.gz from my Kindle DXG. unzip and copy to .config. Then run
make oldconfig
to make the configurations exactly the same as my Kindle DXG. I also got rid of CONFIG_INITRAMFS_SOURCE. Then run
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage
Here are error messages I got:
arch/arm/kernel/built-in.o: In function `sys_mmap2':
io.c: (.text+0xc94): undefined reference to `do_mmap2'
Makefile:715: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1
|