Record Detail

Compile Error

/tmp/cc2rBaJC.o: In function `main':
main.cpp:(.text+0x0): multiple definition of `main'
/tmp/cc10ofOJ.o:game.cpp:(.text+0x0): first defined here
/tmp/ccqckk7F.o: In function `PlayGame(game*)':
io.cpp:(.text+0x29c): undefined reference to `MovePacman(game*, direction)'
io.cpp:(.text+0x2ba): undefined reference to `MoveGhosts(game*)'
io.cpp:(.text+0x30b): undefined reference to `EndGame(game*)'
/tmp/ccB0l1MD.o: In function `map1(game*)':
map.cpp:(.text+0x1e): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x34): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x4a): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x60): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x76): undefined reference to `AddWall(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x8c): more undefined references to `AddWall(game*, int, int)' follow
/tmp/ccB0l1MD.o: In function `map1(game*)':
map.cpp:(.text+0x4ee): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x504): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x51a): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x530): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x546): undefined reference to `AddFood(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x55c): more undefined references to `AddFood(game*, int, int)' follow
/tmp/ccB0l1MD.o: In function `map1(game*)':
map.cpp:(.text+0x59e): undefined reference to `AddPacman(game*, int, int)'
/tmp/ccB0l1MD.o: In function `map2(game*)':
map.cpp:(.text+0x5c3): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x5d9): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x5ef): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x605): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x61b): undefined reference to `AddWall(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x631): more undefined references to `AddWall(game*, int, int)' follow
/tmp/ccB0l1MD.o: In function `map2(game*)':
map.cpp:(.text+0xaa0): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0xabc): undefined reference to `AddPacman(game*, int, int)'
/tmp/ccB0l1MD.o: In function `map3(game*)':
map.cpp:(.text+0xae1): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0xaf7): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0xb0d): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0xb23): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0xb39): undefined reference to `AddFood(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0xb4f): more undefined references to `AddFood(game*, int, int)' follow
/tmp/ccB0l1MD.o: In function `map3(game*)':
map.cpp:(.text+0xc2b): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0xc41): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0xc57): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0xc6d): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0xc83): undefined reference to `AddWall(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0xc99): more undefined references to `AddWall(game*, int, int)' follow
/tmp/ccB0l1MD.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/ccB0l1MD.o:map.cpp:(.text+0x117f): more undefined references to `AddCapsule(game*, int, int)' follow
/tmp/ccB0l1MD.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)'
map.cpp:(.text+0x11e6): undefined reference to `AddPacman(game*, int, int)'
map.cpp:(.text+0x11fc): undefined reference to `AddPacman(game*, int, int)'
/tmp/ccB0l1MD.o: In function `map4(game*)':
map.cpp:(.text+0x1221): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x123c): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x1252): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x126d): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x1283): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x1299): undefined reference to `AddPacman(game*, int, int)'
/tmp/ccB0l1MD.o: In function `map5(game*)':
map.cpp:(.text+0x12be): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x12d4): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x12ea): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x1300): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x1316): undefined reference to `AddFood(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x132c): more undefined references to `AddFood(game*, int, int)' follow
/tmp/ccB0l1MD.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+0x1460): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1476): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x148c): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x14a2): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x14b8): undefined reference to `AddWall(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x14ce): more undefined references to `AddWall(game*, int, int)' follow
/tmp/ccB0l1MD.o: In function `map5(game*)':
map.cpp:(.text+0x18f3): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x190e): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x1924): undefined reference to `AddPacman(game*, int, int)'
/tmp/ccB0l1MD.o: In function `map6(game*)':
map.cpp:(.text+0x1949): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x195f): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x1975): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x198b): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x19a1): undefined reference to `AddFood(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x19b7): more undefined references to `AddFood(game*, int, int)' follow
/tmp/ccB0l1MD.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+0x1ad5): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1aeb): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1b01): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1b17): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1b2d): undefined reference to `AddWall(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x1b43): more undefined references to `AddWall(game*, int, int)' follow
/tmp/ccB0l1MD.o: In function `map6(game*)':
map.cpp:(.text+0x1f3c): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x1f57): undefined reference to `AddGhost(game*, int, int, direction)'
map.cpp:(.text+0x1f6d): undefined reference to `AddPacman(game*, int, int)'
/tmp/ccB0l1MD.o: In function `map7(game*)':
map.cpp:(.text+0x1f92): undefined reference to `AddFood(game*, int, int)'
map.cpp:(.text+0x1fa8): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1fbe): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1fd4): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x1fea): undefined reference to `AddWall(game*, int, int)'
map.cpp:(.text+0x2000): undefined reference to `AddWall(game*, int, int)'
/tmp/ccB0l1MD.o:map.cpp:(.text+0x2016): more undefined references to `AddWall(game*, int, int)' follow
/tmp/ccB0l1MD.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)'
map.cpp:(.text+0x2445): undefined reference to `AddPacman(game*, int, int)'
/tmp/cc2rBaJC.o: In function `main':
main.cpp:(.text+0x70): undefined reference to `NewGame(int, int)'
main.cpp:(.text+0xa0): undefined reference to `NewGame(int, int)'
main.cpp:(.text+0xd0): undefined reference to `NewGame(int, int)'
main.cpp:(.text+0x100): undefined reference to `NewGame(int, int)'
main.cpp:(.text+0x130): undefined reference to `NewGame(int, int)'
/tmp/cc2rBaJC.o:main.cpp:(.text+0x15d): more undefined references to `NewGame(int, int)' follow
collect2: error: ld returned 1 exit status

Information

Submit By
Type
Submission
Homework
Lab6: Pac-man
Language
C++
Submit At
2023-11-29 20:30:51
Judged At
2023-11-29 20:30:51
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes