undefined reference error

im trying to compile a bot for a game and after many hours of debugging i am still unable to because of this

libui.a(libui_a-uMenu.o): In function `uMenuItemString::Event(SDL_Event&) [clone .part.51]':
uMenu.cpp:(.text+0x447c): undefined reference to `get_scrap(int, int*, char**)'
uMenu.cpp:(.text+0x47ac): undefined reference to `init_scrap()'
collect2: error: ld returned 1 exit status
make[3]: *** [armagetronad_main] Error 1
make[3]: Leaving directory `/home/noah/0.4-bot/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/noah/0.4-bot/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/noah/0.4-bot'
make: *** [all] Error 2

if anyone can give me some insight on how to solve this problem that would be greatly appreciated.
Topic archived. No new replies allowed.