Closed Rhett-Ying closed 2 weeks ago
Don't think this is a liburing issue, none of those two headers are liburing.
but this issue is hit when compiling the example code: https://github.com/axboe/liburing/blob/master/examples/send-zerocopy.c
And is there any way to build the src only. In default, src, examples, test are all built.
I realize it comes up when compiling that example, just saying that it isn't doing anything special or including odd headers. Does it compile if you remove linux/ipv6.h from that example?
You can compile just src using normal make parameters:
make -C src/
You can compile just src using normal make parameters:
make -C src/
We need to add a test-less target in the root makefile. For example, make -C will fail to run configure, so you can't use it with a freshly cloned repo.
Yep agree, we do need a specific target that just builds the library parts, not examples or tests. Something ala:
diff --git a/Makefile b/Makefile
index d6d86355950e..e57a65be17c2 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,9 @@ all:
@$(MAKE) -C test
@$(MAKE) -C examples
+library:
+ @$(MAKE) -C src
+
.PHONY: all install default clean test
.PHONY: FORCE cscope
should probably do it.
just run
make -j