View Single Post
Old 10-17-2021, 03:27 PM   #12
wishindo
Member
wishindo began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Oct 2021
Location: Florida, USA
Device: Kindle Keyboard w/ 3G (k3g), Likebook Mars (T80D)
Disabled the initramfs and now the kernel build errors at
Code:
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/arm/kernel/built-in.o: In function `sys_mmap2':
io.c:(.text+0xc08): undefined reference to `do_mmap2'
Makefile:778: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1
I couldn't find anything conclusive about this online. Supposedly, the error means we tried to use a function that wass never coded, but io.c doesn't contain any instances of "do", "sys", or "mm" according to nano.

I noticed I never said what toolchain I'm using now. I'm now using gcc-arm-linux-gnueabi from the default repositories for apt, as I made a new Ubuntu instance to have a clean slate to work with between posts #7 and #8.
wishindo is offline   Reply With Quote