Lennart, thank you for your prompt reply!
Yeap, now compilation is successful, but a have a lot of undefined references on a linkage stage concerning C++ structures.
undefined reference to `std::cout'
undefined reference to `std::string::append(std::string const&)'
undefined reference to `std::string::assign(std::string const&)'
As i understand I need to point out the C++ library explicitly, like -lstdc++ or somehow else.
Could you please tell me how can I show it via using install script?