[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current CVS Fails to Compile on FreeBSD

From: Federico Montesino Pouzols
Subject: Re: Current CVS Fails to Compile on FreeBSD
Date: Tue, 18 Mar 2003 18:41:06 +0100
User-agent: Mutt/1.5.3i

        Since you see that error, it seems that IP_ADD_MEMBERSHIP and
IP_DROP_MEMBERSHIP are defined on FreeBSD. I would say that there must
be some equivalent field. On GNU/Linux systems, there are the
following lines:

#define IP_ADD_MEMBERSHIP  35   /* ip_mreq; add an IP group membership */
#define IP_DROP_MEMBERSHIP 36   /* ip_mreq; drop an IP group membership */

        in /usr/include/bits/in.h. Is there something like this on

On Mon, Mar 03, 2003 at 07:12:14PM -0600, Ari Johnson wrote:
> g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
> -I/home/ari/cvswork/install/include -D_GNU_SOURCE -D_THREAD_SAFE
> -I/usr/local/include/libxml2 -I/usr/local/include -Wall -ansi -pedantic
> -I../include -c socket.cpp -Wp,-MD,.deps/socket.TPlo  -fPIC -DPIC -o
> .libs/socket.lo
> socket.cpp: In method `enum ost::Socket::Error ost::UDPSocket::join(const
> ost::InetMcastAddress &, int)':
> socket.cpp:907: aggregate `struct ost::ip_mreqn group' has incomplete type
> and cannot be initialized
> socket.cpp:918: confused by earlier errors, bailing out
> *** Error code 1
> The ip_mreqn is apparently not defined on FreeBSD...I did a
> "grep ip_mreqn `find /usr/include`" and got no hits.
> Ari Johnson
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp

reply via email to

[Prev in Thread] Current Thread [Next in Thread]