From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp4out.l-3com.com ([128.170.207.112]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TK5TH-0007cQ-0s for ptxdist@pengutronix.de; Fri, 05 Oct 2012 12:49:33 +0200 From: Adrian.Baumgarth@l-3com.com Date: Fri, 5 Oct 2012 12:49:21 +0200 Message-ID: <9509D04A0F6C4D46B9ED146D5D70F04904A1083EBC@Kelfs003> Content-Language: de-DE Content-Type: multipart/mixed; boundary="_002_9509D04A0F6C4D46B9ED146D5D70F04904A1083EBCKelfs003_" MIME-Version: 1.0 Subject: [ptxdist] protobuf_2.4.1 for PDXdist Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "'ptxdist@pengutronix.de'" --_002_9509D04A0F6C4D46B9ED146D5D70F04904A1083EBCKelfs003_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Mr. Olbrich,=20 I am trying to include protobuf (http://code.google.com/p/protobuf/) in PTX= dist and encountered some problems. I succeeded in adding protobuf to the s= ystem library section in PTXdist and the build is started when I do a "pdxd= ist targetinstall protobuf", but I get the following error: libtool: link: i686-unknown-linux-gnu-g++ -pthread -Wall -Wwrite-strings -W= overloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -pthread -Wl,-rpath-li= nk -Wl,/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/s= ysroot-target/lib -Wl,-rpath-link -Wl,/home/developer/PTXdist/OSELAS.BSP-El= acNautik-DL3000/platform-i686/sysroot-target/usr/lib -o protoc main.o -L/h= ome/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/sysroot-ta= rget/lib -L/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i6= 86/sysroot-target/usr/lib -lpthread ./.libs/libprotobuf.so ./.libs/libproto= c.so -lz -pthread oldpwd=3D`pwd` && ( cd . && $oldpwd/protoc -I. --cpp_out=3D$oldpwd google/p= rotobuf/unittest.proto google/protobuf/unittest_empty.proto google/protobuf= /unittest_import.proto google/protobuf/unittest_mset.proto google/protobuf/= unittest_optimize_for.proto google/protobuf/unittest_embed_optimize_for.pro= to google/protobuf/unittest_custom_options.proto google/protobuf/unittest_l= ite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unitte= st_lite_imports_nonlite.proto google/protobuf/unittest_no_generic_services.= proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto ) /home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/build-ta= rget/protobuf-2.4.1/src/protoc: error while loading shared libraries: libpr= otobuf.so.7: wrong ELF class: ELFCLASS64 make[3]: *** [unittest_proto_middleman] Error 127 make[3]: Leaving directory `/home/developer/PTXdist/OSELAS.BSP-ElacNautik-D= L3000/platform-i686/build-target/protobuf-2.4.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/developer/PTXdist/OSELAS.BSP-ElacNautik-D= L3000/platform-i686/build-target/protobuf-2.4.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/developer/PTXdist/OSELAS.BSP-ElacNautik-D= L3000/platform-i686/build-target/protobuf-2.4.1' make: *** [/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i6= 86/state/protobuf.compile] Error 2 The problem is that the library has been built as a 64bit library (ELFCLASS= 64), but the target is a 32bit one. I am using the OSELAS.BSP-ElacNautik-DL3000 and the OSELAS.Toolchain-2011.1= 1.3 on a 64bit Ubuntu 12.04 with ptxdist-2012.09.1 for the BSP and ptxdist-= 2011.11.0 for the Toolchain. With regards Adrian Baumgarth - Softwareentwickler - Forschung und Entwicklung Telefon: ++49 (0)431/883 -227 Telefax: ++49 (0)431/883 -496 E-mail:=A0=A0 Adrian.Baumgarth@l-3com.com URL=A0=A0 :=A0=A0 www.elac-nautik.de L-3 Communications ELAC Nautik GmbH=20 Neufeldtstrasse 10 24118 Kiel Deutschland Gesch=E4ftsf=FChrer/General Managers: Dr. J=F6rg Brechtefeld (Ph.D.) Sitz der Gesellschaft ist Kiel.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 Amtsgericht Kiel, HRB 1221 KI Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Informa= tionen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt=FC= mlich erhalten haben, informieren Sie bitte sofort den Absender und vernich= ten Sie diese E-Mail. Das unerlaubte Kopieren, Verbreiten sowie die unbefug= te Weitergabe dieser E-Mail, ihrer Anh=E4nge und/oder deren jeweiliger Inha= lte ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient or have received this e-mail in error please= notify the sender immediately and destroy this e-mail. Any unauthorized co= pying, disclosure or distribution of this e-mail, its attachments and/or th= e information contained therein is strictly forbidden. --_002_9509D04A0F6C4D46B9ED146D5D70F04904A1083EBCKelfs003_ Content-Type: application/x-gzip; name="rules_protobuf.tar.gz" Content-Description: rules_protobuf.tar.gz Content-Disposition: attachment; filename="rules_protobuf.tar.gz"; size=1048; creation-date="Fri, 05 Oct 2012 11:41:01 GMT"; modification-date="Fri, 05 Oct 2012 11:40:28 GMT" Content-Transfer-Encoding: base64 H4sIAAyrblAAA+1X/W+iSBj2V/krJrXZlDtFED+6zfVuLeKuubYYwL295BIzwiCzRYbA0G7vr78Z 8IPteqmXVJNL5okGfef9fOaDd5KUULLIA2UFH1DtOFAZ+v0uf2qDnlp9cvT6eremdVRd77HfqlZT ta6u9WtAPVI+3yHPKEwBqPnoEUUkQem/6L02/j9FA7R+avG5D3CE2E+pITWAQZLnFC9DCi4MGXRU rQMWz2DopxjG4AbmqyVMaQh+gYVEWWwkH6KW7pGVwr6/Fo4chIBhm6OJ64CApMBHFOIoA3BBcgqe QgJCmAGPxDTFi5wiH1AC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A== --_002_9509D04A0F6C4D46B9ED146D5D70F04904A1083EBCKelfs003_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --_002_9509D04A0F6C4D46B9ED146D5D70F04904A1083EBCKelfs003_--