From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by dpdk.org (Postfix) with ESMTP id ED4AF2BD0 for ; Thu, 10 Nov 2016 06:07:55 +0100 (CET) Received: by mail-lf0-f54.google.com with SMTP id b14so180337846lfg.2 for ; Wed, 09 Nov 2016 21:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ukFHTebrsNTlD4BGgyKWnJut1jVcVYm0RqbqlSE0Ml8=; b=TBZUSp52PdUEJ4PorCC/1xWL0trk4K531kPqBKPb7OmTImfYtTfoTv2ZyC+RkCsCT/ oVzeQT+XQwDKwnVpXuBsNTUuZJHmaqncinvW6WRIkEsYhzigV2FK0sgNSfjQd2ax0WuT t0GoDcQcI2SesF8rOrEQuUqAIo6n9QZjIVNDFr3NOo5xWpEjvHEC4a/LRbuF91CoLCM+ 8lenklgwGVU2SQWIq7D6lnKXZMFWKhVPaErHVifZzlW3D9GX70U9voyZjhthmkfUYMfF 8BiZPYNp0xyhx887vlCFMeD0TA23kb5bERd8A1j365d1f5fYiNdvDRcQGGwGUZG1RLjL VtLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ukFHTebrsNTlD4BGgyKWnJut1jVcVYm0RqbqlSE0Ml8=; b=NvlAMd4O3qAYHicDIq5x6OuCA2jCIzq/m2esvPeDgrmaezSXw/2PlUrdGiq4uvDjb4 w+lfd5x1zke2U6rek8wryEW5HYKeJcblECj3qe4RsnGUqoNw+1K8uHq32+JbtVB6eiwT mckxW/QVEEOR04uloTNBG3hLA0k34pInBW0ejA2J3cy+PWg1AUps2r6r8copWFtXBpxy eTqrhWjzB5S46Vf1fFRfj5VMM5o5cIhOmJpaAqCg5meDeHUbD/gdR1evbzkGEnWybM9e 2ZJ07sqXh0w4mFBz9CmsEP7kT2B3E3rVTtSCsq0yn4L/mw57Sqw+3Gu0v7cnFkMeLvQx uQpA== X-Gm-Message-State: ABUngvcC1Dx9H2Blh0S3XgJBr0ysQdYGTswIRb9ty4D5G62NrLKIBZNUxYx9Lk1StHw4HTipFSCpE1JK9OsHjQ== X-Received: by 10.25.18.90 with SMTP id h87mr1573263lfi.91.1478754475298; Wed, 09 Nov 2016 21:07:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.62.17 with HTTP; Wed, 9 Nov 2016 21:07:54 -0800 (PST) In-Reply-To: References: From: Nagaprabhanjan Bellaru Date: Thu, 10 Nov 2016 10:37:54 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Compiling DPDK 16.07 with shared option is failing.. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 05:07:56 -0000 I found that librte_timer was not enabled and so the compilation failed. When I enabled the same, it went ahead and failed at a different place while compiling librte_pmd: -- gcc -pie -fPIC -L/home/ubuntu/development/libfwdd/src/platform/vpp/vpp/build-root/install-vpp_debug-native/dpdk/lib -Wl,-g -shared rte_eth_bond_api.o rte_eth_bond_pmd.o rte_eth_bond_args.o rte_eth_bond_8023ad.o rte_eth_bond_alb.o -z defs -lrte_mbuf -lethdev -lrte_eal -lrte_kvargs -lrte_cmdline -lrte_mempool -lrte_ring -Wl,-soname,librte_pmd_bond.so.1.1 -o librte_pmd_bond.so.1.1 /usr/bin/ld: librte_pmd_bond.so.1.1: version node not found for symbol rte_eth_bond_8023ad_conf_get@DPDK_2.0 /usr/bin/ld: failed to set dynamic section sizes: Bad value collect2: error: ld returned 1 exit status -- I see that the symbol is present in drivers/net/bonding, but I am not sure how to fix this error. Can someone please help me? Thanks, -nagp On Wed, Nov 9, 2016 at 6:04 PM, Nagaprabhanjan Bellaru wrote: > Hi, > > I am compiling DPDK with "CONFIG_RTE_BUILD_SHARED_LIB=y". However, when I > compile, it is failing at: > > -- > gcc -pie -fPIC -L/home/ubuntu/development/libfwdd/src/platform/vpp/vpp/ > build-root/install-vpp_debug-native/dpdk/lib -Wl,-g -shared rte_sched.o > rte_red.o rte_approx.o rte_reciprocal.o -z defs -lm -lrt -lrte_eal > -lrte_mempool -lrte_mbuf -lrte_timer -Wl,-soname,librte_sched.so.1.1 -o > librte_sched.so.1.1 > /usr/bin/ld: cannot find -lrte_timer > -- > > I can see that librte_timer is not compiled yet, however librte_sched > depends on it - is there any workaround for this issue? Can I change the > order somewhere? > > Thanks, > -nagp >