From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0081.outbound.protection.outlook.com [104.47.37.81]) by dpdk.org (Postfix) with ESMTP id 81E0C7CC3 for ; Thu, 19 Apr 2018 16:12:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studentuml.onmicrosoft.com; s=selector1-student-uml-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ZOWDpHWK2xpWTKpTA+vnr/Zee3zHOGP9jsXbIUaeh7Y=; b=TnMqHwGV4jy+BdL4EtfurJycoW5wSsnNtKzLKJbpeduH9NbyRsLrtFrqX2gODy6blClCtA2btjsQzFDb1e2FBsPDo7wC8XC4OGgG0xxaNhYQmyo5bm9XZNXW29XRSlKIAZ0AjJvFA/PHcZJmlXSw8niZi/v43ppuxp7PHEPXrkY= Received: from DM5PR02MB2523.namprd02.prod.outlook.com (10.168.195.17) by DM5PR02MB2249.namprd02.prod.outlook.com (10.168.174.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Thu, 19 Apr 2018 14:12:10 +0000 Received: from DM5PR02MB2523.namprd02.prod.outlook.com ([fe80::f8d0:e60a:5495:6fd2]) by DM5PR02MB2523.namprd02.prod.outlook.com ([fe80::f8d0:e60a:5495:6fd2%13]) with mapi id 15.20.0696.013; Thu, 19 Apr 2018 14:12:08 +0000 From: "Wu, Xiaoban" To: =?Windows-1252?Q?N=E9lio_Laranjeiro?= , =?Windows-1252?Q?Andr=E9s_Pozo_Mu=F1oz?= CC: "users@dpdk.org" Thread-Topic: [dpdk-users] Compilation problems in Ubuntu 16.04 with MLX5 options Thread-Index: AQHT17R/LkD7UxOvYUKaNYg+Xhp286QHwKmAgABgduE= Date: Thu, 19 Apr 2018 14:12:08 +0000 Message-ID: References: , <20180419082555.vt5dyhvtkqzbozws@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180419082555.vt5dyhvtkqzbozws@laranjeiro-vm.dev.6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xiaoban_Wu@student.uml.edu; x-originating-ip: [129.63.5.184] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR02MB2249; 7:C8zppKnEmbSMNatM+Rr7SYlsdEy97Ulan7kbCTnl8uiy3O0cDu0FKxr7kxmGhAGEYma60jj8nUJgMhJwQ9ABpaKz9iQgwMYQqI/eWbs0nW80r6bP58c5sxkNiUIt23L6tSFyQL78X8xRdgebYOoNcJGLd5OReEiBlGGvqKPjREodgoIScDbZEBJ0BM0uvzVR++WFK1galqMBNw8Y9fDlZwREjrQePyYrAJXZ13g7CsQUHv0an77duPW0aWvqQ9an x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:DM5PR02MB2249; x-ms-traffictypediagnostic: DM5PR02MB2249: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231232)(944501383)(52105095)(93006095)(93001095)(3002001)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR02MB2249; BCL:0; PCL:0; RULEID:; SRVR:DM5PR02MB2249; x-forefront-prvs: 0647963F84 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(396003)(39380400002)(346002)(377424004)(53754006)(53546011)(86362001)(6606003)(6506007)(33656002)(2906002)(5660300001)(7736002)(39060400002)(6246003)(53376002)(6436002)(74316002)(53936002)(9686003)(236005)(6306002)(8676002)(81166006)(2900100001)(54896002)(55016002)(19627405001)(8936002)(3846002)(6116002)(72206003)(76176011)(99286004)(966005)(7696005)(14454004)(186003)(110136005)(316002)(5250100002)(786003)(26005)(606006)(75432002)(25786009)(476003)(59450400001)(11346002)(478600001)(4326008)(446003)(229853002)(102836004)(66066001)(88552002)(3660700001)(3280700002)(10126625002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR02MB2249; H:DM5PR02MB2523.namprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; received-spf: None (protection.outlook.com: student.uml.edu does not designate permitted sender hosts) x-microsoft-antispam-message-info: cZsY0es8WeQZoDEe+39rRIqByfo1gsAHqahb5jVjHUYYGLeECcPgo4HKNeS3YQFct/UZVgJYUY3lUYgV441Aftxlj+yDsTpzCYj3nmYO5dBCODakVH5VB/O3DnFZwv1qeDs+soOPLVkxcw7coFM96L6Qdt9n08r7D2chPhWhgSS8NRYNolYW+gO9nkRNWmeZ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5f10ea52-b017-4e67-14fd-08d5a5ff899b X-OriginatorOrg: student.uml.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 5f10ea52-b017-4e67-14fd-08d5a5ff899b X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2018 14:12:08.4960 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4c25b8a6-17f7-46f9-83f0-54734ab81fb1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2249 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Compilation problems in Ubuntu 16.04 with MLX5 options X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 14:12:13 -0000 Hi, I also encountered a similar problem yesterday with dpdk-17.11 on ubuntu 16= .04. I checked my old email from this mailing list, I found a successful so= lution by reinstall the latest "mlnxofed" by "./mlnxofedinstall --upstream-= libs --dpdk" Then you can try to install the dpdk-18.02 and see if it works. Hopefully, = this will help you. Best wishes, Xiaoban ________________________________ From: users on behalf of N=E9lio Laranjeiro Sent: Thursday, April 19, 2018 4:25:55 AM To: Andr=E9s Pozo Mu=F1oz Cc: users@dpdk.org Subject: Re: [dpdk-users] Compilation problems in Ubuntu 16.04 with MLX5 op= tions On Wed, Apr 18, 2018 at 08:15:28PM +0200, Andr=E9s Pozo Mu=F1oz wrote: > Hi all, > > I'm trying to build DPDK (tried with 17.11 and 18.02) on Ubuntu 16.04, > with MLX5 support and I'm getting some compilation errors. > The sequence of commands I follow: > > root@olnmalp026Bn001:/usr/src# uname -a > Linux olnmalp026Bn001 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 > 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux > root@olnmalp026Bn001:/usr/src# wget > http://dpdk.org/browse/dpdk/snapshot/dpdk-18.02-rc4.tar.gz > --2018-04-18 20:04:17-- > http://dpdk.org/browse/dpdk/snapshot/dpdk-18.02-rc4.tar.gz > Resolving dpdk.org (dpdk.org)... 92.243.14.124 > Connecting to dpdk.org (dpdk.org)|92.243.14.124|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [application/x-gzip] > Saving to: =91dpdk-18.02-rc4.tar.gz=92 > > dpdk-18.02-rc4.tar.gz [ <=3D> > > ] 12.45M 4.20MB/s in 3.0s > > 2018-04-18 20:04:20 (4.20 MB/s) - =91dpdk-18.02-rc4.tar.gz=92 saved [1305= 9456] > > root@olnmalp026Bn001:/usr/src# tar xvfz dpdk-18.02-rc4.tar.gz > .... > > root@olnmalp026Bn001:/usr/src# export DPDK_DIR=3D/usr/src/dpdk-18.02-rc4 > root@olnmalp026Bn001:/usr/src# cd $DPDK_DIR > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# export > DPDK_TARGET=3Dx86_64-native-linuxapp-gcc > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# export > DPDK_BUILD=3D$DPDK_DIR/$DPDK_TARGET > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# sed -i > 's/\(CONFIG_RTE_LIBRTE_MLX5_PMD=3D\)n/\1y/g' > $DPDK_DIR/config/common_base > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# sed -i > 's/\(CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=3D\)n/\1y/g' > $DPDK_DIR/config/common_base > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# grep MLX5 > $DPDK_DIR/config/common_base > # Compile burst-oriented Mellanox ConnectX-4 & ConnectX-5 (MLX5) PMD > CONFIG_RTE_LIBRTE_MLX5_PMD=3Dy > CONFIG_RTE_LIBRTE_MLX5_DEBUG=3Dn > CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=3Dy > CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=3D8 > root@olnmalp026Bn001:/usr/src/dpdk-18.02-rc4# make -j install > T=3D$DPDK_TARGET DESTDIR=3Dinstall > Configuration done using x86_64-native-linuxapp-gcc > =3D=3D Build lib > =3D=3D Build lib/librte_compat > =3D=3D Build lib/librte_eal > =3D=3D Build lib/librte_cfgfile > =3D=3D Build lib/librte_eal/common > SYMLINK-FILE include/rte_compat.h > In file included from /usr/src/dpdk-18.02-rc4/drivers/net/mlx5/mlx5.c:42:= 0: > /usr/src/dpdk-18.02-rc4/drivers/net/mlx5/mlx5_glue.h:64:11: warning: > =91struct ibv_rwq_ind_table_init_attr=92 declared inside parameter list > struct ibv_rwq_ind_table_init_attr *init_attr); >[...] > > > > Complete log here -> https://pastebin.com/5gSuV3PV > > Is there any problem with those DPDK versions in Ubuntu 16.04? > Has anyone experienced similar problems? > > > Thank you very much in advance! > Regards, > Andr=E9s Hi, Seems you do not have the 3rd party libraries installed. Please take a look at [1] first, Regards, [1] https://dpdk.org/doc/guides/nics/mlx5.html -- N=E9lio Laranjeiro 6WIND