I have no idea what's causing these... but I just installed the newest codeblocks, and set up all the paths and stuff, did everything the wiki told me for setting it up, including adding directories to my windows path and copying dlls to UFO:AI dir.
||=== ufo2map, windows ===|
.objs\ufo2map\src\common\ioapi.o||In function `fopen_file_func':|
C:\Program\UFO-SVN\src\common\ioapi.c|72|undefined reference to `mcount'|
.objs\ufo2map\src\common\ioapi.o||In function `fread_file_func':|
C:\Program\UFO-SVN\src\common\ioapi.c|95|undefined reference to `mcount'|
.objs\ufo2map\src\common\ioapi.o||In function `fwrite_file_func':|
C:\Program\UFO-SVN\src\common\ioapi.c|107|undefined reference to `mcount'|
.objs\ufo2map\src\common\ioapi.o||In function `ftell_file_func':|
C:\Program\UFO-SVN\src\common\ioapi.c|116|undefined reference to `mcount'|
.objs\ufo2map\src\common\ioapi.o||In function `fseek_file_func':|
C:\Program\UFO-SVN\src\common\ioapi.c|127|undefined reference to `mcount'|
.objs\ufo2map\src\common\ioapi.o:C:\Program\UFO-SVN\src\common\ioapi.c|151|more undefined references to `mcount' follow|
||=== Build finished: 6 errors, 0 warnings ===|