The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Re: [ERROR] HELP NEEDED
       [not found] <CAKrXSsbDAA=VXpy5kO33S9LkjLVGyZNKsmN2ttk_fK0kKRRLAw@mail.gmail.com>
@ 2023-10-08 12:12 ` Bagas Sanjaya
  0 siblings, 0 replies; only message in thread
From: Bagas Sanjaya @ 2023-10-08 12:12 UTC (permalink / raw)
  To: Gilbert Adikankwu, Linux Outreachy, Linux Kernel Mailing List
  Cc: Julia Lawall, Andy Lutomirski, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, x86, H. Peter Anvin

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-08 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAKrXSsbDAA=VXpy5kO33S9LkjLVGyZNKsmN2ttk_fK0kKRRLAw@mail.gmail.com>
2023-10-08 12:12 ` [ERROR] HELP NEEDED Bagas Sanjaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox