Build failure for iconv/iconvconfig

William Tambe tambewilliam@gmail.com
Fri Apr 3 20:04:12 GMT 2020


On Fri, Apr 3, 2020 at 3:42 PM Florian Weimer <fweimer@redhat.com> wrote:
>
> * William Tambe:
>
> > On Fri, Apr 3, 2020 at 11:34 AM Florian Weimer <fweimer@redhat.com> wrote:
> >>
> >> * William Tambe via Libc-help:
> >>
> >> > We are porting GLIBC and we are getting the following linking error;
> >> > from the logs below, any idea what object is missing ?
> >> >
> >> > arch-elf/bin/ld: /glibc-build/iconv/iconvconfig.o: in function `print_version':
> >> > iconvconfig.c:(.text+0x36): undefined reference to `dcgettext'
> >> > arch-elf/bin/ld: iconvconfig.c:(.text+0x36): warning: internal error:
> >> > unsupported relocation
> >>
> >> You need to fix that first, the rest may be fallout from that.
> >
> > We fixed "internal error: unsupported relocation" and are no longer
> > seeing that error, but we are still seeing the undefined references as
> > shown below; any idea what is the missing object file we need to add,
> > and where in the makefile to add it ?
>
> It looks like you are completely missing libc.

I see following in iconv/Makefile:
iconvconfig-modules = strtab xmalloc hash-string

Would it be where to append missing module to build iconvconfig.o ? if
yes, what would be the name of the module ?

>
> Thanks,
> Florian
>


More information about the Libc-help mailing list