here's output of my make:
[root@ns1 ghost]# make
g++ -o ./ghost++ bncsutilinterface.o bnet.o bnetprotocol.o commandpacket.o config.o crc32.o csvparser.o game.o game_base.o gameplayer.o gameprotocol.o gameslot.o ghost.o ghostdb.o ghostdbmysql.o ghostdbsqlite.o language.o map.o packed.o replay.o savegame.o sha1.o socket.o stats.o statsdota.o util.o sqlite3.o -L. -L../bncsutil/src/bncsutil/ -L../StormLib/stormlib/ -L/usr/lib/mysql/ -lbncsutil -lpthread -ldl -lz -lStorm -lrt -lmysqlclient -lboost_date_time -lboost_thread-mt
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedBanRemove(std::basic_strin g<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0x1ae0): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedDotAPlayerAdd(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int, unsigned int, unsigned int)':
ghostdbmysql.cpp

.text+0x881b): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0x8954): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedGamePlayerSummaryCheck(std ::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0x8f24): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0x905a): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedDotAGameAdd(unsigned int, unsigned int, unsigned int, unsigned int)':
ghostdbmysql.cpp

.text+0x9646): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0x977c): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedGamePlayerAdd(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int)':
ghostdbmysql.cpp

.text+0x9cd8): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0x9e0e): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedAdminCount(std::basic_stri ng<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xa3a4): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xa4da): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedAdminAdd(std::basic_string <char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xa9ec): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xab22): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedAdminCheck(std::basic_stri ng<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xaf8c): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xb0c2): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedGameAdd(std::basic_string< char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xb5cd): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xb703): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedBanRemove(std::basic_strin g<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xbbac): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xbce2): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedBanAdd(std::basic_string<c har, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xc1df): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xc315): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedDownloadAdd(std::basic_str ing<char, std::char_traits<char>, std::allocator<char> >, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int)':
ghostdbmysql.cpp

.text+0xc82c): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xc962): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedBanCheck(std::basic_string <char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xcdec): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xcf22): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedAdminList(std::basic_strin g<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xd4a2): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xd5d8): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedAdminRemove(std::basic_str ing<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xdadc): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xdc12): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedDotAPlayerSummaryCheck(std ::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xe184): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xe2ba): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedBanList(std::basic_string< char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xe8e2): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xea18): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedBanCount(std::basic_string <char, std::char_traits<char>, std::allocator<char> >)':
ghostdbmysql.cpp

.text+0xf024): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.cpp

.text+0xf15a): undefined reference to `boost::thread::start_thread()'
ghostdbmysql.o: In function `boost::detail::thread_data<boost::reference_wrapp er<CCallableDownloadAdd> >::~thread_data()':
ghostdbmysql.cpp

.text._ZN5boost6detail11thread_d ataINS_17reference_wrapperI20CCallableDownloadAddE EED0Ev[boost::detail::thread_data<boost::reference_wrappe r<CCallableDownloadAdd> >::~thread_data()]+0x14): undefined reference to `boost::detail::thread_data_base::~thread_data_bas e()'
ghostdbmysql.o: In function `boost::detail::thread_data<boost::reference_wrapp er<CCallableDownloadAdd> >::~thread_data()':
ghostdbmysql.cpp

.text._ZN5boost6detail11thread_d ataINS_17reference_wrapperI20CCallableDownloadAddE EED1Ev[boost::detail::thread_data<boost::reference_wrappe r<CCallableDownloadAdd> >::~thread_data()]+0xe): undefined reference to `boost::detail::thread_data_base::~thread_data_bas e()'
ghostdbmysql.o: In function `boost::detail::thread_data<boost::reference_wrapp er<CCallableDotAPlayerSummaryCheck> >::~thread_data()':
ghostdbmysql.cpp

.text._ZN5boost6detail11thread_d ataINS_17reference_wrapperI31CCallableDotAPlayerSu mmaryCheckEEED0Ev[boost::detail::thread_data<boost::reference_wrappe r<CCallableDotAPlayerSummaryCheck> >::~thread_data()]+0x14): undefined reference to `boost::detail::thread_data_base::~thread_data_bas e()'
ghostdbmysql.o: In function `boost::detail::thread_data<boost::reference_wrapp er<CCallableDotAPlayerSummaryCheck> >::~thread_data()':
ghostdbmysql.cpp

.text._ZN5boost6detail11thread_d ataINS_17reference_wrapperI31CCallableDotAPlayerSu mmaryCheckEEED1Ev[boost::detail::thread_data<boost::reference_wrappe r<CCallableDotAPlayerSummaryCheck> >::~thread_data()]+0xe): undefined reference to `boost::detail::thread_data_base::~thread_data_bas e()'
ghostdbmysql.o: In function `boost::detail::thread_data<boost::reference_wrapp er<CCallableDotAPlayerAdd> >::~thread_data()':
ghostdbmysql.cpp

.text._ZN5boost6detail11thread_d ataINS_17reference_wrapperI22CCallableDotAPlayerAd dEEED0Ev[boost::detail::thread_data<boost::reference_wrappe r<CCallableDotAPlayerAdd> >::~thread_data()]+0x14): undefined reference to `boost::detail::thread_data_base::~thread_data_bas e()'
ghostdbmysql.o:ghostdbmysql.cpp

.text._ZN5boost6d etail11thread_dataINS_17reference_wrapperI22CCalla bleDotAPlayerAddEEED1Ev[boost::detail::thread_data<boost::reference_wrappe r<CCallableDotAPlayerAdd> >::~thread_data()]+0xe): more undefined references to `boost::detail::thread_data_base::~thread_data_bas e()' follow
ghostdbmysql.o: In function `boost::detail::thread_data_base::thread_data_base ()':
ghostdbmysql.cpp

.text._ZN5boost6detail16thread_d ata_baseC2Ev[boost::detail::thread_data_base::thread_data_base( )]+0x25): undefined reference to `vtable for boost::detail::thread_data_base'
ghostdbmysql.o

.rodata._ZTIN5boost6detail11thread _dataINS_17reference_wrapperI20CCallableDownloadAd dEEEE[typeinfo for boost::detail::thread_data<boost::reference_wrappe r<CCallableDownloadAdd> >]+0x8): undefined reference to `typeinfo for boost::detail::thread_data_base'
ghostdbmysql.o

.rodata._ZTIN5boost6detail11thread _dataINS_17reference_wrapperI31CCallableDotAPlayer SummaryCheckEEEE[typeinfo for boost::detail::thread_data<boost::reference_wrappe r<CCallableDotAPlayerSummaryCheck> >]+0x8): undefined reference to `typeinfo for boost::detail::thread_data_base'
ghostdbmysql.o

.rodata._ZTIN5boost6detail11thread _dataINS_17reference_wrapperI22CCallableDotAPlayer AddEEEE[typeinfo for boost::detail::thread_data<boost::reference_wrappe r<CCallableDotAPlayerAdd> >]+0x8): undefined reference to `typeinfo for boost::detail::thread_data_base'
ghostdbmysql.o

.rodata._ZTIN5boost6detail11thread _dataINS_17reference_wrapperI20CCallableDotAGameAd dEEEE[typeinfo for boost::detail::thread_data<boost::reference_wrappe r<CCallableDotAGameAdd> >]+0x8): undefined reference to `typeinfo for boost::detail::thread_data_base'
ghostdbmysql.o

.rodata._ZTIN5boost6detail11thread _dataINS_17reference_wrapperI31CCallableGamePlayer SummaryCheckEEEE[typeinfo for boost::detail::thread_data<boost::reference_wrappe r<CCallableGamePlayerSummaryCheck> >]+0x8): undefined reference to `typeinfo for boost::detail::thread_data_base'
ghostdbmysql.o

.rodata._ZTIN5boost6detail11thread _dataINS_17reference_wrapperI22CCallableGamePlayer AddEEEE[typeinfo for boost::detail::thread_data<boost::reference_wrappe r<CCallableGamePlayerAdd> >]+0x8): more undefined references to `typeinfo for boost::detail::thread_data_base' follow
collect2: ld returned 1 exit status
make: *** [ghost++] Error 1
[root@ns1 ghost]#