2.0 fails to compile on amd64

Sean McNeil sean at mcneil.com
Sat Aug 19 20:46:54 UTC 2006


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 at 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 at 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 at freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
> > > > To unsubscribe, send any mail to "freebsd-openoffice-unsubscribe at freebsd.org"
> > > >
> > >
> >
> >
> 



More information about the freebsd-openoffice mailing list