Source: fuse3
Version: 3.14.0-2
Tags: patch
Hi Maintainer
I noticed the Makefile shipped with the examples in libfuse3-dev was
out of date. Please find my attempt at updating it below.
There is one more example, hello_ll_uds, that FTBFS:
cc -Wall -I/usr/include/fuse3 hello_ll_uds.c -lfuse3 -lpthread
-o hello_ll_uds
hello_ll_uds.c:31:10: fatal error: fuse_kernel.h: No such file or directory
31 | #include <fuse_kernel.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
I found that fuse_kernel.h is present in the upstream source, but not
shipped in libfuse3-dev, is that an oversight? If you decide to ship
fuse_kernel.h, please also add hello_ll_uds to the targets below.
Regards
Graham
CFLAGS := -Wall $(shell pkg-config fuse3 --cflags)
LDLIBS := $(shell pkg-config fuse3 --libs)
targets = cuse cuse_client hello hello_ll \
invalidate_path ioctl ioctl_client \
notify_inval_entry notify_inval_inode notify_store_retrieve \
null passthrough passthrough_fh passthrough_ll \
poll poll_client printcap
all: $(targets)
clean:
rm -f *.o
rm -f $(targets)