I've resolved the problem and DSPAM 3.8.0 compiles cleanly. Thanks for all the responses.
It had to do with my MySQL build. The solution was to build it thus: CFLAGS="-O3" CXX=gcc \ CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \ ./configure \ --prefix=/usr \ --localstatedir=/var/lib/mysql \ --libexecdir=/usr/sbin \ --sysconfdir=/etc/mysql \ --enable-assembler as opposed to: ./configure \ --prefix=/usr \ --localstatedir=/var/lib/mysql \ --libexecdir=/usr/sbin \ --sysconfdir=/etc/mysql \
