From: Han Han <hhan@redhat.com>
To: linux-nvme@lists.infradead.org
Cc: kbusch@kernel.org, Han Han <hhan@redhat.com>
Subject: [PATCH libnvme] examples: Add src/ into the include and library path
Date: Tue, 20 Oct 2020 20:45:31 +0800 [thread overview]
Message-ID: <20201020124531.238269-1-hhan@redhat.com> (raw)
That will fix the compiling errors like:
CC telemetry-listen
telemetry-listen.c:21:10: fatal error: libnvme.h: No such file or directory
21 | #include <libnvme.h>
| ^~~~~~~~~~~
Signed-off-by: Han Han <hhan@redhat.com>
---
examples/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/Makefile b/examples/Makefile
index be867a7..24f8574 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,5 +1,5 @@
CFLAGS ?= -g -O2
-override CFLAGS += -Wall -D_GNU_SOURCE
+override CFLAGS += -Wall -D_GNU_SOURCE -I ../src -L ../src
include ../Makefile.quiet
--
2.26.2
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
next reply other threads:[~2020-10-20 12:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-20 12:45 Han Han [this message]
2020-10-20 15:14 ` [PATCH libnvme] examples: Add src/ into the include and library path Keith Busch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201020124531.238269-1-hhan@redhat.com \
--to=hhan@redhat.com \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox