/usr/didbs/0_1_9_n32_mips3_gcc/include/boost/bind/bind.hpp:1284:48: required from 'class boost::_bi::bind_t<boost::_bi::unspecified, int, boo$
t::_bi::list2<boost::_bi::value<const sockaddr*>, boost::_bi::value<int> > >'
tcpreceiver.cc:561:59: required from here
------------------
546 #if !WIN32 && HAVE_IPV6
547 for(vector<string>::const_iterator laddr=locals6.begin();laddr!=locals6.end();++laddr) {
548 int s=socket(AF_INET6,SOCK_STREAM,0);
549
550 if(s<0)
551 throw AhuException("Unable to acquire TCPv6 socket: "+stringerror());
552
553 ComboAddress local(*laddr, ::arg().asNum("local-port"));
554
555 int tmp=1;
556 if(setsockopt(s,SOL_SOCKET,SO_REUSEADDR,(char*)&tmp,sizeof tmp)<0) {
557 L<<Logger::Error<<"Setsockopt failed"<<endl;
558 exit(1);
559 }
560
561 if(bind(s, (const sockaddr*)&local, local.getSocklen())<0) {
562 L<<Logger::Error<<"binding to TCP socket: "<<strerror(errno)<<endl;
563 throw AhuException("Unable to bind to TCPv6 socket");
564 }
565
566 listen(s,128);
567 L<<Logger::Error<<"TCPv6 server bound to "<<local.toStringWithPort()<<endl;
568 d_sockets.push_back(s);
569 FD_SET(s, &d_rfds);
570 d_highfd=max(s,d_highfd);
571 }
572 #endif // WIN32
#define __sgi
#... more stuff
#ifdef __sgi
# do some sgi stuff
#endif
src/ftbench.c:179:22: error: storage size of 'tv' isn't known
179 | struct timespec tv;
#if defined(__sgi)
#include <sys/time.h>
#endif
src/ftbench.c:193:5: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
193 | clock_gettime( CLOCK_SGI_CYCLE, &tv );
#if defined(__sgi)
#include <sys/ptimers.h>
#endif
...
#ifdef _POSIX_CPUTIME
clock_gettime( CLOCK_PROCESS_CPUTIME_ID, &tv );
#elif defined(__sgi)
clock_gettime( CLOCK_SGI_CYCLE, &tv );
#else
clock_gettime( CLOCK_REALTIME, &tv );
#endif /* _POSIX_CPUTIME */
./makehelp < ../tf-lib/tf-help > ../tf-lib/tf-help.idx
In file included from socket.c:67:
tfio.h:156:15: error: conflicting types for 'wprintf'
156 | extern void wprintf(const char *fmt, ...) format_printf(1, 2);
| ^~~~~~~
In file included from /usr/include/wchar.h:11,
from /usr/include/inttypes.h:243,
from /usr/sgug/include/openssl/e_os2.h:243,
from /usr/sgug/include/openssl/ssl.h:15,
from socket.c:33:
/usr/sgug/lib/gcc/mips-sgi-irix6.5/9/include-fixed/internal/wchar_core.h:182:12: note: previous declaration of 'wprintf' was here
182 | extern int wprintf(const wchar_t * __restrict, ...);
| ^~~~~~~
error: Failed build dependencies:
libX11-devel is needed by freetype-2.10.0-3.sgugalpha.mips