internal_function problem

Bernhard Fischer rep.dot.nop at gmail.com
Sat Jun 23 13:23:19 UTC 2007


On Sat, Jun 23, 2007 at 07:53:02PM +0700, BuraphaLinux Server wrote:
>Hello,
>
>With snapshot buildroot-20070622.tar.bz2 I have to manually
>do this after bzip2 crashes while building:

This is not a crash, it simply fails to build gettext.

>/var/www/htdocs/download/bls1.0/sourcecd/source/4/isolinux/initrd2/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc
>-DLOCALEDIR=\"/usr/share/locale\"
>-DBISON_LOCALEDIR=\"/usr/share/locale\"
>-DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJEXE=0
>-DGETTEXTJEXEDIR=\"/lib/gettext\"
>-DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/lib\"
>-DGETTEXTDATADIR=\"/usr/share/gettext\"
>-DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I..
>-I. -I. -I.. -I.. -I../libgrep -I../libuniname -I../gnulib-lib
>-I../gnulib-lib -I../intl -I../../gettext-runtime/intl -Os -pipe
>-I/var/www/htdocs/download/bls1.0/sourcecd/source/4/isolinux/initrd2/buildroot/build_i586/staging_dir/usr/include
>--sysroot=/var/www/htdocs/download/bls1.0/sourcecd/source/4/isolinux/initrd2/buildroot/build_i586/staging_dir/
>-isysroot 
>/var/www/htdocs/download/bls1.0/sourcecd/source/4/isolinux/initrd2/buildroot/build_i586/staging_dir
>-c plural-eval.c  -fPIC -DPIC -o .libs/plural-eval.o
>In file included from plural-eval.c:36:
>../../gettext-runtime/intl/eval-plural.h:28: error: conflicting types
>for 'plural_eval'
>../../gettext-runtime/intl/plural-exp.h:115: error: previous
>declaration of 'plural_eval' was here
>make[5]: *** [plural-eval.lo] Error 1

I think the problem is that internal_function should be wrapped inside
#ifdef _LIBC and should expand to nothing for !defined _LIBC, in
uClibc_arch_features.h

Can somebody shed some light on this?
Should the internal_function be empty outside libc or is gettext just
b0rked and it is ok to have internal_function set (i suspect the latter
is true).
TIA,



More information about the uClibc mailing list