In config/amanda/krb5-security.m4 (add i386-linux-gnu, x86_64 lib):

for lib in lib lib64 lib/386-linux-gnu lib/x86_64-linux-gnu; do

In debian/rules add:

--with-krb5-security \

Update version with dch -v 1:3.3.9-5-as1

Build with dpkg-buildpackage -rfakeroot -uc -us -b

Also on i386 and AMD Phenomâ„¢ II X4 945 Processor there is a problem with using SSE4.2
Just remove the -msse4.2 GCC option to fix the problem.
In config/amanda/flags.m4:

# SYNOPSIS
#
#   AMANDA_CHECK_SS42(warning)
#
# OVERVIEW
#
#   Check if gcc support -msse4.2
#
AC_DEFUN([AMANDA_CHECK_SSE42],
[
    # test for -msse4.2
    AMANDA_TEST_GCC_FLAG(-msse4.2,
    [
        SSE42_CFLAGS=""
    ])
    AC_SUBST(SSE42_CFLAGS)
])