From users-return-8397-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Wed Apr 4 16:52:13 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 38F9918064F for ; Wed, 4 Apr 2018 16:52:13 +0200 (CEST) Received: (qmail 45203 invoked by uid 500); 4 Apr 2018 14:52:11 -0000 Mailing-List: contact users-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@nifi.apache.org Delivered-To: mailing list users@nifi.apache.org Received: (qmail 45193 invoked by uid 99); 4 Apr 2018 14:52:11 -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; Wed, 04 Apr 2018 14:52:11 +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 845701804E6 for ; Wed, 4 Apr 2018 14:52:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=onyxpoint.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 1h4L2L1GoloL for ; Wed, 4 Apr 2018 14:52:07 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 76A595F1B9 for ; Wed, 4 Apr 2018 14:52:07 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id 71-v6so19468044oie.12 for ; Wed, 04 Apr 2018 07:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onyxpoint.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=uZ9zKiD+hV1lQ4YAbSdGmx3mhQUawZo5T+74+dEAdOg=; b=QmRxXmWk1+He/MAjRJJ33m6eVdqmG8ilpVgavrtNDrQC2LhNhZ23+OboALjiDm0SsB 0aRQZUrFPMJwor0f0AzAYZm8rYVeKRcSThtlb+4nW16ifc/vBOh39a33MD2LDjIyQj87 bLnhCa6wWYzQn9Y2UN8NUkRtUDqPVYMKCNbtb0fvggX7+seOxWNVIbajcVF6ON9YRNo4 BQ1G+IL8uxPeoMBnUIsuRuGzfJIwZC1NoYo50ZFzUdVU1LVGQCe3VzYVJA+miYc7mggW bNDYlCKLBkdTCrlLlox1oTaU7ZpU41NxL7KkHRBS9Iua2TdcgWbODpGCyNk8RG2gV03q Ms0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uZ9zKiD+hV1lQ4YAbSdGmx3mhQUawZo5T+74+dEAdOg=; b=Jp0eQXlkPRyGdqnn8nNpeJfOD/oRQfjd7LsxBVykMakAkEd40x3GA53a03j9nFU3zz hBn7Vw/66HL60hMl5dsfvhdsMqxo5pzIVOp64RpIwL+TIYqx8qw5Y15y/9oGe/I/sYZp Ro7Nfoeffg9sjxZPTXJsRuK1zMEj/ikfxBCEmhIvySZCLGY+1gs2XmqhWjr+nM7/hgVU +iLPAoyHr2dzVVM3um2K6mJU7Xq+4i+Ur2X2xRjdSrrCjloTd5Xd/CaFuXwd6YSJS0mL Zl1uGB/7lMPoSI4MqC9o7uPZNRVZjupXEBz+ARh1fNRUDDw7g4YhXEkXztmmzFHc+6uY fxxg== X-Gm-Message-State: ALQs6tCQw+bGagHOk6NUeEROEEzZkyim55dUUcQWx7RcwXXmqyfO0oWV y+cDHyYtz/ebfxtDxaUyXtDgc4NWQa6zYLW3kr+jWCZD X-Google-Smtp-Source: AIpwx493MuY5FPtDon9um66yUOlwMK6cDL2r1vwuCwgUusHrX2r7ad+9iwiCjw1mjQPUKTA4f5rLJpvM59g10zuXpOo= X-Received: by 2002:aca:384:: with SMTP id 126-v6mr7015810oid.8.1522853520778; Wed, 04 Apr 2018 07:52:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:5823:0:0:0:0:0 with HTTP; Wed, 4 Apr 2018 07:51:40 -0700 (PDT) From: Michael Riddle Date: Wed, 4 Apr 2018 10:51:40 -0400 Message-ID: Subject: minifi on android To: users@nifi.apache.org Content-Type: multipart/alternative; boundary="00000000000026e6bf056906f7ca" --00000000000026e6bf056906f7ca Content-Type: text/plain; charset="UTF-8" Hi Folks, Based on this page: https://community.hortonworks.com/questions/ 34320/has-anyone-gotten-apache-nifi-running-on-an-androi.html. It should be possible to cross-compile minifi using the android NDK. A couple of questions here: Has anyone successfully done this that you are aware of? If so, are the additional necessary steps detailed somewhere? On my CentOS 7 box, I've gotten as far as getting the bootstrap running with an android-27 standalone-toolchain using the default gnustl, but running make immediately fails complaining that it can't find FlexLexer.h. When I edit the following lines in CMakeCache.txt to look in /usr/include for header files: CMAKE_CXX_FLAGS:STRING=-isystem /usr/include CMAKE_C_FLAGS:STRING=-isystem /usr/include It blows up with: /opt/my-android-toolchain/include/c++/4.9.x/aarch64- linux-android/bits/ctype_base.h:36:2: error: #error Bionic header ctype.h does not define either _U nor _CTYPE_U #error Bionic header ctype.h does not define either _U nor _CTYPE_U Will I need to recompile flex, bison, etc. all as android to be able to use them, or should they "just work"? Thanks, -Mike Riddle --00000000000026e6bf056906f7ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Folks,

Based on this page:=C2= =A0https://community.hortonworks.com/questions/3= 4320/has-anyone-gotten-apache-nifi-running-on-an-androi.html.= It should be possible to cross-compile minifi using the android NDK.=C2=A0=

A couple of questions here:
Has anyone successfully do= ne this that you are aware of? If so, are the additional necessary steps de= tailed somewhere?


On my CentOS 7 box, I've got= ten as far as getting the bootstrap running with an android-27 standalone-t= oolchain using the default gnustl, but running make immediately fails compl= aining that it can't find FlexLexer.h. When I edit the following lines = in CMakeCache.txt to look in /usr/include for header files:
CMAKE_CXX_FL= AGS:STRING=3D-isystem /usr/include
CMAKE_C_FLAGS:STRING=3D-is= ystem /usr/include

It blows up with:=C2=A0
/opt/my-= android-toolchain/include/c++/4.9.x/aarch64-linux-android/bits/ct= ype_base.h:36:2: error: #error Bionic header ctype.h does not define e= ither _U nor _CTYPE_U
=C2=A0#error Bionic header ctype.h does not defi= ne either _U nor _CTYPE_U

Will I need to recompile flex, bis= on, etc. all as android to be able to use them, or should they "just w= ork"?

Thanks,
-Mike Riddle
--00000000000026e6bf056906f7ca--