AnsweredAssumed Answered

Unknown symbols (_savegpr0*/_restgpr0*) when building external module on T4240

Question asked by John Linn on Oct 21, 2016

I am using a T4240RDB platform.  I am trying to build an external kernel module.  I have built it against the yocto kernel build with the SDK successfully.  

 

When I insert the module I get unknown symbols for _savegpr0_X where X is 18,20, 21....and restgpr0* also.

 

The kernel does not provide these functions for 64 bit and the tools are supposed to.  Any ideas are appreciated.  The same module builds for ARM64.  

 

Thanks, John

 

ps_pcie_dma: Unknown symbol _savegpr0_18 (err 0)
ps_pcie_dma: Unknown symbol _savegpr0_21 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_23 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_28 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_15 (err 0)
ps_pcie_dma: Unknown symbol _savegpr0_28 (err 0)
ps_pcie_dma: Unknown symbol _savegpr0_27 (err 0)
ps_pcie_dma: Unknown symbol _savegpr0_15 (err 0)
ps_pcie_dma: Unknown symbol _savegpr0_20 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_20 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_18 (err 0)
ps_pcie_dma: Unknown symbol _savegpr0_23 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_21 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_29 (err 0)
ps_pcie_dma: Unknown symbol _savegpr0_29 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_30 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_31 (err 0)
ps_pcie_dma: Unknown symbol _restgpr0_27 (err 0)
insmod: ERROR: could not insert module ps_pcie_dma.ko: Unknown symbol in module

Outcomes