Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5CFCE200CAB for ; Sun, 18 Jun 2017 13:02:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 50D05160BE3; Sun, 18 Jun 2017 11:02:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 95147160BCC for ; Sun, 18 Jun 2017 13:02:35 +0200 (CEST) Received: (qmail 74773 invoked by uid 500); 18 Jun 2017 11:02:34 -0000 Mailing-List: contact dev-help@celix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@celix.apache.org Delivered-To: mailing list dev@celix.apache.org Received: (qmail 74761 invoked by uid 99); 18 Jun 2017 11:02:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jun 2017 11:02:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 18CDD191243 for ; Sun, 18 Jun 2017 11:02:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.379 X-Spam-Level: *** X-Spam-Status: No, score=3.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 9bVZuBaGjj3V for ; Sun, 18 Jun 2017 11:02:32 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 37B1E5F6C2 for ; Sun, 18 Jun 2017 11:02:32 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id x70so57237568wme.0 for ; Sun, 18 Jun 2017 04:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=N5klI+JIkGc4sLSCiMfUckrbpt4NjpVUF60aNLcrgAw=; b=P2pBxAkXqENkWFBl4XSC10C5IhwGnWId5q5j0aMacX/lm8UIZ1vo87cmGK7kgp9rWJ ysApyRI5amCx2WbNGsiua7zVDGQJpzgajrAR7lo9f29WH5gUlBUqqdNhCGvymTJXBmLL slkrpUs/ON4GYzdJLUmGt1CZOIuxsgYRL2Ha52DY7LfmA9Zw8bhzC2xE9tIjTOpib2tO oioyGnrm3fk3s78TUM/RQa4GZ+mEAWX35JL0d2dk1vaow9qbUCxJZZX9d0pTQCKI+d6h LYqYn5UR1VPIBBG9oZUtwvNCyXbOMZG7kDma5bA+kH2WCJUZ/fSyTwl/Fa90F1wCWCJ/ zBiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=N5klI+JIkGc4sLSCiMfUckrbpt4NjpVUF60aNLcrgAw=; b=dN60u2Z5ydpYz12WaJiptEsNj6Thr7G/COtQU/vd1W69EmEFs5qv2MXHHnhVHOEFOi VNp14uA+r83SEfo8qkIlnmN2kyttfE6U0C2Np3+9B4pjbIyE6FL/ptvjw2XUPyIMYnQD VRtLCqz5L9uOnrFNgjtVM2PZIFwwIPkLJOD1VEh/CX+Gm2YOojz/91yUBVWkyEEO9HB2 CDkQYArrB0HbDirox6oFKnwZP+Q8X02INaUlBTrSA8kr9Du3nm47+/WahMPUFFlE56sL 12EYc91YzYh9F2/ZKeQr9iV9+Xi16JgoxhnP8uefLjOgkNU3vMkurks4+v/bHNBhN5ZC a44A== X-Gm-Message-State: AKS2vOwJp4oRCwuUZMaKRQa8MuZC341QaSXbotYdTRbo7jBH2RPhU7AX RUJcduMOmlrzf2e3hbbLLY4J8SJv4xNY X-Received: by 10.80.184.129 with SMTP id l1mr13300908ede.88.1497783744760; Sun, 18 Jun 2017 04:02:24 -0700 (PDT) MIME-Version: 1.0 References: <38ced3c5-f12d-41c0-5c6b-201bce28e9b5@gmx.net> In-Reply-To: <38ced3c5-f12d-41c0-5c6b-201bce28e9b5@gmx.net> From: Pepijn Noltes Date: Sun, 18 Jun 2017 11:02:14 +0000 Message-ID: Subject: Re: Is there a Yocto-Recipe for Celix 2.0.0 available? To: dev@celix.apache.org Content-Type: multipart/alternative; boundary="f403045c91fe0e97ca055239f4e4" archived-at: Sun, 18 Jun 2017 11:02:36 -0000 --f403045c91fe0e97ca055239f4e4 Content-Type: text/plain; charset="UTF-8" Hi, On Fri, Jun 16, 2017 at 7:08 PM eddi1983@gmx.net wrote: > On 16.06.2017 15:30, eddi1983@gmx.net wrote: > > Hallo, > > > > is there a yocto recipe for celix 2.0.0 available? I don't found it at > > http://layers.openembedded.org. > > > After that I tried to build the recipe on my own, but I get build errors > > because of the -Werror-Flag that is set by the buildsystem and I am not > > able to change the CFLAGS for this recipe only. I am a novice in yocto. > Aah cool. Yeah there is currently no Yocto recipe for Celix, but if you are able to create a working one, we are happy to receive a patch ;) > > > > Thanks. > > I disabled all Werrors in the CMakeLists,txt. But now I get a new error > in dfi/private/src/json_serializer.c:266 > > json_array_foreach(array, index, val) {..} > > error: expected ';' before '{' token > > What is that? A nested function in C? And how I could compile it? > > json_array_foreach is a marco from the jansson library. It was introduced in jansson version 2.5 (2.8 is the current). I think there error is a result of the marco not being available. Do you known which version version of jansson you are using? > > Row 254: > static int jsonSerializer_parseSequence(dyn_type *seq, json_t *array, > void *seqLoc) { > assert(dynType_type(seq) == DYN_TYPE_SEQUENCE); > int status = OK; > > size_t size = json_array_size(array); > //LOG_DEBUG("Allocating sequence with capacity %zu", size); > status = dynType_sequence_alloc(seq, seqLoc, (int) size); > > if (status == OK) { > dyn_type *itemType = dynType_sequence_itemType(seq); > size_t index; > json_t *val; > json_array_foreach(array, index, val) { > void *valLoc = NULL; > status = > dynType_sequence_increaseLengthAndReturnLastLoc(seq, seqLoc, &valLoc); > //LOG_DEBUG("Got sequence loc %p for index %zu", valLoc, > index); > > if (status == OK) { > status = jsonSerializer_parseAny(itemType, valLoc, val); > if (status != OK) { > break; > } > } > } > } > > return status; > } > Row 281: > --f403045c91fe0e97ca055239f4e4--