Ticket #201 (new defect)
Problem compiling on OpenBSD
| Reported by: | Scrat | Owned by: | lbponey |
|---|---|---|---|
| Priority: | major | Milestone: | Release 0.3 |
| Component: | museek_general | Version: | 0.2 |
| Keywords: | compilation error | Cc: |
Description
Hi,
the cmake system works well but when i try to make install i get these errors :
[ 1%] Building CXX object NewNet/CMakeFiles/NewNet.dir/nnclientsocket.cpp.o /tmp/museek+/NewNet/nnclientsocket.cpp: In member function `virtual void
NewNet::ClientSocket::process()':
/tmp/museek+/NewNet/nnclientsocket.cpp:52: error: `SOL_SOCKET' undeclared
(first use this function)
/tmp/museek+/NewNet/nnclientsocket.cpp:52: error: (Each undeclared identifier
is reported only once for each function it appears in.)
/tmp/museek+/NewNet/nnclientsocket.cpp:52: error: `SO_ERROR' undeclared (first
use this function)
/tmp/museek+/NewNet/nnclientsocket.cpp:52: error: `getsockopt' undeclared
(first use this function)
/tmp/museek+/NewNet/nnclientsocket.cpp:72: error: `::recv' undeclared (first
use here)
/tmp/museek+/NewNet/nnclientsocket.cpp:72: error: `MSG_OOB' undeclared (first
use this function)
/tmp/museek+/NewNet/nnclientsocket.cpp:125: error: `::send' undeclared (first
use here)
* Error code 1
Stop in /tmp/museek+ (line 78 of NewNet/CMakeFiles/NewNet.dir/build.make). * Error code 1
Stop in /tmp/museek+ (line 75 of CMakeFiles/Makefile2). * Error code 1
Stop in /tmp/museek+ (line 113 of Makefile).
do you think it is a weird problem caused by the OS? Do you think it's possible to fix it?

same issue on slackware