[Buildroot] Problem linking xlib_libXpm-3.5.12/sxpm
Ormund Williams
ormundw at panix.com
Wed Jan 3 03:24:18 UTC 2018
Hi All,
My host machine died and I had to upgrade, so I went from an x86 32bit
to and AMD 64bit (WOW!!). That required a complete rebuild since the
tool-chain would no longer work due to 32-64 conflicts.
But a seemingly unrelated error cropped up:
CCLD sxpm
sxpm.o: In function `Usage':
sxpm.c:(.text+0x14): undefined reference to `libintl_gettext'
sxpm.c:(.text+0x30): undefined reference to `libintl_gettext'
sxpm.o: In function `ErrorMessage':
sxpm.c:(.text+0x170): undefined reference to `libintl_gettext'
sxpm.c:(.text+0x186): undefined reference to `libintl_gettext'
sxpm.c:(.text+0x1ba): undefined reference to `libintl_gettext'
sxpm.o:sxpm.c:(.text+0x1d0): more undefined references to `libintl_gettext' follow
sxpm.o: In function `main':
sxpm.c:(.text.startup+0x3a): undefined reference to `libintl_bindtextdomain'
sxpm.c:(.text.startup+0x46): undefined reference to `libintl_textdomain'
sxpm.c:(.text.startup+0x81): undefined reference to `libintl_gettext'
sxpm.c:(.text.startup+0xa17): undefined reference to `libintl_gettext'
collect2: error: ld returned 1 exit status
Makefile:417: recipe for target 'sxpm' failed
I don't need libXaw (Athena Widgets) so I disabled it but the error
again pops up when samba starts linking:
[3246/3801] Linking default/lib/util/libutil-tdb-samba4.so
default/source4/heimdal/lib/com_err/error_126.o: In function `com_right_r':
error.c:(.text+0x85): undefined reference to `libintl_dgettext'
Some research into this error points to an "incorrect sequence of
CCFLAGS or LDFLAGS", help?
__
Ormund
More information about the buildroot
mailing list