[Barrelfish] [Barrelfish-users] invalid preprocessing directives
Andrew Baumann
andrewb at inf.ethz.ch
Sun Sep 27 20:49:27 MEST 2009
On Sunday 27 September 2009 15.00:37 Pavel wrote:
> In file included from
> /tmp/barrelfish/lib/barrelfish/arch/x86_64/include/barrelfish/arch/dispatch
>.h:18, from /tmp/barrelfish/lib/barrelfish/arch/x86_64/dispatch.c:17:
> /tmp/barrelfish/build/tools/asmoffsets/include/asmoffsets.h:1:2:
> error: invalid preprocessing directive #APP
> /tmp/barrelfish/build/tools/asmoffsets/include/asmoffsets.h:49:2:
> error: invalid preprocessing directive #NO_APP
> make[2]: ***
> [lib/barrelfish/CMakeFiles/barrelfish.dir/arch/x86_64/dispatch.c.o] Error 1
> make[1]: *** [lib/barrelfish/CMakeFiles/barrelfish.dir/all] Error 2
> make: *** [all] Error 2
Looks to me like you have something odd in your environment. asmoffsets.h is
produced by this script (in tools/asmoffsets/CMakeLists.txt):
grep "^#[a-z]" asmoffsets.S | sed "'s/\\$$//'" > ${OUT}
... the only way I can see that could allow #APP or #NO_APP through the grep
is an alias like grep=grep -i, or perhaps a different locale. Try with LANG=C
and check that the grep in your path is GNU grep and nothing unusual.
Cheers,
Andrew
PS. If you wish to post to the mailing list in the future you will need to
subscribe.
More information about the Barrelfish-users
mailing list