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 EB218200D13 for ; Sat, 30 Sep 2017 14:46:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E99B51609D5; Sat, 30 Sep 2017 12:46:45 +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 3B7571609C8 for ; Sat, 30 Sep 2017 14:46:45 +0200 (CEST) Received: (qmail 201 invoked by uid 500); 30 Sep 2017 12:46:43 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 187 invoked by uid 99); 30 Sep 2017 12:46:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Sep 2017 12:46:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 214E2CC2C9 for ; Sat, 30 Sep 2017 12:46:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 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_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, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id l0Y2BGJKuulL for ; Sat, 30 Sep 2017 12:46:42 +0000 (UTC) Received: from mail-yw0-f177.google.com (mail-yw0-f177.google.com [209.85.161.177]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CC2095FB4E for ; Sat, 30 Sep 2017 12:46:41 +0000 (UTC) Received: by mail-yw0-f177.google.com with SMTP id s62so1306973ywg.0 for ; Sat, 30 Sep 2017 05:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=HybQkcmUaGl6ev1gJF3nMeSYDjaZdKFpEjxxyc/pXSU=; b=B1I4wQ3xWvWxzbXMB8n3NJiq3FxUrVzMZptA0Pryy56OegDfzxolE+D9ORoecHWLaC y7J9gnV3WIuSTvNY1GcCBy2HLxf0xx5ZbF5euOI4IcPtM7wIF4snP3Y7CyLLRqYf3cEP 6H584RvVV87JLiWlmdiWPp7+UVdU6p5a+8eiNwY94CHY/6N7sF/nM9BIhanXqzZ+tf77 2sgj8fyxCDhvK2dLKJepV6EgR7SmoZHGCSkru5RwTICiZxSok4WfIL1vXjd4A3uOR3sw ftI5hRK/MFcrlcA1OjfSOhOTfZ/jShlc5I0nuaOT0RGMFpYcncLc3MkNs1Q+e5ib3Ifq NUVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=HybQkcmUaGl6ev1gJF3nMeSYDjaZdKFpEjxxyc/pXSU=; b=lp1ogy4DfRzfdnjV3OX0IRV5/m+/agH6WNFdRq1SZbfNU4cgNBFk9Qlfn6SuYkLcIM WQiSn/suKsSXLMIhSbMzsYgfe4dAe9DLF3U1dKxzQwayM8YHjZMhzu/tcPpP3Nx0aZWq Htv3U82ufY9f8VNXbELSzJmwt1UsN62jUqGB5xmKePVwKt4cPH4AFfAxWq1RnBC3bQb3 EwbZZh1v1LkPAG0csaK3bzo8OBG+D9J8WTSZp71sWhlBE4jKwYfZxBYH1rebbvjNA2zK yra6J+PSDtow+pALc1ceWwd7qytCFMD8LXGrgLvt9qPGqs2IQzO/7Fmc+2n97wKd+7zR qHEw== X-Gm-Message-State: AHPjjUhV36YpyPMAu62Vdak3CDgr71xiYMkl3hSzvTTOAc5sep+VpVkQ jv9fuEVaarTLXuVrBzB15mwNY8O9fO21kBnWJwfwiA== X-Google-Smtp-Source: AOwi7QBVh61xuwpAPIeO93N9Vr/PUZJgXeFF2aTQgZdvuxmZlmlZo7cucYuXAiI3anIxURB97FaZdJp6xzonlSyp0U0= X-Received: by 10.129.57.135 with SMTP id g129mr8643142ywa.374.1506775600425; Sat, 30 Sep 2017 05:46:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.163.195 with HTTP; Sat, 30 Sep 2017 05:46:39 -0700 (PDT) In-Reply-To: References: <7e9f4ab7-eabf-fd6b-cecd-1ed0f44298d3@wp.pl> <51632ffc-a514-082c-a41d-aee71ac16904@wp.pl> <1ec5ca8b-0796-1594-6fb3-fdd6c808c252@wp.pl> <7e6254da-1c56-db97-9d16-e03c58bd44ae@wp.pl> <759bcb2e-5ba7-a84d-4b45-f49de5eebb5f@wp.pl> From: Ted Yu Date: Sat, 30 Sep 2017 05:46:39 -0700 Message-ID: Subject: Re: Is possible make shared object from HBase sources? To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary="001a114c78fe6b71e0055a67882c" archived-at: Sat, 30 Sep 2017 12:46:46 -0000 --001a114c78fe6b71e0055a67882c Content-Type: text/plain; charset="UTF-8" From https://buckbuild.com/rule/cxx_library.html , it seems to support shared PIC-enabled build on Android. bq. it is main, it is not shared library? I added main() because you started with cxx_binary in BUCK which requires main(). I did a quick search but haven't found build target in BUCK which generates shared PIC-enabled output. Consider using make / CMake. On Sat, Sep 30, 2017 at 12:17 AM, Andrzej wrote: > W dniu 30.09.2017 o 06:46, Ted Yu pisze: > >> https://pastebin.com/PPGkuxGS >> > > > int main(int argc, char *argv[]) { > > I see, it is main, it is not shared library? > > >> In BUCK, there is no need for compiler_flags and linker_flags >> > > Compiler flags and linker flags to compilation .so file instead executable > binary. > Code pastebin.com/PPGkuxGS creates executable or shared library? > --001a114c78fe6b71e0055a67882c--