From: Randy Dunlap <rdunlap@xenotime.net>
To: Franklin Wei <frankhwei536@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>,
linux-kernel@vger.kernel.org,
Masami Hiramatsu <mhiramat@redhat.com>
Subject: Re: arch/x86/lib/inat.c Error
Date: Mon, 24 Sep 2012 18:16:50 -0700 [thread overview]
Message-ID: <50610602.5050003@xenotime.net> (raw)
In-Reply-To: <CAEMuUzjbudxmGOZqB2HBLNa7p=aRqdiNKNXZLRV7c9yKPJ7TxQ@mail.gmail.com>
On 09/24/2012 04:04 PM, Franklin Wei wrote:
> Here it is
>
> On 9/24/12, Borislav Petkov <bp@alien8.de> wrote:
>> On Sun, Sep 23, 2012 at 04:34:24PM -0400, Franklin Wei wrote:
>>> Something wrong with lines 29-86
>>> Error message when compiling:
>>> CC arch/x86/lib/inat.o
>>> arch/x86/lib/inat.c: In function ‘inat_get_opcode_attribute’:
>>> arch/x86/lib/inat.c:29: error: ‘inat_primary_table’ undeclared (first
>>> use in this function)
>>> arch/x86/lib/inat.c:29: error: (Each undeclared identifier is reported
>>> only once
>>> arch/x86/lib/inat.c:29: error: for each function it appears in.)
>>> arch/x86/lib/inat.c: In function ‘inat_get_escape_attribute’:
>>> arch/x86/lib/inat.c:48: error: ‘inat_escape_tables’ undeclared (first
>>> use in this function)
>>> arch/x86/lib/inat.c: In function ‘inat_get_group_attribute’:
>>> arch/x86/lib/inat.c:67: error: ‘inat_group_tables’ undeclared (first
>>> use in this function)
>>> arch/x86/lib/inat.c: In function ‘inat_get_avx_attribute’:
>>> arch/x86/lib/inat.c:86: error: ‘inat_avx_tables’ undeclared (first use
>>> in this function)
>>> make[1]: *** [arch/x86/lib/inat.o] Error 1
>>> make: *** [arch/x86/lib] Error 2
>>
>> That's because all those _tables thingies are included from a
>> "inat-tables.c" in the same directory but it somehow doesn't get
>> included?!
>>
>> Can we get your .config pls? Also, you're doing a "normal" kernel build
>> on the command line, right?
>>
>> Thanks.
Your config builds OK for me.
Do you see this line in your build output before inat.c is built?
GEN arch/x86/lib/inat-tables.c
--
~Randy
next prev parent reply other threads:[~2012-09-25 1:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-23 20:34 Franklin Wei
2012-09-24 7:59 ` Borislav Petkov
2012-09-24 23:04 ` Franklin Wei
2012-09-25 1:16 ` Randy Dunlap [this message]
2012-09-25 9:13 ` Borislav Petkov
2012-09-25 22:30 ` Franklin Wei
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=50610602.5050003@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=bp@alien8.de \
--cc=frankhwei536@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@redhat.com \
/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
all inboxes | Powered by JetHome®