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
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_ SIMPLEREDBLACKT REE -DUSE_SIMPLERED BLACKTREE -c -o udplikeserver.lo udplikeserver.cc 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_ SIMPLEREDBLACKT REE -DUSE_SIMPLERED BLACKTREE -c udplikeserver.cc -fPIC -DPIC -o .libs/udplikese rver.o :poolElement( const char*, const char*, rsp_info*, rsp_loadinfo*, const sockaddr*, size_t, unsigned int, unsigned int, bool, bool, TagItem*)’: cc:275: 38: error: ‘min’ was not declared in this scope
timeout = min(timeout, NextTimerTimeStamp - now);
^~~ cc:275: 38: note: suggested alternative: ‘fmin’
timeout = min(timeout, NextTimerTimeStamp - now);
^~~
fmin
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-
udplikeserver.cc: In member function ‘virtual void UDPLikeServer:
udplikeserver.
udplikeserver.
Makefile:1375: recipe for target 'udplikeserver.lo' failed
https:/ /launchpad. net/ubuntu/ +source/ rsplib/ 3.0.1-1ubuntu5/ +build/ 13650519