[Buildroot] error building toolchain with gettext /libintl

Allan Clark allanc at chickenandporn.com
Mon Jul 16 06:21:18 PDT 2007


On 7/16/07, Ulf Samuelsson <ulf at atmel.com> wrote:
> mån 2007-07-16 klockan 09:02 +0530 skrev Gururaja Hebbar K R:
> >  Hi all,
> >
> > I am trying to build a ARM toolchain in buildroot for the 1st time with
> > below mentioned config. Everything goes fine till gettext building. when
> > make gettext-target is executed it halts with error saying
> >
> > cp -dpf
> > /home/guru/project/original/toolchains/buildroot/build_arm/staging_dir/u
> > sr/lib/libgettext*.so* \
>
> I have noted this as well, and the problem is that
>
> "staging_dir/usr/lib/libgettext*.so* " was never created.
>
> Instead "staging_dir/usr/lib/libgettext*.a" was created.
>
> This problem has been around for a long time.
>
>
> I have yet to figure out how to make the ARM gcc build the
> shared library instead of the static library
>
> Is it possible to supply "--with-shared" or something
> when configuring?

Same problem happens on MacOSX with libgmp.a building, not libgmp.so,
but it simply triggers a rebuild of later components.  It's not fatal
in my case.  I believe --with-shared is being given, but the library
still doesn't build the .so.  I remember some link issues, but I'm
still having the problem that uclibc fails to build the first time,
but seems to on the second try, trying to see why this started.

The common trend here is that either the build system thinks it should
have a *.so, and it isnt being built (different logic) or it should
have it, and there's an error that gets simply ignored.  's why I
mention this.

Allan


More information about the buildroot mailing list