You have to Compile Marlin the right way...
Post your configuration.h and configuration.adv in a ZIP here

- - - - - - - - - -

I have a Bunch of printers running custom configs here...
Tevo...