internal_function problem

Joakim Tjernlund joakim.tjernlund at transmode.se
Sat Jun 23 14:54:27 UTC 2007


 

> -----Original Message-----
> From: uclibc-bounces at uclibc.org 
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Bernhard Fischer
> Sent: den 23 juni 2007 15:23
> To: BuraphaLinux Server
> Cc: uclibc at uclibc.org
> Subject: internal_function problem
> 
> 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/in
> itrd2/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/i
solinux/initrd2/buildroot/build_i586/staging_dir/
> >-isysroot 
> >/var/www/htdocs/download/bls1.0/sourcecd/source/4/isolinux/in
> itrd2/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,

It is internal to uClibc and should be empty outside libc

 Jocke




More information about the uClibc mailing list