From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Compiling DPDK is not working on Red Hat 6.7 Date: Wed, 13 Jul 2016 09:45:12 +0200 Message-ID: <3269547.BTDAQzFq9I@xps13> References: <2175995.EOO7pnvdQg@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Christian Ehrhardt To: Raslan Darawsheh Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 40A1E2C8 for ; Wed, 13 Jul 2016 09:45:15 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id i5so55204226wmg.0 for ; Wed, 13 Jul 2016 00:45:15 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-07-13 06:01, Raslan Darawsheh: > It seems that the patch fixed the issue. Thanks, I've sent the patches: http://dpdk.org/ml/archives/dev/2016-July/043917.html > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > 2016-07-12 11:35, Raslan Darawsheh: > > I think the option is there as you see: > > > [...] > > -Wl,--as-needed -Wl,-lrt -Wl,-lm |...] -Wl,-lrte_eal > [...] > > eal_timer.c:(.text+0x152): undefined reference to `clock_gettime' > > I suspect we need -lrt after -lrte_eal. Do you know where the flag -lrt is set? Is it in your environment LDFLAGS? (it is my guess for the fix).