Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

Talk:HowTo use the CDT to navigate Linux kernel source

Revision as of 09:30, 7 January 2015 by Unnamed Poltroon (Talk) (Step 9 - No Toolchain)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I downloaded and installed the latest (Luna) eclipse and followed the steps. The only problem I had is a wrong parsing/indexing of container_of macro. That is, any occurrence of this macro in the code was't indexed and appeared as syntax error. container_of macro defined in linux/kernel.h file in the kernel source tree. The file with the same name installed under /usr/include (part of linux-libc-dev package). Once Linux GCC tool chain was chosen at step 9, the /usr/include path was automatically added to the include paths, apparently hiding the kernel include/linux/kernel.h. Choosing "No Toolchain" instead of "LinuxGCC" at step 9 solves this problem for me.

Back to the top