I can't install player 2.1.1
./configure is OK but make>>
lms400_cola.cc: In member function ‘int lms400_cola::Disconnect()’:
lms400_cola.cc:62: error: ‘close’ was not declared in this scope
lms400_cola.cc: In member function ‘player_laser_data_t lms400_cola::ReadMeasurement()’:
lms400_cola.cc:378: error: ‘read’ was not declared in this scope
lms400_cola.cc: In member function ‘int lms400_cola::SendCommand(const char*)’:
lms400_cola.cc:492: error: ‘write’ was not declared in this scope
lms400_cola.cc: In member function ‘int lms400_cola::ReadResult()’:
lms400_cola.cc:505: error: ‘read’ was not declared in this scope
make[3]: *** [lms400_cola.lo] Error 1
on the top of file is #include <sys/socket.h>
system Ubuntu 8.10 Intrepid-beta
system: Mandriva Linux One. Exactly the same problem.
This seems to be due to gcc 4.3. This was fixed in the latest tree, you can see it here
http://playerstage.svn.sourceforge.net/viewvc/playerstage/code/player/branches/release-2-1-patches/server/drivers/laser/lms400_cola.cc?r1=6499&r2=6738
Same problem here.