It was the example that comes with the library that I was trying to compile. I get these messages when I try to compile:
../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0xc9): undefined reference to `__bb_timer_timer'
../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0x6f0): undefined reference to `brl_polledinput_KeyDown'
../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0xcef): undefined reference to `brl_polledinput_GetChar'
C../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0xdeb): undefined reference to `brl_polledinput_FlushKeys'
../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0xc9): undefined reference to `__bb_timer_timer'
../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0x6f0): undefined reference to `brl_polledinput_KeyDown'
../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0xcef): undefined reference to `brl_polledinput_GetChar'
C../TNet/.bmx/TNetBasicChat.bmx.gui.debug.win32.o(code+0xdeb): undefined reference to `brl_polledinput_FlushKeys'