Following Diego's post http://blog.flameeyes.eu/articles/2008/08/06/flags-and-flags, I found this CFLAGS/CXXFLAGS mixup.
Created attachment 164202 [details] build log adding the build log
Please report this upstream to their forums.
reported to upstram ... i'm not sure if this bug shouldnt be kept open till its really resolved by upstream because it blocks bug #234011
will be fixed in next version.. http://amsn.svn.sourceforge.net/viewvc/amsn/trunk/amsn/Makefile.in?r1=10486&r2=10485&pathrev=10486