This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/PROCESSOR-SDK-AM57X: how do I rebuild cmemk.ko and pvrsrvkm.ko . They are not being built during: 'make modules'

Part Number: PROCESSOR-SDK-AM57X


Tool/software: TI C/C++ Compiler

sdk version:  sdk-linux-am57xx-evm-03.00.00.04

When I boot linux,  I get this error:  cmemk: disagrees about version of symbol module_layout

When I build modules using: 'make modules' and then re-install them using:  sudo make ARCH=arm INSTALL_MOD_PATH=/srv/rootfs modules_install,

I also get this error: 

depmod: WARNING: /srv/rootfs/lib/modules/4.4.12-g3639bea54a/extra/pvrsrvkm.ko needs unknown symbol pci_save_state
depmod: WARNING: /srv/rootfs/lib/modules/4.4.12-g3639bea54a/extra/pvrsrvkm.ko needs unknown symbol drm_open
depmod: WARNING: /srv/rootfs/lib/modules/4.4.12-g3639bea54a/extra/pvrsrvkm.ko needs unknown symbol pci_request_region
depmod: WARNING: /srv/rootfs/lib/modules/4.4.12-g3639bea54a/extra/pvrsrvkm.ko needs unknown symbol drm_poll
depmod: WARNING: /srv/rootfs/lib/modules/4.4.12-g3639bea54a/extra/pvrsrvkm.ko needs unknown symbol pci_enable_device

For some reason,   neither cmem nor pvrsrvkm are built when executing the:  'make modules' cmd.

It seems they both  resides in the: rootfs/lib/modules/4.4.12-g3639bea54a/extra/ folder.

How do I rebuild these modules to get them in sync with my kernel?