From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] build failure in xterm
Date: Fri, 13 Jun 2014 17:20:01 +0200 [thread overview]
Message-ID: <20140613152001.GE5199@pengutronix.de> (raw)
In-Reply-To: <20140613151244.GB26660@localhost.localdomain>
Hi,
On Fri, Jun 13, 2014 at 05:12:44PM +0200, Richard Cochran wrote:
> Using the latest git ptxdist, building xterm fails like this.
>
> ---------------------
> target: xterm.compile
> ---------------------
> ...
> /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa9-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/../lib/gcc/arm-cortexa9-linux-gnueabihf/4.7.3/../../../../arm-cortexa9-linux-gnueabihf/bin/ld: main.o: undefined reference to symbol 'IceSetIOErrorHandler'
> /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa9-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/../lib/gcc/arm-cortexa9-linux-gnueabihf/4.7.3/../../../../arm-cortexa9-linux-gnueabihf/bin/ld: note: 'IceSetIOErrorHandler' is defined in DSO /home/richard/git/DistroKit/platform-pengutronix-beagleboneti/sysroot-target/usr/lib/libICE.so.6 so try adding it to the linker command line
> /home/richard/git/DistroKit/platform-pengutronix-beagleboneti/sysroot-target/usr/lib/libICE.so.6: could not read symbols: Invalid operation
> collect2: error: ld returned 1 exit status
>
> The library seems to be okay:
>
> file /home/richard/git/DistroKit/platform-pengutronix-beagleboneti/sysroot-target/usr/lib/libICE.so.6.3.0
> /home/richard/git/DistroKit/platform-pengutronix-beagleboneti/sysroot-target/usr/lib/libICE.so.6.3.0: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped
>
> Any ideas?
Try:
PTXCONF_TARGET_EXTRA_LDFLAGS="-Wl,--copy-dt-needed-entries"
In the platformconfig.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2014-06-13 15:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-13 15:12 Richard Cochran
2014-06-13 15:20 ` Michael Olbrich [this message]
2014-06-13 18:11 ` Richard Cochran
2014-06-13 18:25 ` Richard Cochran
2014-06-13 20:29 ` [ptxdist] [PATCH] xterm: fix the build Richard Cochran
2014-06-16 19:00 ` Michael Olbrich
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=20140613152001.GE5199@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox