Problem building debian packages

When i build my package for debian i get this error

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[2]: *** [libapr_memcache_la-apr_memcache.lo] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/memcache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD'
make: *** [build-stamp] Error 2

For complete build log see

What must i do to correct this problem.