./configure “parameters”
comment out in config.h this line "#define HAVE_VSYSLOG"
This is likely due to the fact that Solaris doesn't accept NULL values passed to vsnprintf and related functions. jabberd2 has implemented some workounds specific to vsnprintf, but left out vsyslog, which uses the system vsnprintf under the hood.
cd /sm
edit Makefile
find in /sm/Makefile sm_LDFLAGS = -Wl,-export-dynamic
and replace with: sm_LDFLAGS = -Wl -B dynamic
make
make install