All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Poky <poky@lists.pokylinux.org>
Subject: Strange build error
Date: Sun, 13 Apr 2014 07:59:28 -0600	[thread overview]
Message-ID: <534A9840.60606@mlbassoc.com> (raw)

I'm getting a strange build error when developing with some new packages:
| arm-amltd-linux-gnueabi-gcc  -march=armv6 -mthumb-interwork -mfloat-abi=softfp  -mfpu=vfp --sysroot=/local/rpi_2014-04-10/tmp/sysroots/raspberrypi  -O2 -pipe -g
-feliminate-unused-debug-types -I3rdparty/sparsehash -I3rdparty/utfcpp  -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden   -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed Arpa2Fst.o util.o phonetisaurus-arpa2fst.cpp -o ../phonetisaurus-arpa2fst -lfst -ldl -lm -lrt
| /local/rpi_2014-04-10/tmp/sysroots/x86_64-linux/usr/libexec/armv6-vfp-amltd-linux-gnueabi/gcc/arm-amltd-linux-gnueabi/4.8.2/ld: util.o: undefined reference to symbol
'_ZSt20__throw_out_of_rangePKc@@GLIBCXX_3.4'
| /local/rpi_2014-04-10/tmp/sysroots/raspberrypi/usr/lib/libstdc++.so.6: error adding symbols: DSO missing from command line

I tried building the same package(s) on my desktop but I don't
get this error.  It also doesn't seem to be target specific - I
tried building (using Yocto) for ARM and PowerPC - same thing.

Since the error seems to be coming from the stdc++ library,
I'm at a loss of where to look for it or how to fix this.

Any ideas?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


             reply	other threads:[~2014-04-13 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-13 13:59 Gary Thomas [this message]
2014-04-13 19:56 ` Strange build error Khem Raj
2014-04-14 10:54   ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=534A9840.60606@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@lists.pokylinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.