From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Gilbert Adikankwu <gilbertadikankwu@gmail.com>,
Linux Outreachy <outreachy@lists.linux.dev>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Julia Lawall <Julia.Lawall@inria.fr>,
Andy Lutomirski <luto@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [ERROR] HELP NEEDED
Date: Sun, 8 Oct 2023 19:12:48 +0700 [thread overview]
Message-ID: <ZSKcwGbe0ZDWSdHQ@debian.me> (raw)
In-Reply-To: <CAKrXSsbDAA=VXpy5kO33S9LkjLVGyZNKsmN2ttk_fK0kKRRLAw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]
On Sun, Oct 08, 2023 at 12:12:17AM +0100, Gilbert Adikankwu wrote:
> Hello fellow community member,
>
> I'm trying to build the kernel on Ubuntu 22.04 LTS natively installed
> on my computer and I'm getting this error message:
>
> arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table
> make[2]: *** [scripts/Makefile.build:361: arch/x86/entry/thunk_64.o] Error 1
> make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o'
> make[1]: *** [scripts/Makefile.build:497: arch/x86/entry] Error 2
> make: *** [Makefile:1764: arch/x86] Error 2
>
> It seems like a file is missing but I don't know if that is possible
> because I just cloned the repository and didn't touch any file.
>
You should always clean up the tree first (`make mrproper`), then do
the build as usual. To speed up build time, you can try copying your
current kernel configuration (can be found either in `/boot/` directory
or in `/proc/config.gz`), then trim it up with `make localmodconfig`.
Make sure that all options needed by your computer are enabled (you
may have to plug all peripherals available on your hand) as well as
options related to kernel subsystem/driver you're hacking. For more
information, see Documentation/admin-guide/quickly-build-trimmed-linux.rst.
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
parent reply other threads:[~2023-10-08 12:29 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAKrXSsbDAA=VXpy5kO33S9LkjLVGyZNKsmN2ttk_fK0kKRRLAw@mail.gmail.com>]
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=ZSKcwGbe0ZDWSdHQ@debian.me \
--to=bagasdotme@gmail.com \
--cc=Julia.Lawall@inria.fr \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=gilbertadikankwu@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=outreachy@lists.linux.dev \
--cc=tglx@linutronix.de \
--cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox