sunbird doesn't compile on the 1.8-branch in dynamic builds. it tries to link against xul.lib which should be xulapp_s.lib instead.
Created attachment 210479 [details] [diff] [review] proposed patch thanks to Michiel van Leeuwen for helping out on this one.
Does Sunird build with this patch on MOZILLA_1_8_BRANCH on windows? When trying with cywin/mingw I still see the error as described in Bug 324170 Comment #22.
That error is unrelated to this problem
patch checked in