This is what you claim to have written:
call fn: loadmap("map0.mrpg");
But this is the error that looks like it was copied from MSVC:
error: c:\my programs\other\game.cpp(189) : error C2065: ''laodmap'' : undeclared identifier
Notice the misspelling of ''loadmap'' as ''laodmap''. I bet you typed laodmap in game.cpp. Check it.