From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WvTAQ-0001zg-53 for ptxdist@pengutronix.de; Fri, 13 Jun 2014 17:13:22 +0200 Received: by mail-wg0-f43.google.com with SMTP id b13so2894581wgh.14 for ; Fri, 13 Jun 2014 08:13:15 -0700 (PDT) Received: from localhost.localdomain (089144206176.atnat0015.highway.bob.at. [89.144.206.176]) by mx.google.com with ESMTPSA id l49sm12408943eef.27.2014.06.13.08.13.11 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Jun 2014 08:13:14 -0700 (PDT) Date: Fri, 13 Jun 2014 17:12:44 +0200 From: Richard Cochran Message-ID: <20140613151244.GB26660@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline Subject: [ptxdist] build failure in xterm Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Dear list, 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? Thanks, Richard -- ptxdist mailing list ptxdist@pengutronix.de