hi everyone

On compiling my programs I have started getting this message.

 
g++ `pkg-config --cflags playercore` -o laser laserobstacleavoid.cc `pkg-config --libs playercore`


/tmp/ccbZJEhU.o: In function `main':
laserobstacleavoid.cc:(.text+0x4de): undefined reference to `PlayerCc::PlayerClient::PlayerClient(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, int)'
laserobstacleavoid.cc : (.text+0x540): undefined reference to `PlayerCc::Position2dProxy::Position2dProxy(PlayerCc::PlayerClient*, unsigned int)'
laserobstacleavoid.cc:(.text+0x561): undefined reference to `PlayerCc::LaserProxy::LaserProxy(PlayerCc::PlayerClient*, unsigned int)'
laserobstacleavoid.cc:(.text+0x577): undefined reference to `std::operator<<(std::basic_ostream<char, std::char_traits<char> >&, PlayerCc::PlayerClient const&)'
laserobstacleavoid.cc: (.text+0x59d): undefined reference to `PlayerCc::Position2dProxy::SetMotorEnable(bool)'
laserobstacleavoid.cc:(.text+0x5c7): undefined reference to `PlayerCc::PlayerClient::Read()'
laserobstacleavoid.cc:(.text+0x82c): undefined reference to `PlayerCc::LaserProxy::~LaserProxy()'
laserobstacleavoid.cc : (.text+0x860): undefined reference to `PlayerCc::Position2dProxy::~Position2dProxy()'
laserobstacleavoid.cc:(.text+0x894): undefined reference to `PlayerCc::PlayerClient::~PlayerClient()'
laserobstacleavoid.cc : (.text+0x903): undefined reference to `std::operator<<(std::basic_ostream<char, std::char_traits<char> >&, PlayerCc::PlayerError const&)'
laserobstacleavoid.cc:(.text+0x952): undefined reference to `PlayerCc::PlayerError::~PlayerError()'
laserobstacleavoid.cc:(.text+0x96b): undefined reference to `PlayerCc::PlayerError::~PlayerError()'
/tmp/ccbZJEhU.o: In function `boost::detail::thread::lock_ops<boost::mutex>::lock(boost::mutex&)':
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread8lock_opsINS_5mutexEE4lockERS3_+0xd): undefined reference to `boost::mutex::do_lock()'
/tmp/ccbZJEhU.o: In function `boost::detail::thread::scoped_lock<boost::mutex>::lock()':
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread11scoped_lockINS_5mutexEE4lockEv+0x28): undefined reference to `boost::lock_error::lock_error()'
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread11scoped_lockINS_5mutexEE4lockEv+0x30): undefined reference to `boost::lock_error::~lock_error()'
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread11scoped_lockINS_5mutexEE4lockEv+0x38): undefined reference to `typeinfo for boost::lock_error'
/tmp/ccbZJEhU.o: In function `boost::detail::thread::lock_ops<boost::mutex>::unlock(boost::mutex&)':
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread8lock_opsINS_5mutexEE6unlockERS3_+0xd): undefined reference to `boost::mutex::do_unlock()'
/tmp/ccbZJEhU.o: In function `boost::detail::thread::scoped_lock<boost::mutex>::unlock()':
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread11scoped_lockINS_5mutexEE6unlockEv+0x2b): undefined reference to `boost::lock_error::lock_error()'
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread11scoped_lockINS_5mutexEE6unlockEv+0x33): undefined reference to `boost::lock_error::~lock_error()'
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN5boost6detail6thread11scoped_lockINS_5mutexEE6unlockEv+0x3b): undefined reference to `typeinfo for boost::lock_error'
/tmp/ccbZJEhU.o: In function `PlayerCc::Position2dProxy::SetSpeed(double, double)':
laserobstacleavoid.cc:(.gnu.linkonce.t._ZN8PlayerCc15Position2dProxy8SetSpeedEdd+0x39): undefined reference to `PlayerCc::Position2dProxy::SetSpeed(double, double, double)'
collect2: ld returned 1 exit status

Cheers
Vaibhav

--
Mobile Robotics Laboratory
Guidance, Control and Decision Systems Laboratory
Aerospace Department
Indian Institute of Science, Bangalore