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 AF0AFA0503; Thu, 28 Apr 2022 08:32:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5199B410DC; Thu, 28 Apr 2022 08:32:17 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2060.outbound.protection.outlook.com [40.107.22.60]) by mails.dpdk.org (Postfix) with ESMTP id 264CF40E78 for ; Thu, 28 Apr 2022 08:32:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jbyxj0EQK89YKUCacz0eVWXZDa5D301R8onhAkPZutQTlZFioS+p1iBtzeTkJ4aqpFbIYyaVk++unT1L8eQVkW1sWWLwbrnj4YMSXnNwBVOf1hGeDnVwNFiqR8/D5vuS1zupJitK2s/7G79MxX6fSOzAG37FBvkUw9UI/Basg7+hogx5s2Mrv4dWywjrA674apgQvvcCgmofXen54VUZOZl3eLquszNFoEv89vP9vAboo+lEAvaxoF6+NgnURkMns+tmk4XCPaxJzi/8kiTlSf4IbHjUhOPvqvlsqBYmkbilJH6JiAGaSxESyRW0Yg+NHDfCo/MfTe9mkVBMthoYnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1drCfHQdCpGd59feikuzfnJqpdZpANbEE7DOdhwN3ag=; b=FqjlJ1AbWPjn9bVdj/aq9pfeDUiCcNqCT0YYoypBcxJxbR8jymbyocmGz6cifgMFZM3CpRN40zx0nmm4tHvR2J2/3Ba15M3Qaba37GEU/hcEkWe1tDTxTlEuCIbWAsHRX+O5g64HbtU3FK8JbAZdPQfZK6PEevif5Vtte/mpKFF2g0lnfo/6N3eR0gORR1LU1o9DXjIBkomqbdMwuNqodNgoqiFqHsL8ewgiGW61F2yAz22fvua+IdhV6aEoWvPmyaYOWckEMjhfE/JWZOvRo4WSgZBAN9CN5N8r5cOwuYjAllWZTYdh/yIgwD/7JBuHniuVKkhETbkcosnhDVn0Mg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=voereir.com; dmarc=pass action=none header.from=voereir.com; dkim=pass header.d=voereir.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=voereir.onmicrosoft.com; s=selector2-voereir-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1drCfHQdCpGd59feikuzfnJqpdZpANbEE7DOdhwN3ag=; b=KRSbVpdxugOmOu0JmoYsuWg9EmtDcBOphO6iwDMvcXScbPnbQC9dlzQaHQ2kDd+xBUpw/pJr9upRm84WPaUpBdXsOKa/F76udZpg4ZCN6oMIBZFhRCXTDPhFgtHv7cjpKofvX546SmFAQeRh26LIqrOgoZ3g1IIXj4BnsRj3p5I= Received: from AS8PR02MB6837.eurprd02.prod.outlook.com (2603:10a6:20b:257::19) by AM0PR0202MB3282.eurprd02.prod.outlook.com (2603:10a6:208:5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13; Thu, 28 Apr 2022 06:32:14 +0000 Received: from AS8PR02MB6837.eurprd02.prod.outlook.com ([fe80::a0e9:8d95:7477:e7fc]) by AS8PR02MB6837.eurprd02.prod.outlook.com ([fe80::a0e9:8d95:7477:e7fc%9]) with mapi id 15.20.5206.014; Thu, 28 Apr 2022 06:32:14 +0000 From: "Avijit Pandey" To: "dev@dpdk.org" Subject: Undefined reference to symbol while compiling DPPD-PROX Thread-Topic: Undefined reference to symbol while compiling DPPD-PROX Thread-Index: AQHYWsl88VancX7YuUqY7/rcdBUmfA== Date: Thu, 28 Apr 2022 06:32:14 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=voereir.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5895fe9b-bab0-4604-89a9-08da28e0d57a x-ms-traffictypediagnostic: AM0PR0202MB3282:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FXmlLOSTuKCKT1cznNtYdj9de3dlCVpAf8ZMjmZa3m+/L2KfFsMdk3rEdMcokXPCcJ1an7SnqE0Vh/TMOlWiia7howMm/u5XQB8pq3CMg5WnpzfwvG2l0Ev+vHlms/P2/1Vja4ts0EBB5F1gJwvi+moFSmpCzSMUr9GTGiQeMSJvLJeP+Lq0hmtrjPvCHRn90hf/hLeTOWQU+ytP2x0OOlC3pcIyV3IgcPUjceLKaliR+X924+sp7/IWSCrMvo2lFnTtv+zhq0yt4csM1CXxPqzp+3qCT1BXqXENbcuhi6/YJsHCg28UoMc+3pWPuBKTINTgB8RgY5PvKV3tUg8C+lPRjBxRmJmUF0ZMGBp63GkhwvaMBctv/vEeMusMfmpskOSRnrw24RmhKqoJgHFVMM4Ld2ODaUQfKRNYPHfesR6CpuMCsbF/mmu8BWQrfissT5TlEnhYGXrdh2A1ucKuj0NyoLlpZ3i852mCp4wjuOntWVBuQGNNEkfrqtR+5uYwSEpf3EqvVsyODqXGlVu2CyQUqMWdpfZbsLvZdrEShf0wd7lBkgv5mmDX6LWiYxeMjw7q/63XpQ9deS7KwU5bopjPQBPRDDEn/EjWcFkhruQvWVWHf1nlV8kPqlNuWb/tcpNyhos4npEstDRixw9rYJwAtIBjn20cwwfXWyFe7FUfb8f5WrqQ4Ig6ZwaCd4rUBHaOhsc+hLGjhZH2pHFykHwJ/iuLzirlEmzGPifNWg98PWKIUwKt9f34x/b23WnI3r7VB9UzrNJ+dNdc2y5ypT6g0ID+dpIkMq31qhBKOT4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR02MB6837.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(39830400003)(376002)(346002)(136003)(366004)(396003)(71200400001)(83380400001)(7696005)(33656002)(2906002)(76116006)(91956017)(66946007)(6506007)(8676002)(26005)(66556008)(66446008)(66476007)(64756008)(5660300002)(122000001)(55016003)(9686003)(38100700002)(186003)(966005)(316002)(19627405001)(86362001)(8936002)(52536014)(6916009)(508600001)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?jo8tWjrLYUxFpoS/SK/y8hr4Km5hgD2Wr3Rbevm9qPCnq5DZTTaRd/Mjoj?= =?iso-8859-1?Q?K2e4IIU169WNVKtobGjAUbkApZrDs/K1j1DQHpw/ea367QIlEJxDLUp9jc?= =?iso-8859-1?Q?K+lBGPIJA/ATDMptb1ak5ZHoHzbWukUnYPGQm8GVAOEItYfsy3kyXziju6?= =?iso-8859-1?Q?hqopk4QY/eUtT7NX+Hb5t0dMl5h+stNxACHR8+gCw6HPrfPzf+oRHZVvSk?= =?iso-8859-1?Q?xnQdMGtD5ntv+fQvlde2c7Ee2YaRW0E5SCL2V57ee3b6/cUi558t/vhWR3?= =?iso-8859-1?Q?Yi3ag9+R6f35hZ5qh22UH/sx5DKqlvTI7Dk1kVHl9TfmQ4DxD4xI84Xz8V?= =?iso-8859-1?Q?DgQyTT9uCxr22B1qem6tlA2pViGKcY+Bz3qMv5cG4vH1fF5Oq58Cm44P+a?= =?iso-8859-1?Q?2WNP7TUas11ppsybfhS6fqsWF57IgRlgcwlzuiUiyraVdMC2vyB0xKg1Kg?= =?iso-8859-1?Q?fsG8EyZDnYoa6WX/+ElZhBwq8ZXlDp8EZZDJV8r5AfPdnNelwJlX62SRTM?= =?iso-8859-1?Q?1AY1RTE5oJiMSTh5AyBPFoLsinpjCV5yRa3l7xtKvN+sh6JAvvoM0hLwyV?= =?iso-8859-1?Q?I2DDc9aYrRRWCEVKLbyW0TU5O9D4mebPPo8OycWXfLM6Z4FfkjrU8hq+9P?= =?iso-8859-1?Q?lXOsdpAnZXMALnEMAuJ5f2ZFkfrpAb+MJekPZqaHbZq44HyF1x1CrmRgl7?= =?iso-8859-1?Q?0z+8HpPpdUMpT2TQJd4y9iUAGOnrvJCA+yo1Aucgvnkdnl1SQdoQ64vc7r?= =?iso-8859-1?Q?+booL1vTcA1GYxWQ3Du5WOq78c8chYbWoLanvfIagoF12s5PeCwVFNUdG4?= =?iso-8859-1?Q?SqpvCdshhA0JOUbpSrNLHMyt/AFOkkZUAyW9DVGrSuvvKYwFiWaHvxVShD?= =?iso-8859-1?Q?Sb5WpriuilqaY1AxjeJIL8zGmSYk7n3JwmekECRYwHZndWZufQNASvCS0D?= =?iso-8859-1?Q?ze74h5k3K5NnN+rjxrg3qyQpqEFae5r9Ia848o1jSyKZReuCNzhq0dko3P?= =?iso-8859-1?Q?ee32asbF8ANMiPixDD+jG1K9RVOJL8CUPzOBUXseWDWUnrc+IwOmLY9te/?= =?iso-8859-1?Q?r9UR1OhVa4BCGqd+KpVK0HckvwNM0xFQtzXaTIfkurHWhmga6eBkP/aP+R?= =?iso-8859-1?Q?5477u2gzpJFFG/ZtbuHQ9VIPcvjWNy0OZT7n73r/HvFe0i5qk/s6vrnyN+?= =?iso-8859-1?Q?3ZwNmO0LTTxdDPkKIhHlpL2pC8Az5B28s1i0JGULdfsrn/irXOy94lgBY0?= =?iso-8859-1?Q?4iyAMx8EjLnogYMdzpmPu2lwrQueopiVbivlfvzmLDh3O1lIeMFDpkrIB3?= =?iso-8859-1?Q?YdaSdukIK1siMFD5FQd9bqgZ/dAGcYSsku/poa8iiUUxcfllpJZfxAtwhD?= =?iso-8859-1?Q?ccEdnFFbgXSy7ZKkVW9o+cmUCOthuvK5iemQj9Xn+AQ+Si3cIzMz5wmkjO?= =?iso-8859-1?Q?CRhzB/e0kzWZYtKdp2BtUL3cLlATRHzqWuSe4uvtLe+VZ0Ml+ujCxQYtIk?= =?iso-8859-1?Q?D2VeRefz+Ub8e50S8nZIiRIUC6wILQGZap7u9GmpPJ8usJ2rwGk0mlgweZ?= =?iso-8859-1?Q?Qf6xCLSNwRFfAWGMNITo01YJYHJ+B2n8jWugvysjOTzpuJcSsdlIC2CjJT?= =?iso-8859-1?Q?XIEdz7gAZvoCKa/hF7EW+c49gh2CvUBmD+oDQqlNKXScEmSFGben0s7TOS?= =?iso-8859-1?Q?KryqfkSEeUJxDAe/Xh9vLWzX+R1Xbe2NHga75KAXyK4CHyE1jBsl2uuGll?= =?iso-8859-1?Q?Ir3JucA7X/2TNQA1ldc5VcG+AxdToB93CIY+qmSovWoB0t?= Content-Type: multipart/alternative; boundary="_000_AS8PR02MB6837EC9790B5D7617FE5F70DCCFD9AS8PR02MB6837eurp_" MIME-Version: 1.0 X-OriginatorOrg: voereir.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR02MB6837.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5895fe9b-bab0-4604-89a9-08da28e0d57a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2022 06:32:14.5240 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c0332603-0945-429b-ba2e-ef89b4a710a3 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7gLkXi0Q6FulcxE4tUsaiTgJIZn/oQShTC5AH66km5tmCv0DD0pfBiOsEsAQLmv9kFhduTr0SgnXGKDWZZogNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0202MB3282 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --_000_AS8PR02MB6837EC9790B5D7617FE5F70DCCFD9AS8PR02MB6837eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have OS: Ubuntu 20.04 with kernel: 5.4.0-42-generic Built DPDK from the following steps: cd /opt export RTE_SDK=3D"/opt/dpdk" export RTE_TARGET=3D"x86_64-native-linuxapp-gcc" export PKG_CONFIG_PATH=3D"/usr/local/lib/x86_64-linux-gnu/pkgconfig" git clone https://github.com/DPDK/dpdk.git git clone http://dpdk.org/git/dpdk-kmods cd dpdk/ git checkout v20.11 cp -r /opt/dpdk-kmods/linux/igb_uio/ /opt/dpdk/kernel/linux/ cat </opt/dpdk/kernel/linux/igb_uio/meson.build # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation mkfile =3D custom_target('igb_uio_makefile', output: 'Makefile', command: ['touch', '@OUTPUT@']) custom_target('igb_uio', input: ['igb_uio.c', 'Kbuild'], output: 'igb_uio.ko', command: ['make', '-C', kernel_dir + '/build', 'M=3D' + meson.current_build_dir(), 'src=3D' + meson.current_source_dir(), 'EXTRA_CFLAGS=3D-I' + meson.current_source_dir() + '/../../../lib/librte_eal/include', 'modules'], depends: mkfile, install: true, install_dir: kernel_dir + '/extra/dpdk', build_by_default: get_option('enable_kmods')) EOF meson setup ${RTE_SDK} ${RTE_TARGET} meson -Dexamples=3Dall build cd build ninja ninja install ldconfig -v cd /opt/dpdk/kernel/linux/igb_uio make -j 4 Building DPPD-PROX via below steps: git clone https://github.com/opnfv/samplevnf.git cd samplevnf/VNFs/DPPD-PROX meson build ninja -C build Facing error on the task: handle_fm.c on running that command ninja -C buil= d Error: [108/108] Linking target prox. FAILED: prox cc -o prox 'prox@exe/task_init.c.o' 'prox@exe/handle_aggregator.c.o' 'prox= @exe/handle_nop.c.o' 'prox@exe/handle_irq.c.o' 'prox@exe/handle_arp.c.o' 'p= rox@exe/handle_impair.c.o' 'prox@exe/handle_lat.c.o' 'prox@exe/handle_qos.c= .o' 'prox@exe/handle_qinq_decap4.c.o' 'prox@exe/handle_routing.c.o' 'prox@e= xe/handle_untag.c.o' 'prox@exe/handle_mplstag.c.o' 'prox@exe/handle_qinq_de= cap6.c.o' 'prox@exe/rw_reg.c.o' 'prox@exe/handle_lb_qinq.c.o' 'prox@exe/han= dle_lb_pos.c.o' 'prox@exe/handle_lb_net.c.o' 'prox@exe/handle_qinq_encap4.c= .o' 'prox@exe/handle_qinq_encap6.c.o' 'prox@exe/handle_classify.c.o' 'prox@= exe/handle_l2fwd.c.o' 'prox@exe/handle_swap.c.o' 'prox@exe/handle_police.c.= o' 'prox@exe/handle_acl.c.o' 'prox@exe/handle_gen.c.o' 'prox@exe/handle_mas= ter.c.o' 'prox@exe/packet_utils.c.o' 'prox@exe/handle_mirror.c.o' 'prox@exe= /handle_genl4.c.o' 'prox@exe/handle_ipv6_tunnel.c.o' 'prox@exe/handle_read.= c.o' 'prox@exe/handle_cgnat.c.o' 'prox@exe/handle_nat.c.o' 'prox@exe/handle= _dump.c.o' 'prox@exe/handle_tsc.c.o' 'prox@exe/handle_fm.c.o' 'prox@exe/han= dle_lb_5tuple.c.o' 'prox@exe/handle_blockudp.c.o' 'prox@exe/toeplitz.c.o' '= prox@exe/thread_nop.c.o' 'prox@exe/thread_generic.c.o' 'prox@exe/prox_args.= c.o' 'prox@exe/prox_cfg.c.o' 'prox@exe/prox_cksum.c.o' 'prox@exe/prox_port_= cfg.c.o' 'prox@exe/cfgfile.c.o' 'prox@exe/clock.c.o' 'prox@exe/commands.c.o= ' 'prox@exe/cqm.c.o' 'prox@exe/msr.c.o' 'prox@exe/defaults.c.o' 'prox@exe/d= isplay.c.o' 'prox@exe/display_latency.c.o' 'prox@exe/display_latency_distr.= c.o' 'prox@exe/display_mempools.c.o' 'prox@exe/display_ports.c.o' 'prox@exe= /display_rings.c.o' 'prox@exe/display_priority.c.o' 'prox@exe/display_pkt_l= en.c.o' 'prox@exe/display_l4gen.c.o' 'prox@exe/display_tasks.c.o' 'prox@exe= /display_irq.c.o' 'prox@exe/log.c.o' 'prox@exe/hash_utils.c.o' 'prox@exe/ma= in.c.o' 'prox@exe/parse_utils.c.o' 'prox@exe/file_utils.c.o' 'prox@exe/run.= c.o' 'prox@exe/input_conn.c.o' 'prox@exe/input_curses.c.o' 'prox@exe/rx_pkt= .c.o' 'prox@exe/lconf.c.o' 'prox@exe/tx_pkt.c.o' 'prox@exe/expire_cpe.c.o' = 'prox@exe/ip_subnet.c.o' 'prox@exe/stats_port.c.o' 'prox@exe/stats_mempool.= c.o' 'prox@exe/stats_ring.c.o' 'prox@exe/stats_l4gen.c.o' 'prox@exe/stats_l= atency.c.o' 'prox@exe/stats_global.c.o' 'prox@exe/stats_core.c.o' 'prox@exe= /stats_task.c.o' 'prox@exe/stats_prio.c.o' 'prox@exe/stats_irq.c.o' 'prox@e= xe/cmd_parser.c.o' 'prox@exe/input.c.o' 'prox@exe/prox_shared.c.o' 'prox@ex= e/prox_lua_types.c.o' 'prox@exe/genl4_bundle.c.o' 'prox@exe/heap.c.o' 'prox= @exe/genl4_stream_tcp.c.o' 'prox@exe/genl4_stream_udp.c.o' 'prox@exe/cdf.c.= o' 'prox@exe/stats.c.o' 'prox@exe/stats_cons_log.c.o' 'prox@exe/stats_cons_= cli.c.o' 'prox@exe/stats_parser.c.o' 'prox@exe/hash_set.c.o' 'prox@exe/prox= _lua.c.o' 'prox@exe/prox_malloc.c.o' 'prox@exe/prox_ipv6.c.o' 'prox@exe/pro= x_compat.c.o' 'prox@exe/handle_nsh.c.o' 'prox@exe/handle_pf_acl.c.o' 'prox@= exe/thread_pipeline.c.o' 'prox@exe/git_version.c.o' -Wl,--as-needed -Wl,--n= o-undefined -Wl,-O1 -Wl,--as-needed -Wl,--start-group /usr/local/lib/x86_64= -linux-gnu/librte_node.so /usr/local/lib/x86_64-linux-gnu/librte_graph.so /= usr/local/lib/x86_64-linux-gnu/librte_bpf.so /usr/local/lib/x86_64-linux-gn= u/librte_flow_classify.so /usr/local/lib/x86_64-linux-gnu/librte_pipeline.s= o /usr/local/lib/x86_64-linux-gnu/librte_table.so /usr/local/lib/x86_64-lin= ux-gnu/librte_port.so /usr/local/lib/x86_64-linux-gnu/librte_fib.so /usr/lo= cal/lib/x86_64-linux-gnu/librte_ipsec.so /usr/local/lib/x86_64-linux-gnu/li= brte_vhost.so /usr/local/lib/x86_64-linux-gnu/librte_stack.so /usr/local/li= b/x86_64-linux-gnu/librte_security.so /usr/local/lib/x86_64-linux-gnu/librt= e_sched.so /usr/local/lib/x86_64-linux-gnu/librte_reorder.so /usr/local/lib= /x86_64-linux-gnu/librte_rib.so /usr/local/lib/x86_64-linux-gnu/librte_rege= xdev.so /usr/local/lib/x86_64-linux-gnu/librte_rawdev.so /usr/local/lib/x86= _64-linux-gnu/librte_pdump.so /usr/local/lib/x86_64-linux-gnu/librte_power.= so /usr/local/lib/x86_64-linux-gnu/librte_member.so /usr/local/lib/x86_64-l= inux-gnu/librte_lpm.so /usr/local/lib/x86_64-linux-gnu/librte_latencystats.= so /usr/local/lib/x86_64-linux-gnu/librte_kni.so /usr/local/lib/x86_64-linu= x-gnu/librte_jobstats.so /usr/local/lib/x86_64-linux-gnu/librte_ip_frag.so = /usr/local/lib/x86_64-linux-gnu/librte_gso.so /usr/local/lib/x86_64-linux-g= nu/librte_gro.so /usr/local/lib/x86_64-linux-gnu/librte_eventdev.so /usr/lo= cal/lib/x86_64-linux-gnu/librte_efd.so /usr/local/lib/x86_64-linux-gnu/libr= te_distributor.so /usr/local/lib/x86_64-linux-gnu/librte_cryptodev.so /usr/= local/lib/x86_64-linux-gnu/librte_compressdev.so /usr/local/lib/x86_64-linu= x-gnu/librte_cfgfile.so /usr/local/lib/x86_64-linux-gnu/librte_bitratestats= .so /usr/local/lib/x86_64-linux-gnu/librte_bbdev.so /usr/local/lib/x86_64-l= inux-gnu/librte_acl.so /usr/local/lib/x86_64-linux-gnu/librte_timer.so /usr= /local/lib/x86_64-linux-gnu/librte_hash.so /usr/local/lib/x86_64-linux-gnu/= librte_metrics.so /usr/local/lib/x86_64-linux-gnu/librte_cmdline.so /usr/lo= cal/lib/x86_64-linux-gnu/librte_pci.so /usr/local/lib/x86_64-linux-gnu/libr= te_ethdev.so /usr/local/lib/x86_64-linux-gnu/librte_meter.so /usr/local/lib= /x86_64-linux-gnu/librte_net.so /usr/local/lib/x86_64-linux-gnu/librte_mbuf= .so /usr/local/lib/x86_64-linux-gnu/librte_mempool.so /usr/local/lib/x86_64= -linux-gnu/librte_rcu.so /usr/local/lib/x86_64-linux-gnu/librte_ring.so /us= r/local/lib/x86_64-linux-gnu/librte_eal.so /usr/local/lib/x86_64-linux-gnu/= librte_telemetry.so /usr/local/lib/x86_64-linux-gnu/librte_kvargs.so /usr/l= ib/x86_64-linux-gnu/libbsd.so -Wl,-Bsymbolic-functions -ltinfo -pthread -lp= cap -Wl,-Bsymbolic-functions -lncurses -ltinfo -Wl,-Bsymbolic-functions -ln= cursesw -ltinfo /usr/lib/x86_64-linux-gnu/libedit.so -lm /usr/lib/x86_64-li= nux-gnu/liblua5.3.so -lrte_bus_vdev -lrte_net_ring -Wl,--end-group /usr/bin/ld: prox@exe/handle_fm.c.o: undefined reference to symbol 'dlsym@@= GLIBC_2.2.5' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libdl.so.2: error adding symbo= ls: DSO missing from command line collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. How do I proceed in this? --_000_AS8PR02MB6837EC9790B5D7617FE5F70DCCFD9AS8PR02MB6837eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have OS: Ubuntu 20.04 with kernel: 5.4.0-42-generic

Built D= PDK from the following steps:

cd /opt
export RTE_SD= K=3D"/opt/dpdk"
export RTE_TA= RGET=3D"x86_64-native-linuxapp-gcc"
export PKG_CO= NFIG_PATH=3D"/usr/local/lib/x86_64-linux-gnu/pkgconfig"
git clone htt= ps://github.com/DPDK/dpdk.git
git clone htt= p://dpdk.org/git/dpdk-kmods
cd dpdk/
git checkout = v20.11
cp -r /opt/dp= dk-kmods/linux/igb_uio/ /opt/dpdk/kernel/linux/
cat <<E= OF >/opt/dpdk/kernel/linux/igb_uio/meson.build
# SPDX-Licens= e-Identifier: BSD-3-Clause
# Copyright(c= ) 2017 Intel Corporation

mkfile =3D cu= stom_target('igb_uio_makefile',
   =     output: 'Makefile',
   =     command: ['touch', '@OUTPUT@'])

custom_target= ('igb_uio',
   =     input: ['igb_uio.c', 'Kbuild'],
   =     output: 'igb_uio.ko',
   =     command: ['make', '-C', kernel_dir + '/build',
   =             'M=3D' + meson.current_build_dir= (),
   =             'src=3D' + meson.current_source_= dir(),
   =             'EXTRA_CFLAGS=3D-I' + meson.curr= ent_source_dir() +
   =                     '/..= /../../lib/librte_eal/include',
   =             'modules'],
   =     depends: mkfile,
   =     install: true,
   =     install_dir: kernel_dir + '/extra/dpdk',
   =     build_by_default: get_option('enable_kmods'))
EOF
meson setup $= {RTE_SDK} ${RTE_TARGET}
meson -Dexamp= les=3Dall build
cd build
ninja
ninja install=
ldconfig -v
cd /opt/dpdk/= kernel/linux/igb_uio
make -j 4


Buildin= g DPPD-PROX via below steps:

git clone htt= ps://github.com/opnfv/samplevnf.git
cd samplevnf/= VNFs/DPPD-PROX
meson build
ninja -C buil= d

Facing = error on the task: handle_fm.c on running that command ninja -C build

Error:
[108/108] Lin= king target prox.

FAILED: prox<= /div>

cc  -o p= rox 'prox@exe/task_init.c.o' 'prox@exe/handle_aggregator.c.o' 'prox@exe/han= dle_nop.c.o' 'prox@exe/handle_irq.c.o' 'prox@exe/handle_arp.c.o' 'prox@exe/= handle_impair.c.o' 'prox@exe/handle_lat.c.o' 'prox@exe/handle_qos.c.o' 'prox@exe/handle_qinq_decap4.c.o' 'prox@exe/hand= le_routing.c.o' 'prox@exe/handle_untag.c.o' 'prox@exe/handle_mplstag.c.o' '= prox@exe/handle_qinq_decap6.c.o' 'prox@exe/rw_reg.c.o' 'prox@exe/handle_lb_= qinq.c.o' 'prox@exe/handle_lb_pos.c.o' 'prox@exe/handle_lb_net.c.o' 'prox@exe/handle_qinq_encap4.c.o' 'prox@exe/h= andle_qinq_encap6.c.o' 'prox@exe/handle_classify.c.o' 'prox@exe/handle_l2fw= d.c.o' 'prox@exe/handle_swap.c.o' 'prox@exe/handle_police.c.o' 'prox@exe/ha= ndle_acl.c.o' 'prox@exe/handle_gen.c.o' 'prox@exe/handle_master.c.o' 'prox@exe/packet_utils.c.o' 'prox@exe/handle_= mirror.c.o' 'prox@exe/handle_genl4.c.o' 'prox@exe/handle_ipv6_tunnel.c.o' '= prox@exe/handle_read.c.o' 'prox@exe/handle_cgnat.c.o' 'prox@exe/handle_nat.= c.o' 'prox@exe/handle_dump.c.o' 'prox@exe/handle_tsc.c.o' 'prox@exe/handle_fm.c.o' 'prox@exe/handle_lb_5tu= ple.c.o' 'prox@exe/handle_blockudp.c.o' 'prox@exe/toeplitz.c.o' 'prox@exe/t= hread_nop.c.o' 'prox@exe/thread_generic.c.o' 'prox@exe/prox_args.c.o' 'prox= @exe/prox_cfg.c.o' 'prox@exe/prox_cksum.c.o' 'prox@exe/prox_port_cfg.c.o' 'prox@exe/cfgfile.c.o' 'prox@exe/clock.c.o' '= prox@exe/commands.c.o' 'prox@exe/cqm.c.o' 'prox@exe/msr.c.o' 'prox@exe/defa= ults.c.o' 'prox@exe/display.c.o' 'prox@exe/display_latency.c.o' 'prox@exe/d= isplay_latency_distr.c.o' 'prox@exe/display_mempools.c.o' 'prox@exe/display_ports.c.o' 'prox@exe/display_rings.c.o' 'prox@exe/displa= y_priority.c.o' 'prox@exe/display_pkt_len.c.o' 'prox@exe/display_l4gen.c.o'= 'prox@exe/display_tasks.c.o' 'prox@exe/display_irq.c.o' 'prox@exe/log.c.o'= 'prox@exe/hash_utils.c.o' 'prox@exe/main.c.o' 'prox@exe/parse_utils.c.o' 'prox@exe/file_utils.c.o' 'prox@exe/run.c.o' 'p= rox@exe/input_conn.c.o' 'prox@exe/input_curses.c.o' 'prox@exe/rx_pkt.c.o' '= prox@exe/lconf.c.o' 'prox@exe/tx_pkt.c.o' 'prox@exe/expire_cpe.c.o' 'prox@e= xe/ip_subnet.c.o' 'prox@exe/stats_port.c.o' 'prox@exe/stats_mempool.c.o' 'prox@exe/stats_ring.c.o' 'prox@exe/stats_l4g= en.c.o' 'prox@exe/stats_latency.c.o' 'prox@exe/stats_global.c.o' 'prox@exe/= stats_core.c.o' 'prox@exe/stats_task.c.o' 'prox@exe/stats_prio.c.o' 'prox@e= xe/stats_irq.c.o' 'prox@exe/cmd_parser.c.o' 'prox@exe/input.c.o' 'prox@exe/prox_shared.c.o' 'prox@exe/prox_lua_types.c= .o' 'prox@exe/genl4_bundle.c.o' 'prox@exe/heap.c.o' 'prox@exe/genl4_stream_= tcp.c.o' 'prox@exe/genl4_stream_udp.c.o' 'prox@exe/cdf.c.o' 'prox@exe/stats= .c.o' 'prox@exe/stats_cons_log.c.o' 'prox@exe/stats_cons_cli.c.o' 'prox@exe/stats_parser.c.o' 'prox@exe/hash_s= et.c.o' 'prox@exe/prox_lua.c.o' 'prox@exe/prox_malloc.c.o' 'prox@exe/prox_i= pv6.c.o' 'prox@exe/prox_compat.c.o' 'prox@exe/handle_nsh.c.o' 'prox@exe/han= dle_pf_acl.c.o' 'prox@exe/thread_pipeline.c.o' 'prox@exe/git_version.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,= --as-needed -Wl,--start-group /usr/local/lib/x86_64-linux-gnu/librte_node.s= o /usr/local/lib/x86_64-linux-gnu/librte_graph.so /usr/local/lib/x86_64-lin= ux-gnu/librte_bpf.so /usr/local/lib/x86_64-linux-gnu/librte_flow_classify.s= o /usr/local/lib/x86_64-linux-gnu/librte_pipeline.so /usr/local/lib/x86_64-l= inux-gnu/librte_table.so /usr/local/lib/x86_64-linux-gnu/librte_port.so /us= r/local/lib/x86_64-linux-gnu/librte_fib.so /usr/local/lib/x86_64-linux-gnu/= librte_ipsec.so /usr/local/lib/x86_64-linux-gnu/librte_vhost.so /usr/local/lib/x86_64-linux-gnu/librte_stack.so /usr/local/lib/x86_64-linu= x-gnu/librte_security.so /usr/local/lib/x86_64-linux-gnu/librte_sched.so /u= sr/local/lib/x86_64-linux-gnu/librte_reorder.so /usr/local/lib/x86_64-linux= -gnu/librte_rib.so /usr/local/lib/x86_64-linux-gnu/librte_regexdev.so /usr/local/lib/x86_64-linux-gnu/librte_rawdev.so /usr/local/lib/x86_64-lin= ux-gnu/librte_pdump.so /usr/local/lib/x86_64-linux-gnu/librte_power.so /usr= /local/lib/x86_64-linux-gnu/librte_member.so /usr/local/lib/x86_64-linux-gn= u/librte_lpm.so /usr/local/lib/x86_64-linux-gnu/librte_latencystats.so /usr/local/lib/x86_64-linux-gnu/librte_kni.so /usr/local/lib/x86_64-linux-= gnu/librte_jobstats.so /usr/local/lib/x86_64-linux-gnu/librte_ip_frag.so /u= sr/local/lib/x86_64-linux-gnu/librte_gso.so /usr/local/lib/x86_64-linux-gnu= /librte_gro.so /usr/local/lib/x86_64-linux-gnu/librte_eventdev.so /usr/local/lib/x86_64-linux-gnu/librte_efd.so /usr/local/lib/x86_64-linux-= gnu/librte_distributor.so /usr/local/lib/x86_64-linux-gnu/librte_cryptodev.= so /usr/local/lib/x86_64-linux-gnu/librte_compressdev.so /usr/local/lib/x86= _64-linux-gnu/librte_cfgfile.so /usr/local/lib/x86_64-linux-gnu/librte_bitratestats.so /usr/local/lib/x86_= 64-linux-gnu/librte_bbdev.so /usr/local/lib/x86_64-linux-gnu/librte_acl.so = /usr/local/lib/x86_64-linux-gnu/librte_timer.so /usr/local/lib/x86_64-linux= -gnu/librte_hash.so /usr/local/lib/x86_64-linux-gnu/librte_metrics.so /usr/local/lib/x86_64-linux-gnu/librte_cmdline.so /usr/local/lib/x86_64-li= nux-gnu/librte_pci.so /usr/local/lib/x86_64-linux-gnu/librte_ethdev.so /usr= /local/lib/x86_64-linux-gnu/librte_meter.so /usr/local/lib/x86_64-linux-gnu= /librte_net.so /usr/local/lib/x86_64-linux-gnu/librte_mbuf.so /usr/local/lib/x86_64-linux-gnu/librte_mempool.so /usr/local/lib/x86_64-li= nux-gnu/librte_rcu.so /usr/local/lib/x86_64-linux-gnu/librte_ring.so /usr/l= ocal/lib/x86_64-linux-gnu/librte_eal.so /usr/local/lib/x86_64-linux-gnu/lib= rte_telemetry.so /usr/local/lib/x86_64-linux-gnu/librte_kvargs.so /usr/lib/x86_64-linux-gnu/libbsd.so -Wl,-Bsymbolic-functions -ltinfo -pthr= ead -lpcap -Wl,-Bsymbolic-functions -lncurses -ltinfo -Wl,-Bsymbolic-functi= ons -lncursesw -ltinfo /usr/lib/x86_64-linux-gnu/libedit.so -lm /usr/lib/x8= 6_64-linux-gnu/liblua5.3.so -lrte_bus_vdev -lrte_net_ring -Wl,--end-group

/usr/bin/ld: = prox@exe/handle_fm.c.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'<= /div>

/usr/bin/ld: = /usr/local/lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missi= ng from command line

collect2: err= or: ld returned 1 exit status

ninja: build = stopped: subcommand failed.



How do I proceed in this?
--_000_AS8PR02MB6837EC9790B5D7617FE5F70DCCFD9AS8PR02MB6837eurp_--