From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5381746223 for ; Fri, 14 Feb 2025 10:33:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 223BD4064F; Fri, 14 Feb 2025 10:33:53 +0100 (CET) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) by mails.dpdk.org (Postfix) with ESMTP id 8291A4064A for ; Fri, 14 Feb 2025 10:33:51 +0100 (CET) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-6ef7c9e9592so15356257b3.1 for ; Fri, 14 Feb 2025 01:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739525631; x=1740130431; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zJiuigTkXzh4W/KvY1oaf6M/9YvdTwuJJT4iXPW/Eo8=; b=g+mgxxItO9Os10WIaiNdVGR8CcELCuSFrvl5DsCa8Vtv4mKx6F/EpJp4Nuby0CDp2n TgdSDV1dD4rP9a8dInvcWqqr9FO2d8GS9AKOubqr4P6OuQVn2vQ49xQGp8MoiLuDx8F5 qplzQGlyhMYKCc9pj51cIu5HNUlPsQ546V9QNvTx2jb7UNCDuocGKWtvVO4yQCxkhltg AMz9mzxmLloOmzOm0qgeV1mfbEIWAn8WMyNRFi3QP4wSARAVoDvVgkD7V8bQUCg7BuKg hIvSgWdgH6MDqoNb7AS8x2j0vyUSLxX+FYZxFREA+rn2yb3BFqUwnOGSH/7JIMc0N1pp 1B+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739525631; x=1740130431; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zJiuigTkXzh4W/KvY1oaf6M/9YvdTwuJJT4iXPW/Eo8=; b=dPL07h9rixJJuA+wyph0Wxjl8/4T9KhF3eUqLtaooaVpVGOnYT+l3cSSk2xj6PADEt EvjznTmfH5GvnbUw6tJRBNOiYup8RJTRtfwktK72fXjPJVBBuV1n20xdpTlFWwUKgE2B avV3Vjzynh8XbkFE6yDoTwjrN/1ONwFH8b9TUibt4djcu7gSV8Zy6274nC2W8b4R7pG8 q2An3lsndtNN6AyBvSad/2FRkUzeIDwhXVMLSUvGRCG2necXPd8LLV+RmSiyf22KqtwA 15zxuNZPpGOytHpOdDdZBEp064bifqY86b5XRfcqWvZEfpp9+E0AxpTRcn4u0UmIpQK6 ywAA== X-Forwarded-Encrypted: i=1; AJvYcCVNe1k+Uiqh2bs+w1bnFM+yajlPMVFKeLEVNEC6DGRwEAxyG0tYtiwd0TmvjtkZ9dc+yk+nLQ==@dpdk.org X-Gm-Message-State: AOJu0Yy0ggX52asCGhayIYKXq0MIv4W4vRViW02yVW0bNBmJt7lJMqnH rfRWWsN9QD33FR4tmPYwDCaeJehV0rTodTpNysOAQEFv0XRD3TG89i35SXYaQxsrzGzfQFYiCwt Qvqur1RxT7uo5RgxZicwQ9+GYQ0A= X-Gm-Gg: ASbGncsQgmIQEPyhlYJtCa6FvbcXDPqacWWwGkYlRXcnEQhe1fISCYJmQ6JtenzoUkW tUv1YTJD/xv1YNEuiHzr8/j7k6QTYxS1pCsY7zB2UbgkgOeGMfil/3zYz8JstOobN6OnAWvzx X-Google-Smtp-Source: AGHT+IEH5DOtwKwRPoIbUF2r5cXhVXta5qUteAJbq3wNuk8OwfD+FLEiRGTdUWeZnaG5YVPtsXYIp03mFF9N0uK/+nU= X-Received: by 2002:a05:6902:218c:b0:e5b:458a:dec2 with SMTP id 3f1490d57ef6-e5da8155a62mr6700841276.21.1739525630836; Fri, 14 Feb 2025 01:33:50 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Aldrich Date: Fri, 14 Feb 2025 09:33:40 +0000 X-Gm-Features: AWEUYZkgfZd_PioT_cZhHR2AsWKMlzkAU0uSQ0OYjd1IWrBgIawcBS0HqhjXgBg Message-ID: Subject: Re: Build of DPDK 20.11.10 is missing some libraries To: Bruce Richardson Cc: David Marchand , users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Bruce and David Thank you for your helpful answers. Best regards David On Fri, Feb 14, 2025 at 9:07=E2=80=AFAM Bruce Richardson wrote: > > On Fri, Feb 14, 2025 at 09:30:38AM +0100, David Marchand wrote: > > Hello, > > > > On Thu, Feb 13, 2025 at 6:47=E2=80=AFPM David Aldrich > > wrote: > > > > > > I would be grateful for some help please. I am building a 3rd party > > > application that I believe was linked against DPDK 20.11.10. > > > > > > I built this DPDK version using: > > > > > > $ meson setup -Dexamples=3Dl2fwd,helloworld build --reconfigure > > > > > > When I build the 3rd party application I get link errors: > > > > > > /usr/bin/ld: cannot find -lrte_pmd_bond: No such file or directory > > > /usr/bin/ld: cannot find -lrte_pmd_vmxnet3_uio: No such file or direc= tory > > > /usr/bin/ld: cannot find -lrte_pmd_i40e: No such file or directory > > > /usr/bin/ld: cannot find -lrte_pmd_ixgbe: No such file or directory > > > /usr/bin/ld: cannot find -lrte_pmd_e1000: No such file or directory > > > /usr/bin/ld: cannot find -lrte_pmd_ring: No such file or directory > > > > > > I can see librte_pmd_e1000.a in my build for DPDK 19.11 but not in 20= .11. > > > > > > Are these libraries supported by 20.11? If so, how should I build th= em? > > > > Drivers binaries have been renamed during 20.11. > > See a20b2c01a7a1 ("build: standardize component names and defines"). > > > > In your dpdk 20.11 build, look for rte_net_e1000.a. > > > > (Note that I suspect that this 3rd party application will have more > > issues than just linking. I suggest you look at the API/ABI changes > > sections in the v20.11 release notes) > > > > As a general comment, when linking DPDK it is strongly recommend that you > using pkg-config (or pkgconf) to get the linker libraries and arguments. > It's not infrequent that new libraries would be added, removed or renamed > in DPDK, so by using pkgconfig you should always get the correct lib and > driver list for the DPDK release you are linking against. > > Regards, > /Bruce