All of lore.kernel.org
 help / color / mirror / Atom feed
* build issue with out-of-tree builds and multiple mounts
@ 2015-05-04 12:42 Simon Kågström
       [not found] ` <55476941.3030202-vI6UBbBVNY+JA8cjQkG2/g@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Kågström @ 2015-05-04 12:42 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-12 12:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-04 12:42 build issue with out-of-tree builds and multiple mounts Simon Kågström
     [not found] ` <55476941.3030202-vI6UBbBVNY+JA8cjQkG2/g@public.gmane.org>
2015-05-04 12:48   ` Olivier MATZ
     [not found]     ` <55476A94.5000809-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-05-04 12:55       ` Simon Kågström
     [not found]         ` <55476C37.8050702-vI6UBbBVNY+JA8cjQkG2/g@public.gmane.org>
2015-05-05  9:00           ` [PATCH] scripts: fix relpath.sh output when build dir is a symlink Olivier Matz
     [not found]             ` <1430816409-6773-1-git-send-email-olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-05-05  9:00               ` Olivier MATZ
     [not found]                 ` <554886C8.4090408-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-05-05  9:14                   ` Simon Kågström
2015-05-12 12:26                     ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.