This library should be linked to by getting cflags and libs from gstreamer-plugins-base-.pc and adding -lgstallocators- to the library flags.
gstreamer-plugins-base-.pc
-lgstallocators-