Wild guess is you forgot to define a macro that says you are planning on linking to a static or DLL library.
Read the library documentation to see if this guess is true.
From http://svn.apache.org/viewvc/xerces/c/trunk/doc/build.xml?view=markup (http://svn.apache.org/viewvc/xerces/c/trunk/doc/build.xml?view=markup)
<note>If you are linking your application to the static
316 &XercesCName; library,
317 then you will need to compile your application with the
318 XERCES_STATIC_LIBRARY preprocessor macro defined in order
319 to turn off the DLL import/export mechanism.</note>
Please read the fine manual next time!
Tim S.
mingw32-c++.exe -L..\..\..\\lib\w2k\dbg -L\lib -Lxerces-c_2_8_0\lib -Lxerces-c_2_8_0\bin -o
Did you try linking to the library; because what you posted shows that you did NOT do that?
Tim S.