* [ptxdist] protobuf_2.4.1 for PDXdist
@ 2012-10-05 10:49 Adrian.Baumgarth
2012-10-12 9:18 ` Josef Holzmayr
0 siblings, 1 reply; 2+ messages in thread
From: Adrian.Baumgarth @ 2012-10-05 10:49 UTC (permalink / raw)
To: 'ptxdist@pengutronix.de'
[-- Attachment #1: Type: text/plain, Size: 3821 bytes --]
Hello Mr. Olbrich,
I am trying to include protobuf (http://code.google.com/p/protobuf/) in PTXdist and encountered some problems. I succeeded in adding protobuf to the system library section in PTXdist and the build is started when I do a "pdxdist targetinstall protobuf", but I get the following error:
libtool: link: i686-unknown-linux-gnu-g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -pthread -Wl,-rpath-link -Wl,/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/sysroot-target/lib -Wl,-rpath-link -Wl,/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/sysroot-target/usr/lib -o protoc main.o -L/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/sysroot-target/lib -L/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/sysroot-target/usr/lib -lpthread ./.libs/libprotobuf.so ./.libs/libprotoc.so -lz -pthread
oldpwd=`pwd` && ( cd . && $oldpwd/protoc -I. --cpp_out=$oldpwd google/protobuf/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.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_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-target/protobuf-2.4.1/src/protoc: error while loading shared libraries: libprotobuf.so.7: wrong ELF class: ELFCLASS64
make[3]: *** [unittest_proto_middleman] Error 127
make[3]: Leaving directory `/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/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-DL3000/platform-i686/build-target/protobuf-2.4.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/build-target/protobuf-2.4.1'
make: *** [/home/developer/PTXdist/OSELAS.BSP-ElacNautik-DL3000/platform-i686/state/protobuf.compile] Error 2
The problem is that the library has been built as a 64bit library (ELFCLASS64), but the target is a 32bit one.
I am using the OSELAS.BSP-ElacNautik-DL3000 and the OSELAS.Toolchain-2011.11.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: Adrian.Baumgarth@l-3com.com
URL : www.elac-nautik.de
L-3 Communications ELAC Nautik GmbH
Neufeldtstrasse 10
24118 Kiel
Deutschland
Geschäftsführer/General Managers: Dr. Jörg Brechtefeld (Ph.D.)
Sitz der Gesellschaft ist Kiel.
Amtsgericht Kiel, HRB 1221 KI
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren, Verbreiten sowie die unbefugte Weitergabe dieser E-Mail, ihrer Anhänge und/oder deren jeweiliger Inhalte 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 copying, disclosure or distribution of this e-mail, its attachments and/or the information contained therein is strictly forbidden.
[-- Attachment #2: rules_protobuf.tar.gz --]
[-- Type: application/x-gzip, Size: 1048 bytes --]
[-- Attachment #3: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] protobuf_2.4.1 for PDXdist
2012-10-05 10:49 [ptxdist] protobuf_2.4.1 for PDXdist Adrian.Baumgarth
@ 2012-10-12 9:18 ` Josef Holzmayr
0 siblings, 0 replies; 2+ messages in thread
From: Josef Holzmayr @ 2012-10-12 9:18 UTC (permalink / raw)
To: ptxdist
Am 05.10.2012 12:49, schrieb Adrian.Baumgarth@l-3com.com:> Hello Mr.
Olbrich,
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren,
Verbreiten sowie die unbefugte Weitergabe dieser E-Mail, ihrer Anhänge
und/oder deren jeweiliger Inhalte 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 copying, disclosure or distribution of this e-mail, its
attachments and/or the information contained therein is strictly forbidden.
>
I am not Mr. Olbrich, therefore I am not the intended recipient. I
hereby notify you of that, and that I totally refuse to destroy any
copies. ;)
Greetz
_____________________________________________________________
Josef Holzmayr
Dipl-Ing. (FH)
Entwicklung Embedded Devices / Software
Tel.: +49 8444 9204-48>
Fax: +49 8444 9204-50
holzmayr@rsi-elektrotechnik.de
R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-12 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-05 10:49 [ptxdist] protobuf_2.4.1 for PDXdist Adrian.Baumgarth
2012-10-12 9:18 ` Josef Holzmayr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox