/tmp/ccUtlcXR.o: In function `map3(game*)':
map.cpp:(.text+0x1111): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x1127): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x113d): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x1153): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x1169): undefined reference to `AddCapsule(game*, int, int)'
/tmp/ccUtlcXR.o:map.cpp:(.text+0x117f): more undefined references to `AddCapsule(game*, int, int)' follow
/tmp/ccUtlcXR.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/ccUtlcXR.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/ccUtlcXR.o: In function `map5(game*)':
map.cpp:(.text+0x1408): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x141e): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x1434): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x144a): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x18f3): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x190e): undefined reference to `AddGhost(game*, int, int, direction)'
/tmp/ccUtlcXR.o: In function `map6(game*)':
map.cpp:(.text+0x1a93): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x1aa9): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x1abf): undefined reference to `AddCapsule(game*, int, int)'
map.cpp:(.text+0x1f3c): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x1f57): undefined reference to `AddGhost(game*, int, int, direction)'
/tmp/ccUtlcXR.o: In function `map7(game*)':
map.cpp:(.text+0x23f9): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x2414): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x242f): undefined reference to `AddGhost(game*, int, int, direction)'
collect2: error: ld returned 1 exit status