I need to install wvdial, for which wstreams is a dependency.
When i try to build wstreams through sbopkg, i get an error... the last few lines pasted below.. can someone figure what is the underlying problem and how to fix this?
I am running slackware-arm 14.2 on raspberry pi
Code:
In file included from ./include/wvstream.h:10:0,
from streams/wvstream.cc:15:
./include/iwvstream.h:38:2: note: candidate: IWvStream::SelectRequest::SelectRequest(bool, bool, bool)
SelectRequest(bool r, bool w, bool x = false)
^~~~~~~~~~~~~
./include/iwvstream.h:38:2: note: no known conversion for argument 1 from ‘IWvStreamCallback {aka std::tr1::function<void()>}’ to ‘bool’
./include/iwvstream.h:37:2: note: candidate: IWvStream::SelectRequest::SelectRequest()
SelectRequest() { }
^~~~~~~~~~~~~
./include/iwvstream.h:37:2: note: candidate expects 0 arguments, 3 provided
./include/iwvstream.h:34:12: note: candidate: constexpr IWvStream::SelectRequest::SelectRequest(const IWvStream::SelectRequest&)
struct SelectRequest {
^~~~~~~~~~~~~
./include/iwvstream.h:34:12: note: candidate expects 1 argument, 3 provided
./include/iwvstream.h:34:12: note: candidate: constexpr IWvStream::SelectRequest::SelectRequest(IWvStream::SelectRequest&&)
./include/iwvstream.h:34:12: note: candidate expects 1 argument, 3 provided
streams/wvstream.cc: In member function ‘bool WvStream::continue_select(time_t)’:
streams/wvstream.cc:1110:69: error: no matching function for call to ‘WvStream::select(int, IWvStreamCallback&, IWvStreamCallback&, IWvStreamCallback&)’
return !alarm_was_ticking || select(0, readcb, writecb, exceptcb);
^
In file included from streams/wvstream.cc:15:0:
./include/wvstream.h:376:10: note: candidate: bool WvStream::select(time_t)
bool select(time_t msec_timeout)
^~~~~~
./include/wvstream.h:376:10: note: candidate expects 1 argument, 4 provided
./include/wvstream.h:415:10: note: candidate: bool WvStream::select(time_t, bool, bool, bool)
bool select(time_t msec_timeout,
^~~~~~
./include/wvstream.h:415:10: note: no known conversion for argument 2 from ‘IWvStreamCallback {aka std::tr1::function<void()>}’ to ‘bool’
make: *** [wvrules.mk:163: streams/wvstream.o] Error 1
wvstreams:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.