View Single Post
Old 12-12-2016, 09:33 PM   #82
budalb
Enthusiast
budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.budalb knows what is on the back of the AURYN.
 
Posts: 46
Karma: 9998
Join Date: Dec 2009
Device: Kindle DXG, Sony PRS-600
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
budalb is offline   Reply With Quote