/tmp/ccGPhm2T.o: In function `map3(game*)':
map.cpp:(.text+0x119a): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x11b5): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x11d0): undefined reference to `AddGhost(game*, int, int, direction)'
/tmp/ccGPhm2T.o: In function `map4(game*)':
map.cpp:(.text+0x123c): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x126d): undefined reference to `AddGhost(game*, int, int, direction)'
/tmp/ccGPhm2T.o:map.cpp:(.text+0x18f3): more undefined references to `AddGhost(game*, int, int, direction)' follow
collect2: error: ld returned 1 exit status