From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=vLkqGCArKXl2B1qjkyzslEPrVJjZ92JOtWwvTgoWSpE=; b=O/20WdskLKsVwcaMc0apy2rCu3BKDOpxeyJeH0T0/7IB4GpMbYst3JfKsHqu05TiSH yj1+6ZJnFbDrgsN+Ad6Xcy/geMLU6yymg2tUGW8CXEBElngY7nn99JBAoGEDv2DwefO/ I3LulDryKNYeYu0+bL3CGKiMDhQJEepfLwt5NPk2b99mchAYdRigKQ6xWRI67gVLl3P7 pQsSXy+Jv8MwxS0zy7HIJ4FCqlv25k8T/jerce72bx+shIFsoyxA44NgmKmNw7ZxO/ym NZZZrrFIEltmpRlbAgeab58YNEu0HHBZ1+evRMYapIqqgQNV2p+tI3uE60RDOTanJ3D8 T3OQ== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=vLkqGCArKXl2B1qjkyzslEPrVJjZ92JOtWwvTgoWSpE=; b=P2LbVaPyXp0NTfcimWq/Rhk1VMIPb46SqQ4eENJBBWneTWptKJ+NJykjKGk5t1tOlO FfS2Atw4Kun/D7v5ljN+g5YpjDP/7FpmkiqBzX1LD6/VyFTkxZPZgFa9Egz+ZO0DB/pg 9PbHlJOk5MTBEejCDyszFlW5hgLZmUK6Z9aqlLh3d2duJwJVUU8TOpT+13C0t0Rk971A CF1vnhE1DwsNVipGC2pJqP5KUiZiPN0GhKEOLZYmN/SK8g7v7ePgAVB4l9GMlKhD0yAh AVH0Fi/AL9imbpK22SMR6zLhxQJwt99wp4Kxa7PUXU3drRLJ1/ayhLNSskfu9yH1Ynpi 6UPQ== X-Gm-Message-State: ALyK8tIj2b0r4HsjPO/EGgsHv+sT4UHEIBieJHDaiB+8qGJzzvhKaxZ2uS1fksJxjEMrUsU7 X-Received: by 10.28.25.134 with SMTP id 128mr24839700wmz.16.1468395915062; Wed, 13 Jul 2016 00:45:15 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id b186sm8505621wmg.23.2016.07.13.00.45.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jul 2016 00:45:14 -0700 (PDT) From: Thomas Monjalon To: Raslan Darawsheh Cc: dev@dpdk.org, Christian Ehrhardt Date: Wed, 13 Jul 2016 09:45:12 +0200 Message-ID: <3269547.BTDAQzFq9I@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <2175995.EOO7pnvdQg@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] Compiling DPDK is not working on Red Hat 6.7 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: Wed, 13 Jul 2016 07:45:15 -0000 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).