From: "Simon Kågström" <simon.kagstrom-vI6UBbBVNY+JA8cjQkG2/g@public.gmane.org>
To: Olivier MATZ
<olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>,
dev-VfR2kkLFssw@public.gmane.org
Subject: Re: build issue with out-of-tree builds and multiple mounts
Date: Mon, 04 May 2015 14:55:19 +0200 [thread overview]
Message-ID: <55476C37.8050702@netinsight.net> (raw)
In-Reply-To: <55476A94.5000809-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
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
next prev parent reply other threads:[~2015-05-04 12:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55476C37.8050702@netinsight.net \
--to=simon.kagstrom-vi6ubbbvny+ja8cjqkg2/g@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.