From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 326312965 for ; Fri, 11 Mar 2016 15:33:04 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id l68so20541044wml.0 for ; Fri, 11 Mar 2016 06:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=yOgkUMVNyyXlrsGvofvQ1HnounVxLXTdFCoPhT2flYY=; b=ZcgRmSg0Gkm3NaTVPkedx84VmUqfA3JxcJ4RwFHVLGi7o9iocBT5S6RbL+J9OJxa/s h8DQCLbnYMBc+/LijCTlVL3nuG8qUxMKCnj/2tKAM95Kf7wyhS07uDZdu/PApJezL0nR OrPOXIbdrfcSsG6d5snVBgMIOuk4yqYrmOoDAB7zMtRMXne5msP/se79GaasgYMv3Zaz +OgfZfzgPr1m49w+B0NpgjIpRhmEzFY0DVQF8xB3ddgEXPA1GH4t1QdQncjJQj1rC0VF ASCV9PBDqE/EgyvPA8It+slgQe5gQimlsh6nYMXi21iWB93JBhnM6SpDYPz+y+wgWFUX GKfQ== 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; bh=yOgkUMVNyyXlrsGvofvQ1HnounVxLXTdFCoPhT2flYY=; b=Q4YHoPflYFMjGU2IbWtyAdgAbPkjjbRK8OL4TK5DgnXxJPCwwFtexkwayYH9Z6tqzt OSll3gDWIfvJKDVj9UHYemFt8AzyUJcPImSzYblUZQP3VMdbiDd5HLb+/F6BxHCvkjZ2 XDM/COJTXHezVwRXnBlwJfY6OFpdeq23i0Z8M2GJjuN3EjZgVfRcLnYfSbfPmffQtM1F VJpTeys+gRit00eRN+8R4OuFK4lH9Sp2/IXwvhSRHTfyKi5FW1VZgHYjL/WEieuNTm4b 38J+MOrN7Tb95pXm8cBm/Q0WmJ5cN+UF/+54cULliNU9MoJwARDXgX31zdCnAUGmhkGk WM9g== X-Gm-Message-State: AD7BkJLsqYPauQOoZKbq/dw/NJCLASKw2zFpsQnL9IE0Mu9wFXCR/gGombd7Ppo5zQOnZXEZ X-Received: by 10.28.188.5 with SMTP id m5mr3172873wmf.35.1457706784013; Fri, 11 Mar 2016 06:33:04 -0800 (PST) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id x203sm2557853wmg.23.2016.03.11.06.33.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2016 06:33:02 -0800 (PST) From: Thomas Monjalon To: Olivier Matz Date: Fri, 11 Mar 2016 15:31:19 +0100 Message-ID: <2671046.UVfuQjPPBQ@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1457702980-26816-1-git-send-email-olivier.matz@6wind.com> References: <1457702980-26816-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: fix static build without crypto 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: Fri, 11 Mar 2016 14:33:04 -0000 2016-03-11 14:29, Olivier Matz: > If the experimental CONFIG_RTE_LIBRTE_CRYPTODEV is disabled, build of > any crypto pmds will fail because of the missing dependency. The commit > 94288d645 fixes the issue when compiled with shared libraries but there > is still an issue at link time with static libs: > > LD test > /usr/bin/ld: cannot find -lrte_pmd_null_crypto > collect2: error: ld returned 1 exit status > > Only add the -l linker flags related to crypto PMDs if CRYPTODEV is > enabled. > > Fixes: 94288d645 ("mk: fix build without crypto") > > Signed-off-by: Olivier Matz Applied, thanks