Hi Tim,
Hope you are doing good,
I have removed all the warnings, undefined reference to errors from the build log and kept the build commands:
mingw32-g++.exe -g -W -O0 -DWIN32 -D_DEBUG -D_LIB -c src\w2k\hi.cpp -o ..\..\obj\w2k\dbg\src\w2k\hi.o
cmd /c if exist .\..\..\lib\w2k\dbg\lib.a del .\..\..\lib\w2k\dbg\lib.a
ar.exe -r -s .\..\..\lib\w2k\dbg\Lib.a
ar.exe: creating .\..\..\lib\w2k\dbg\lib.a
Output file is .\..\..\lib\w2k\dbg\lib.a with size 5.21 MB
mingw32-g++.exe -W -O0 -DXERCES_STATIC_LIBRARY -D_DEBUG -DWIN32 -D_CONSOLE -DIL_STD -DINTEL -I -I\include -I..\..\.. ..\..\src\w2k -c \src\w2k\hello.cpp -o ..\..\obj\w2k\dbg\src\w2k\hello.o
In file included from /xercesc/validators/datatype/DatatypeValidator.hpp:27:0,
from /xercesc/framework/XMLAttr.hpp:28,
from /xercesc/framework/XMLDocumentHandler.hpp:28,
from /xercesc/parsers/AbstractDOMParser.hpp:26,
from /xercesc/parsers/XercesDOMParser.hpp:27,
\src\w2k\r.cpp: In function 'int main(int, char**)':
mingw32-g++.exe -W -O0 -DXERCES_STATIC_LIBRARY -D_DEBUG -DWIN32 -D_CONSOLE -DIL_STD -DINTEL -I -I\include -I
In file included from /xercesc/validators/datatype/DatatypeValidator.hpp:27:0,
from /xercesc/framework/XMLAttr.hpp:28,
from /xercesc/framework/XMLDocumentHandler.hpp:28,
from /xercesc/parsers/AbstractDOMParser.hpp:26,
from /xercesc/parsers/XercesDOMParser.hpp:27,
from \src\w2k\hello1.cpp:19:
mingw32-g++.exe -W -O0 -DXERCES_STATIC_LIBRARY -D_DEBUG -DWIN32 -D_CONSOLE -DIL_STD -DINTEL -I -I\include -I
mingw32-c++.exe -L..\..\..\\lib\w2k\dbg -L\lib -Lxerces-c_2_8_0\lib -Lxerces-c_2_8_0\bin -o
Regards,
Pradeep