X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: UNIX Network Programming (unpve13e) make failing (AF_INET6 undeclared). Date: Thu, 8 Jun 2006 11:03:38 -0400 Message-ID: <4C89134832705D4D85A6CD2EBF38AE0F54901E@PAUMAILU03.ags.agere.com> From: "Williams, Gerald S \(Jerry\)" To: , Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k58F3tbW017056 Huw wrote: > The first issue was an omission of #defines. IPv6 isn't a > necessity for the UNP source, I believe. I'd say the real issue is a failure to protect the use of AF_INET6. You'll notice that it's protected by an #ifdef earlier. > The next issue I have is: > > mcast_leave.c: In function `mcast_leave_source_group': > mcast_leave.c:78: error: storage size of 'mreq' isn't known I don't know anything about the ip_mreq_source structure, but it looks to me like the current version may be having general issues with support for various platforms and configurations. Have you tried using the version at www.kohala.com (i.e., unpv12e)? That was the the last one that Richard Stevens wrote. At least the "lib" directory seems to build OK for me. Even if you really want the latest library, looking at the older code may help you with the port. I haven't looked into the new version of that book, but the new authors certainly had big shoes to fill. gsw P.S. www.kohala.com seemed to have intermittent access problems (at least for me), so be patient. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/