when i try to malloc at kernel mod i get screamed by the compiler :
res=(ListNode*)malloc(sizeof(ListNode));
/root/ex3/ex3mod.c:491: error: implicit declaration of function ‘malloc’
Hi all,
I am trying to compile a code that has a malloc function inside the kernel and i get this error:
Error 5 error : calling a host function("malloc") ...