Metamod has a modified version of the 2.3 SDK to work with the MinGW32 compiler (Dev-C++, CodeBlocks).
@Bruce : VALVE used Microsoft Visual C++ 5 with Service Pack for Windows and GCC 2.95 for Linux dedicated servers. MinGW32 and compilers from Visual C++/Studio have differences when compiling.