[NSWI004] Help with C includes
Petr Tůma
petr.tuma at d3s.mff.cuni.cz
Tue Oct 22 15:23:56 CEST 2019
Hi,
the symbol is defined in the includes/main.h file, so you would normally do something like "#include <main.h>".
Usually, when you see an undeclared symbol, a fast solution is to search the sources (e.g. with "grep -r _kernel_end" or with something more interactive, depending on taste :-).
Petr
On 22/10/2019 13:55, Martin Koreček wrote:
> Hello again.
> Sorry to spam the conference, but I'm a C greenhorn and gcc says that '_kernel_end' is undeclared.
> What is the correct way to include it?
> Thanks in advance.
> Regards,
> Martin Koreček
>
> _______________________________________________
> NSWI004 mailing list
> NSWI004 at d3s.mff.cuni.cz
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>
More information about the NSWI004
mailing list