[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-GIFT] Problems compiling gift under NetBSD 1.5.2
From: |
Uwe Klaus |
Subject: |
[bug-GIFT] Problems compiling gift under NetBSD 1.5.2 |
Date: |
Thu, 30 May 2002 10:32:11 +0200 (CEST) |
Hi,
I tried to compile gift-0.1.8 under NetBSD 1.5.2 / i386.
This run so far until
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libMRML/include
-I../libGIFTAcInvertedFile/include -I../libGIFTAcURL2FTS/include -I.
-I../expat/xmlparse -I../expat/xmltok -I. -g -O2 -DEF_PROTECT_BELOW=1
-DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42
-D__GIFT_WITH_PERL__ -fno-strict-aliasing -I/usr/pkg/include
-I/usr/pkg/lib/perl5/5.6.1/i386-netbsd/CORE -c CDomainSocket.cc
CDomainSocket.cc: In method `void CDomainSocket::acceptAndServe()':
CDomainSocket.cc:98: aggregate `struct ucred lCredentials' has incomplete
type and cannot be initialized
CDomainSocket.cc:102: `SO_PEERCRED' undeclared (first use this function)
CDomainSocket.cc:102: (Each undeclared identifier is reported only once
CDomainSocket.cc:102: for each function it appears in.)
CDomainSocket.cc:103: confused by earlier errors, bailing out
I looked into /usr/include/sys/socket.h and found only these constats
/*
* Option flags per-socket.
*/
#define SO_DEBUG 0x0001 /* turn on debugging info
recording */
#define SO_ACCEPTCONN 0x0002 /* socket has had listen() */
#define SO_REUSEADDR 0x0004 /* allow local address reuse */
#define SO_KEEPALIVE 0x0008 /* keep connections alive */
#define SO_DONTROUTE 0x0010 /* just use interface addresses */
#define SO_BROADCAST 0x0020 /* permit sending of broadcast msgs */
#define SO_USELOOPBACK 0x0040 /* bypass hardware when possible */
#define SO_LINGER 0x0080 /* linger on close if data present */
#define SO_OOBINLINE 0x0100 /* leave received OOB data in line */
#define SO_REUSEPORT 0x0200 /* allow local address & port reuse */
#define SO_TIMESTAMP 0x0400 /* timestamp received dgram traffic */
/*
* Additional options, not kept in so_options.
*/
#define SO_SNDBUF 0x1001 /* send buffer size */
#define SO_RCVBUF 0x1002 /* receive buffer size */
#define SO_SNDLOWAT 0x1003 /* send low-water mark */
#define SO_RCVLOWAT 0x1004 /* receive low-water mark */
#define SO_SNDTIMEO 0x1005 /* send timeout */
#define SO_RCVTIMEO 0x1006 /* receive timeout */
#define SO_ERROR 0x1007 /* get error status and clear */
#define SO_TYPE 0x1008 /* get socket type */
Best regards,
Uwe
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-GIFT] Problems compiling gift under NetBSD 1.5.2,
Uwe Klaus <=