From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ernst.netinsight.se (ernst.netinsight.se [194.16.221.21]) by dpdk.org (Postfix) with SMTP id 866DBC5F8 for ; Mon, 4 May 2015 14:55:23 +0200 (CEST) Received: from [10.100.1.152] (unverified [10.100.1.152]) by ernst.netinsight.se (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 04 May 2015 14:55:19 +0200 Message-ID: <55476C37.8050702@netinsight.net> Date: Mon, 04 May 2015 14:55:19 +0200 From: =?UTF-8?B?U2ltb24gS8OlZ3N0csO2bQ==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Olivier MATZ , dev@dpdk.org References: <55476941.3030202@netinsight.net> <55476A94.5000809@6wind.com> In-Reply-To: <55476A94.5000809@6wind.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] build issue with out-of-tree builds and multiple mounts 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: Mon, 04 May 2015 12:55:23 -0000 On 2015-05-04 14:48, Olivier MATZ wrote: > Hi Simon, > > On 05/04/2015 02:42 PM, Simon Kågström wrote: >> Hi! >> >> I'm trying to do a out-of-tree build of DPDK 2.0.0 (with make -C and >> O=), but failing with errors such as >> >> In file included from >> [...]/lib/librte_eal/common/include/rte_eal_memconfig.h:40:0, >> [...] >> rte_malloc_heap.h:39:26: fatal error: rte_spinlock.h: No such file or >> directory >> >> Looking in the include/ directory in my build directory, I see a lot of >> invalid symlinks to things like rte_spinlock.h: >> >> lrwxrwxrwx 1 ska users 99 May 4 14:33 rte_spinlock.h -> >> ../[...]/dpdk/lib/librte_eal/common/include/arch/x86/rte_spinlock.h > > Can you please send the full make command line that produces this > issue? make -C /home/ska/devel/dpdk EXTRA_CFLAGS="-g -O0" RTE_KERNELDIR=/tmp/ubuntu-14.04/usr/src/linux-headers-3.13.0-51-generic O=/home/ska/build/dpdk T=x86_64-default-linuxapp-gcc V=1 The config step works fine, but it fails on this step. /home/ska is mounted on NFS, and /home/ska/build is a symlink to /lhome/ska/build It appears to work if I build outside the symlink, i.e.., build with O=/lhome/ska/build/... instead. // Simon