Hi Thomas,
I've reuploaded rsplib 3.0.1 to bionic, but it fails as shown here:
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -DLINUX -D_GNU_SOURCE
-std=c++98 -D_FORTIFY_SOURCE=2 -DHAVE_KERNEL_SCTP -Wall -g -D_REENTRANT
-D_THREAD_SAFE -DINCLUDE_SIMPLEREDBLACKTREE -DUSE_SIMPLEREDBLACKTREE -c -o
udplikeserver.lo udplikeserver.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DLINUX -D_GNU_SOURCE -std=c++98 -D_FORTIFY_SOURCE=2
-DHAVE_KERNEL_SCTP -Wall -g -D_REENTRANT -D_THREAD_SAFE
-DINCLUDE_SIMPLEREDBLACKTREE -DUSE_SIMPLEREDBLACKTREE -c udplikeserver.cc
-fPIC -DPIC -o .libs/udplikeserver.o
udplikeserver.cc: In member function ‘virtual void
UDPLikeServer::poolElement(const char*, const char*, rsp_info*, rsp_loadinfo*,
const sockaddr*, size_t, unsigned int, unsigned int, bool, bool, TagItem*)’:
udplikeserver.cc:275:38: error: ‘min’ was not declared in this scope
timeout = min(timeout, NextTimerTimeStamp - now);
^~~
udplikeserver.cc:275:38: note: suggested alternative: ‘fmin’
timeout = min(timeout, NextTimerTimeStamp - now);
^~~
fmin
Makefile:1375: recipe for target 'udplikeserver.lo' failed
https://launchpad.net/ubuntu/+source/rsplib/3.0.1-1ubuntu5/+build/13650519
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1714101
Title:
RM: rsplib fails to build from source: ‘SCTP_GET_PEER_ADDRS_NUM_OLD’
undeclared
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsplib/+bug/1714101/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs