Closed Takashiidobe closed 10 months ago
Can you include the config.log output for the nvme_uring_cmd part?
Actually, I wonder if you just need:
diff --git a/configure b/configure
index 420d97dbe64a..f86fcf77df6c 100755
--- a/configure
+++ b/configure
@@ -2656,7 +2656,7 @@ if test "$libzbc" != "no" ; then
fi
print_config "libzbc engine" "$libzbc"
-if test "$targetos" = "Linux" ; then
+if test "$targetos" = "Linux" || test "$targetos" = "Android"; then
##########################################
# Check NVME_URING_CMD support
cat > $TMPC << EOF
I've pulled current master and confirmed that fio
now builds. Thank you!
Please acknowledge the following before creating a ticket
Description of the bug:
fio doesn't compile on android, due to a duplicate definition error.
Environment:
Android Termux, on a Samsung S10, Android 12.
fio version: current master,
9f9340
Reproduction steps
To reproduce, on an android phone I ran
make
.I got these logs:
To fix the error, I commented out the definition of
nvme_uring_cmd
with this patch:which fixed the issue.
The program that configure tries to compile to check for
nvme_uring_cmd
support actually works:it returns 72, so it's odd that it believes that my device doesn't already include
nvme_uring_cmd
.