The DBD::ODBC source code contains C++ comments. Some AIX compilers don't accept C++ comments. You can either convert the C++ comments in dbdimp.c
to normal C comments, so:
// This is a C++ comment
becomes:
/* This is C comment */
or add -qcpluscmt
to the generated makefile.