Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2006 13:46:50 -0700
From:      Sean McNeil <sean@mcneil.com>
To:        "Jack L." <xxjack12xx@gmail.com>
Cc:        openoffice@freebsd.org
Subject:   Re: 2.0 fails to compile on amd64
Message-ID:  <1156020410.1452.5.camel@triton.mcneil.com>
In-Reply-To: <ab581e310608191259jd12d62bj5035d55a3e8e396a@mail.gmail.com>
References:  <1156012505.63467.0.camel@triton.mcneil.com> <ab581e310608191150o2852c076v4a936c549fda3d56@mail.gmail.com> <1156014116.38668.0.camel@triton.mcneil.com> <ab581e310608191259jd12d62bj5035d55a3e8e396a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2006-08-19 at 12:59 -0700, Jack L. wrote:
> Try upgrading your stable version and see if that works.

I have the most up-to-date -STABLE.  I track it all the time and, in
fact, updated it just today....

/usr/include/netdb.h:228 has

int gethostbyname_r(const char *, struct hostent *, char *, size_t,
struct hostent **, int *);

whereas system.h:542 has

struct hostent *gethostbyname_r(const char *name, struct hostent
*result, char *buffer, int buflen, int *h_errnop);

completely different interfaces to gethostbyname_r.

It is not my setup, it is a problem with OO.

> On 8/19/06, Sean McNeil <sean@mcneil.com> wrote:
> > On Sat, 2006-08-19 at 11:50 -0700, Jack L. wrote:
> > > What version of FreeBSD are you using, this error was already fixed.
> >
> > 6.1-STABLE FreeBSD 6.1-STABLE
> >
> > If it was fixed, it hasn't been updated in the ports tree.
> >
> > > On 8/19/06, Sean McNeil <sean@mcneil.com> wrote:
> > > > I get the following error:
> > > >
> > > > In file included from conditn.c:37:
> > > > system.h:542: error: conflicting types for 'gethostbyname_r'
> > > > /usr/include/netdb.h:228: error: previous declaration of
> > > > 'gethostbyname_r' was here
> > > > dmake:  Error code 1, while making '../../unxfbsdx.pro/obj/conditn.obj'
> > > > '---* tg_merge.mk *---'
> > > >
> > > > ERROR: Error 65280 occurred while
> > > > making /usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/sal/osl/unx
> > > > dmake:  Error code 1, while making 'build_instsetoo_native'
> > > > '---* *---'
> > > > *** Error code 255
> > > >
> > > >
> > > > _______________________________________________
> > > > freebsd-openoffice@freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
> > > > To unsubscribe, send any mail to "freebsd-openoffice-unsubscribe@freebsd.org"
> > > >
> > >
> >
> >
> 




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