Hello, Hitting the module build error on latest Ubuntu The build works well with pre installed kernel and the associated headers But after building fresh kernel, trying to build the module again, its hitting this error. The MODULE_LICENSE and other declaration is all there but still hitting this build error MODPOST Module.symvers ERROR: modpost: missing MODULE_LICENSE() in nt2.o ERROR: modpost: "__modver_version_show" [nt2.ko] undefined! ERROR: modpost: "__SCK__might_resched" [nt2.ko] undefined! make[4]: *** [/opt/kernels/linux-kernel/scripts/Makefile.modpost:147: Module.symvers] Error 1 make[3]: *** [/opt/kernels/linux-kernel/Makefile:1939: modpost] Error 2 make[2]: *** [/opt/kernels/linux-kernel/Makefile:251: __sub-make] Error 2 make[2]: Leaving directory '/root/NT2_AppLibDrv/nt2drv/Source/lindrv' make[1]: *** [Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/opt/kernels/linux-kernel'