Linux build fails

Ok, I don`t know what causes errors above, but I built the editor and other applications in clean debian stable chroot on my machine and it is working nice in the main environment. I suppose that it is due to some developer packages installed in my system.