First, I am new to kernel development. I must say I find it very interesting and fun. But at the same time so frustrating because of these problems.
I know, there were a lot of people with this problem. I know I should build a cross-compiler. I want to avoid that for now.
First, I thought it was my error. But its not. I followed Brans Kernel tutorial step by step exactly. And I get the following problem:
Code: Select all
main.o:main.c:(.text+0x29): undefined reference to `__alloca`
main.o:main.c:(.text+0x2e): undefined reference to `___main`
Thank you.