From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 7AE093F9 for ; Wed, 17 Dec 2014 00:45:59 +0100 (CET) Received: by mail-wg0-f43.google.com with SMTP id l18so18927661wgh.2 for ; Tue, 16 Dec 2014 15:45:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=2mM1x6BnXWu0S+9BSyBh1sTa/yWNacSSNyj06xVnQ0I=; b=MacCwJ8SstBdgZQ953gzKlnRafbomhHm8t2+wUV4jV5OFgUpEPTKIXRFBUo0bqFc0n KReTrhiw6GeyFrdC4zSwb/nCTlQvaqNcN14Thb+vAZD3c1rfoeismdRsoOqEDjp68UE+ e+jLbMxQKMZjSok/4bSGI01WootRlJoIoVLlfyGs9qRVe2ZeHBYUqrdbY0zn1v8nOzpb D5ihU+rcH3BRrD2zWvt0hj93bjbGqwtg29GNK9XKlA4do5kCBtTdZ/PxeQzZzhiRr6lH hEky6tKXt8dM6ZMssM/aT7+Vtt4n/S1q0TvXlKtGkjjBp9654H8hfkPGdSs/hDAxSOM+ r9aA== X-Gm-Message-State: ALoCoQkWKUSwb1vOV04aoXDPN0HNvUJNunlcoruhaXzWS3oS5IrGQ71f9it2ahzDt2x0SbpWYWjm X-Received: by 10.194.85.161 with SMTP id i1mr66120362wjz.35.1418773559329; Tue, 16 Dec 2014 15:45:59 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id bj3sm18753279wib.3.2014.12.16.15.45.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 15:45:58 -0800 (PST) From: Thomas Monjalon To: Hiroshi Shimamoto Date: Wed, 17 Dec 2014 00:45:32 +0100 Message-ID: <4299912.gJckj7WjkF@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD05DD6DFE@BPXM14GP.gisp.nec.co.jp> References: <7F861DC0615E0C47A872E6F3C5FCDDBD05DD6DFE@BPXM14GP.gisp.nec.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Hayato Momma Subject: Re: [dpdk-dev] [PATCH] mk: fix link to combined library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2014 23:45:59 -0000 2014-12-11 02:54, Hiroshi Shimamoto: > From: Hiroshi Shimamoto > > The application should be linked to the single combined library in the > condition that both of CONFIG_RTE_BUILD_COMBINE_LIB and > CONFIG_RTE_BUILD_SHARED_LIB are enabled. > > The current makefile generates an application that links to each library. > This patch fixes to link the single library. > > Before > $ ldd x86_64-ivshmem-linuxapp-gcc/app/test > linux-vdso.so.1 => (0x00007fff232a1000) > librte_distributor.so => not found > librte_kni.so => not found > librte_ivshmem.so => not found > librte_pipeline.so => not found > librte_table.so => not found > librte_port.so => not found > librte_timer.so => not found > librte_hash.so => not found > librte_lpm.so => not found > librte_power.so => not found > librte_acl.so => not found > librte_meter.so => not found > librte_sched.so => not found > libm.so.6 => /lib64/libm.so.6 (0x00007fc638020000) > librt.so.1 => /lib64/librt.so.1 (0x00007fc637e18000) > librte_kvargs.so => not found > librte_mbuf.so => not found > librte_ip_frag.so => not found > libethdev.so => not found > librte_malloc.so => not found > librte_mempool.so => not found > librte_ring.so => not found > librte_eal.so => not found > librte_cmdline.so => not found > librte_cfgfile.so => not found > librte_pmd_bond.so => not found > libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc637bfe000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007fc6379fa000) > libintel_dpdk.so => not found > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc6377dd000) > libc.so.6 => /lib64/libc.so.6 (0x00007fc63741c000) > /lib64/ld-linux-x86-64.so.2 (0x00007fc638330000) > > After > $ ldd x86_64-ivshmem-linuxapp-gcc/app/test > linux-vdso.so.1 => (0x00007fffb79fe000) > librt.so.1 => /lib64/librt.so.1 (0x00007f0d8a971000) > libm.so.6 => /lib64/libm.so.6 (0x00007f0d8a66f000) > libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0d8a458000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007f0d8a254000) > libintel_dpdk.so => not found > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0d8a037000) > libc.so.6 => /lib64/libc.so.6 (0x00007f0d89c76000) > /lib64/ld-linux-x86-64.so.2 (0x00007f0d8ab82000) > > Signed-off-by: Hiroshi Shimamoto > Reviewed-by: Hayato Momma It is what I suggested to Sergio: http://dpdk.org/ml/archives/dev/2014-December/009116.html Acked-by: Thomas Monjalon Applied Thanks -- Thomas