[yocto] Yocto and Google Protocol Buffers

Giovanni Foiani fnognn at unife.it
Wed Jul 25 01:35:53 PDT 2012


Hi,

does anyone have configured a recipe for make Google Protocol
Buffers working?
This is my recipe:

*SUMMARY = "Protocol Buffers - Google's data interchange format"*
*DESCRIPTION = "Protocol Buffers are a way of encoding structured data in
an efficient yet extensible format"*
*SECTION = "libs"*
*
*
*LICENSE = "LGPLv2.1"*
*#LIC_FILES_CHKSUM =
"file://../protobuf-2.4.1/COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514"*
*LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780"
*
*
*
*PR = "r0"*
*
*
*SRC_URI = "http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.gz"*
*
*
*SRC_URI[md5sum] = "dc84e9912ea768baa1976cb7bbcea7b5"*
*SRC_URI[sha256sum] =
"eac6969b617f397247e805267da2b0db3ff9e5a9163b123503a192fbb5776567"*
*
*
*inherit autotools*
*
*
*do_configure() {*
* ./configure --host=arm*
*}*
*
*
bin/bash:
/home/gfoiani/yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/protobuf-2.4.1-r0/protobuf-2.4.1/src/protoc:
cannot execute binary file
make[2]: *** [unittest_proto_middleman] Error 126

I also tried with *-with-protoc=protoc *option in configure command but
without success..
Does anyone can help me to write a correct recipe for Protobuf library (and
also for protobuf-c)?

Thanks

Giovanni
--

Dott. Ing. Giovanni Foiani

Cell:        +39-349-3577515
Phone:    +39-0532-97-4106
mail:        giovanni.foiani at unife.it
CenTec - Corso Guercino, 47 - 44042 Cento (FE)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120725/6f262163/attachment.html>


More information about the yocto mailing list