I have implemented kmalloc in the Makefile, defs.h, kmalloc.c, sysproc.c, usys.S, syscall.h, and syscall.c. I have a test case called test_1.c to test my implementation of kmalloc. I took the source code from xv6, I applied my implementations and changes, then run it on qemu.
I execute ./test-mmap.sh to know if I pass the test case. Turns out I didn't pass, I got error : "test_1.c: error: implicit declaration function of kmalloc". But I have implemented the kmalloc correctly and in the correct files. I am confuse, what am I missing here?