Building gettext on ARM?

George Neville-Neil gnn at neville-neil.com
Thu Mar 7 15:36:40 UTC 2013


On Mar 7, 2013, at 05:28 , Andrew Turner <andrew at fubar.geek.nz> wrote:

> 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.
> 

Here it is.  BTW I note that it defines DITSIZEOF_PTDRIFF_T to 0.

Best,
George

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: application/octet-stream
Size: 42386 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130307/12d268e0/attachment.obj>
-------------- next part --------------



More information about the freebsd-arm mailing list