Date: Thu, 07 Mar 2013 23:28:53 +1300 From: Andrew Turner <andrew@fubar.geek.nz> To: George Neville-Neil <gnn@neville-neil.com> Cc: "arm@freebsd.org" <arm@freebsd.org> Subject: Re: Building gettext on ARM? Message-ID: <20130307232853.2d33667b@bender> In-Reply-To: <46D6567D-D7AC-4BFB-94FE-B54E87224C20@neville-neil.com> References: <46D6567D-D7AC-4BFB-94FE-B54E87224C20@neville-neil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Mar 2013 22:08:25 -0500 George Neville-Neil <gnn@neville-neil.com> wrote: > Howdy, > > I believe this is an issue that may run deeper than just gettext: > > ===> Building for gettext-0.18.1.1 > Making all in gnulib-local > Making all in gettext-runtime > make all-recursive > Making all in doc > Making all in intl > /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -c > -DLOCALEDIR=\"/usr/local/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" > -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL > -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY > -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC > -Dset_relocation_prefix=libintl_set_relocation_prefix > -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H > -I. -I. -I.. -I/usr/local/include -O -pipe > -fvisibility=hidden ./bindtextdom.c libtool: compile: cc -c > -DLOCALEDIR=\"/usr/local/share/locale\" > -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" > -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL > -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY > -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC > -Dset_relocation_prefix=libintl_set_relocation_prefix > -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H > -I. -I. -I.. -I/usr/local/include -O -pipe > -fvisibility=hidden ./bindtextdom.c -fPIC -DPIC > -o .libs/bindtextdom.o In file included > from ./bindtextdom.c:24: /usr/include/stddef.h:41: error: two or more > data types in declaration specifiers *** [bindtextdom.lo] Signal 11 > > > The offending line is: > > #include <sys/cdefs.h> > #include <sys/_null.h> > #include <sys/_types.h> > > typedef __ptrdiff_t ptrdiff_t; <--- Line 41 > > Thoughts? > Best, > George I'm unable to reproduce this build failure. I am, however, running an EABI system so that may be enough of a difference. Can you send me gettext-runtime/config.h and gettext-runtime/config.log. I suspect the check for ptrdiff_t is failing and the preprocessor is defining it as something else. Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130307232853.2d33667b>