Re: [PATCH 5/9] XArray: entry in last level is not expected to be a node

Matthew Wilcox
2020-03-31T23:59:14Z

On Tue, Mar 31, 2020 at 10:04:40PM +0000, Wei Yang wrote:
> cc -I. -I../../include -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o main.o main.c
> In file included from ./linux/../../../../include/linux/radix-tree.h:15,
> from ./linux/radix-tree.h:5,
> from main.c:10:
> ./linux/rcupdate.h:5:10: fatal error: urcu.h: No such file or directory
> 5 | #include <urcu.h>
> | ^~~~~~~~
> compilation terminated.
> make: *** [<builtin>: main.o] Error 1

Oh, you need liburcu installed. On Debian, that's liburcu-dev ... probably
liburcu-devel on Red Hat style distros.