Working toolchains for kernel compilation – Note2

Tried the following:


Kernel compilation completes successfully.

zImage boots fine.

Compiled modules do not get inserted properly.

To insert them properly, you need to set a var:
 CFLAGS_MODULE   = -fno-pic[/code]
which was originally unset.

Other wise,  you get a symbol error:
Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.