From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id BA379C606 for ; Mon, 4 May 2015 14:48:29 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YpFrh-00056z-43; Mon, 04 May 2015 14:52:56 +0200 Message-ID: <55476A94.5000809@6wind.com> Date: Mon, 04 May 2015 14:48:20 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: =?UTF-8?B?U2ltb24gS8OlZ3N0csO2bQ==?= , dev@dpdk.org References: <55476941.3030202@netinsight.net> In-Reply-To: <55476941.3030202@netinsight.net> 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:48:29 -0000 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? Thanks, Olivier > > and I believe that this is caused by my use of multiple mounts: I have > my home directory and the source code on NFS, while the build directory > is on local disk (under a build/-symlink from my home directory). So > using ../ relative to the build directory will actually end up on the > local disk, and not work. > > > I guess it should be possible to workaround this by building somewhere > else, but perhaps there is some patch to be made in mk/? Any pointer to > where to look? > > // Simon >