From owner-freebsd-current Fri Mar 8 14:23:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id CC4A237B421; Fri, 8 Mar 2002 14:22:46 -0800 (PST) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id g28MHLx40990; Fri, 8 Mar 2002 17:17:21 -0500 (EST) (envelope-from mike) Date: Fri, 8 Mar 2002 17:17:21 -0500 From: Mike Barcroft To: "David W. Chapman Jr." Cc: Robert Watson , Murray Stokely , developers@FreeBSD.org, current@FreeBSD.org, re@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: HEADS UP: Be nice to -CURRENT ( "1 week Feature Slush" ) Message-ID: <20020308171721.Q81803@espresso.q9media.com> References: <20020308145953.GA62875@leviathan.inethouston.net> <20020308161716.GA65905@leviathan.inethouston.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020308161716.GA65905@leviathan.inethouston.net>; from dwcjr@inethouston.net on Fri, Mar 08, 2002 at 10:17:16AM -0600 Organization: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ Could we CC a few more lists? I'm not sure everyone that uses FreeBSD has read this yet. :) ] David W. Chapman Jr. writes: > Its not related to libpng, I believe that has been fixed, but I > cannot tell for sure because kde cannot be compiled under -current. > I'm not the only one that is experiencing it either, here is what I > was told by Alan Eldridge > > On Tue, Mar 05, 2002 at 05:26:27PM -0600, David W. Chapman Jr. wrote: > >When I try to build kdelibs2 I get the following under recent > >-current builds > > > >,.deps/kextsock.pp -c kextsock.cpp -fPIC -DPIC -o .libs/kextsock.o > >kextsock.cpp: In method `struct kde_addrinfo * > >KExtendedSocketLookup::results()' > >: > >kextsock.cpp:294: implicit declaration of function `int __htons(...)' > >kextsock.cpp:353: implicit declaration of function `int __htonl(...)' Hmm. This should be non-fatal in any event, but which header does it include to get it's htons() and htonl() prototypes? , , or ? > Yes. Recent changes to netinet/in.h have made it require the inclusion > of arpa/inet.h. As well, arpa/inet.h must include netinet/in.h. IOW, > each > of these files must #include the other in order to work correctly. This is almost completely bogus. I recently saw a PR of similar bogusness. > As you might guess, this is a less than desirable situation. A > #includes > B and B #includes A is a very bad arrangement. However, unless both > files > are overhauled, that is what will have to happen. Hello? I've been overhauling (and ) for over six months. The new kernel endian functions complicated things much more. > In the meantime, you need to find every occurence of either of those > files being included, and make sure the other is included as > well. netinet/in.h needs to come first. This is untrue. can appear before or vice versa (remember to include before , since isn't a POSIX-2001 header yet). Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message