Build failure for iconv/iconvconfig
William Tambe
tambewilliam@gmail.com
Fri Apr 3 15:25:22 GMT 2020
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
arch-elf/bin/ld: /glibc-build/iconv/iconvconfig.o: in function `more_help':
iconvconfig.c:(.text+0xce): undefined reference to `dcgettext'
arch-elf/bin/ld: iconvconfig.c:(.text+0xe4): undefined reference to `asprintf'
arch-elf/bin/ld: /glibc-build/iconv/iconvconfig.o: in function `new_alias':
iconvconfig.c:(.text+0x264): undefined reference to `tsearch'
arch-elf/bin/ld: iconvconfig.c:(.text+0x328): undefined reference to `dcgettext'
arch-elf/bin/ld: iconvconfig.c:(.text+0x338): undefined reference to `error'
arch-elf/bin/ld: /glibc-build/iconv/iconvconfig.o: in function `new_module':
iconvconfig.c:(.text+0x460): undefined reference to `tsearch'
arch-elf/bin/ld: iconvconfig.c:(.text+0x576): undefined reference to `error'
arch-elf/bin/ld: /glibc-build/iconv/iconvconfig.o: in function `handle_dir':
iconvconfig.c:(.text+0x720): undefined reference to `__getdelim'
arch-elf/bin/ld: iconvconfig.c:(.text+0xda2): undefined reference to `strtol'
arch-elf/bin/ld: iconvconfig.c:(.text+0xfbe): undefined reference to `error'
arch-elf/bin/ld: /glibc-build/iconv/iconvconfig.o: in function
`name_to_module_idx.constprop.0':
iconvconfig.c:(.text+0x13ee): undefined reference to `tfind'
arch-elf/bin/ld: /glibc-build/iconv/iconvconfig.o: in function `main':
iconvconfig.c:(.text.startup+0x42): undefined reference to `textdomain'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x6c): undefined
reference to `argp_parse'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x2e2): undefined
reference to `twalk'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x2f8): undefined
reference to `twalk'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x334): undefined
reference to `tsearch'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x412): undefined
reference to `tsearch'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x7b2): undefined
reference to `tfind'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x82a): undefined
reference to `tsearch'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0xa32): undefined
reference to `tsearch'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0xa80): undefined
reference to `twalk'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0xf5a): undefined
reference to `writev'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0xf86): undefined
reference to `fchmod'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0xfc8): undefined
reference to `close'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x100e): undefined
reference to `strsep'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x1056): undefined
reference to `strsep'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x11ce): undefined
reference to `close'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x11dc): undefined
reference to `unlink'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x11ee): undefined
reference to `dcgettext'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x1204): undefined
reference to `error'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x1228): undefined
reference to `error'
arch-elf/bin/ld: iconvconfig.c:(.text.startup+0x124c): undefined
reference to `error'
arch-elf/bin/ld: /glibc-build/iconv/strtab.o: in function `strtabinit':
strtab.c:(.text+0x102): undefined reference to `sysconf'
arch-elf/bin/ld: strtab.c:(.text+0x120): undefined reference to `calloc'
arch-elf/bin/ld: /glibc-build/iconv/xmalloc.o: in function `fixup_null_alloc':
xmalloc.c:(.text+0x36): undefined reference to `error'
arch-elf/bin/ld: /glibc-build/iconv/xmalloc.o: in function `xcalloc':
xmalloc.c:(.text+0x9a): undefined reference to `calloc'
collect2: error: ld returned 1 exit status
../Rules:215: recipe for target '/glibc-build/iconv/iconvconfig' failed
make[2]: *** [/glibc-build/iconv/iconvconfig] Error 1
make[2]: Leaving directory '/glibc/iconv'
Makefile:470: recipe for target 'iconv/others' failed
More information about the Libc-help
mailing list