From: Gary Yang <garyyang6@yahoo.com>
To: linux-config@vger.kernel.org
Subject: How to insert splint info Makefile? Any idea?
Date: Thu, 25 Mar 2010 18:29:01 -0700 (PDT) [thread overview]
Message-ID: <845799.35706.qm@web37904.mail.mud.yahoo.com> (raw)
Hi,
I am working on linux-2.6.25. I would like to use splint. At one of the source directory, I typed "splint *.c". I got "Cannot find include file", "Cannot continue". I understand that I need to run splint inside the Makefile so that it will find the correct include files. However, how to insert splint info Makefile? Any idea?
splint *.c
Splint 3.1.2 --- 24 Mar 2010
cache.c:7:25: Cannot find include file asm/pgtable.h on search path:
/usr/include;/usr/local/include
Preprocessing error. (Use -preproc to inhibit warning)
cache.c:42:27: #error Unknown cache type.
Preprocessing error for file: /projects/svdc/P4wsIPCSW/buildsw_canyonlands/linux
/arch/m32r/mm/cache.c
*** Cannot continue.
Thanks,
Gary
next reply other threads:[~2010-03-26 1:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 1:29 Gary Yang [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-03-26 1:30 How to insert splint info Makefile? Any idea? Gary Yang
2010-03-26 2:18 ` Valdis.Kletnieks
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=845799.35706.qm@web37904.mail.mud.yahoo.com \
--to=garyyang6@yahoo.com \
--cc=linux-config@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.