[Linux] Cross compile toolchain visuals failed

Hi, I am building a game project as a homework to linux platform. But when I tried to package a base project to linux the visual layers of the game is not working as expected. The thing is I couldn`t detected the problem and the console output is also not giving me any clue to work on to. Sometimes I get visuals are working fine but I mostly get the corrupted version. What can cause this problem and how can I overcome it.
Thanks.

The console output.

The broken visuals are i get mostly.

I get sometimes this version.

Rarely it works fluently.