Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 04:57:38 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc:        Robert Watson <rwatson@FreeBSD.org>, Murray Stokely <murray@FreeBSD.org>, <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:  <20020309044402.P4157-100000@gamplex.bde.org>
In-Reply-To: <20020308161716.GA65905@leviathan.inethouston.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Mar 2002, David W. Chapman Jr. wrote:

> > Hmm.  My impression was that the libpng stuff had been fixed, could you
> > confirm that KDE still doesn't build on 5.0-CURRENT?
>
> 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 <alane@geeksrus.net>
>
>
> 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(...)'
>
> 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 actually caused by the last round of endianness changes (in
<sys/param.h> and <machine/endian.h>) breaking the previous round of
endianness changes in (<arpa/inet.h>, <netinet/in.h>, <sys/param.h>
and <machine/endian.h>).  Another round is planned to fix this.

I'm surprised that everyone hasn't complained about world breakage
from this.  It has been broken for almost 2 weeks now.  Everything
that goes near ntohl and has WARNS >= 2 fails to compile.  Without
WARNS, the bug is reported as above, but a bogus version of __hton*
is found in the library and only optimization of hton* is broken.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020309044402.P4157-100000>