Building gettext on ARM?
Andrew Turner
andrew at fubar.geek.nz
Thu Mar 7 10:29:15 UTC 2013
On Tue, 5 Mar 2013 22:08:25 -0500
George Neville-Neil <gnn at 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
More information about the freebsd-arm
mailing list