It was the root cause of problem. When I downloaded release tarball instead of something from git.gnome.org it compiled successfully. Thanks for help.
Od: "Callum Davies" <calrog...@gmail.com> Do: "Lampshade" <lampsh...@poczta.fm>; Wysłane: 17:31 Niedziela 2015-12-06 Temat: Re: I have problem compiling libgdamm > I'm running current amd64. There's no need to run autogen.sh if you > are using a release tarball of libgdamm.