LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Teck Choon Giam <giamteckchoon@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Re: kernel-4.9.94 compile error: 'KMOD_DECOMP_LEN' undeclared
Date: Fri, 20 Apr 2018 17:29:19 +0800	[thread overview]
Message-ID: <CAEwRVpPCFumSj45tCEbTg87u2wuG2AT+S69s4+uHCSM2pLR34A@mail.gmail.com> (raw)
In-Reply-To: <CAEwRVpOFS5UsyVHkHr+w_OR0eSpvT-CZGG6b4Vr6gxkc4rwO6g@mail.gmail.com>

HI,

> <mock-chroot>sh-4.2# grep -r KMOD_DECOMP_LEN ./linux-4.15.17
> ./linux-4.15.17/tools/perf/tests/code-reading.c: char
> decomp_name[KMOD_DECOMP_LEN];
> ./linux-4.15.17/tools/perf/util/dso.h:#define KMOD_DECOMP_LEN
> sizeof(KMOD_DECOMP_NAME)
> ./linux-4.15.17/tools/perf/util/annotate.c: char tmp[KMOD_DECOMP_LEN];
> ./linux-4.15.17/tools/perf/util/dso.c: char newpath[KMOD_DECOMP_LEN];
> sh-4.2# grep -r KMOD_DECOMP_LEN ./linux-4.9.94
> ./linux-4.9.94/tools/perf/tests/code-reading.c: char
> decomp_name[KMOD_DECOMP_LEN];
> ./linux-4.9.94/tools/perf/util/dso.c: char newpath[KMOD_DECOMP_LEN];
>
> So I guess for linux-4.9.94 has not define KMOD_DECOMP_LEN in
> tools/perf/util/dso.h?

grep -r KMOD_DECOMP_LEN ./linux-4.9.95
./linux-4.9.95/tools/perf/util/dso.c: char newpath[KMOD_DECOMP_LEN];

linux-4.9.95 still can't compile for tools/perf:

util/dso.c:370:16: error: 'KMOD_DECOMP_LEN' undeclared (first use in
this function)
make[3]: *** [util/dso.o] Error 1
make[2]: *** [util] Error 2
make[1]: *** [libperf-in.o] Error 2
make: *** [all] Error 2

Thanks.

Regards,
Giam Teck Choon

  parent reply	other threads:[~2018-04-20  9:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-14  9:41 Teck Choon Giam
2018-04-14 17:29 ` Akemi Yagi
2018-04-20  9:29 ` Teck Choon Giam [this message]
2018-04-27 17:28 ` Randy Dunlap
2018-04-28  5:00   ` Greg Kroah-Hartman
2018-04-28  6:09     ` Randy Dunlap
2018-04-28  8:11       ` Greg Kroah-Hartman
2018-04-28 11:54         ` Teck Choon Giam
2018-04-28 11:58           ` Greg Kroah-Hartman

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=CAEwRVpPCFumSj45tCEbTg87u2wuG2AT+S69s4+uHCSM2pLR34A@mail.gmail.com \
    --to=giamteckchoon@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: kernel-4.9.94 compile error: '\''KMOD_DECOMP_LEN'\'' undeclared' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).