Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem linking xlib_libXpm-3.5.12/sxpm
@ 2018-01-03  3:24 Ormund Williams
  2018-01-03 10:17 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Ormund Williams @ 2018-01-03  3:24 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-03 22:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-03  3:24 [Buildroot] Problem linking xlib_libXpm-3.5.12/sxpm Ormund Williams
2018-01-03 10:17 ` Thomas Petazzoni
2018-01-03 11:37   ` Ormund Williams
2018-01-03 12:06     ` Ormund Williams
2018-01-03 13:35       ` Thomas Petazzoni
2018-01-03 22:23         ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox