All of lore.kernel.org
 help / color / mirror / Atom feed
* [ERROR] HELP NEEDED
@ 2023-10-07 23:12 Gilbert Adikankwu
  2023-10-08  6:12 ` Julia Lawall
  2023-10-08 12:12 ` Bagas Sanjaya
  0 siblings, 2 replies; 5+ messages in thread
From: Gilbert Adikankwu @ 2023-10-07 23:12 UTC (permalink / raw)
  To: outreachy; +Cc: Julia Lawall

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.

Please advise
Gilbert

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ERROR] HELP NEEDED
  2023-10-07 23:12 [ERROR] HELP NEEDED Gilbert Adikankwu
@ 2023-10-08  6:12 ` Julia Lawall
  2023-10-08  7:06   ` Gilbert Adikankwu
  2023-10-08 12:12 ` Bagas Sanjaya
  1 sibling, 1 reply; 5+ messages in thread
From: Julia Lawall @ 2023-10-08  6:12 UTC (permalink / raw)
  To: Gilbert Adikankwu; +Cc: outreachy



On Sun, 8 Oct 2023, 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.

Maybe there was a previous error.  Start over with make clean and then use
just make without the -j option.  It will take time, but you can see
better what is going on.  You can also do make >& out.  Then you will have
all of the output in the file out, and you can look through it to see what
succeeded and what failed.

julia


>
> Please advise
> Gilbert
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ERROR] HELP NEEDED
  2023-10-08  6:12 ` Julia Lawall
@ 2023-10-08  7:06   ` Gilbert Adikankwu
  2023-10-08 12:05     ` Bagas Sanjaya
  0 siblings, 1 reply; 5+ messages in thread
From: Gilbert Adikankwu @ 2023-10-08  7:06 UTC (permalink / raw)
  To: Julia Lawall; +Cc: outreachy

Hello Julia,

I deleted the kernel and redownloaded it. It is compiling now.

Thanks for your help
Gilbert


On Sun, 8 Oct 2023, 07:12 Julia Lawall, <julia.lawall@inria.fr> wrote:
>
>
>
> On Sun, 8 Oct 2023, 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.
>
> Maybe there was a previous error.  Start over with make clean and then use
> just make without the -j option.  It will take time, but you can see
> better what is going on.  You can also do make >& out.  Then you will have
> all of the output in the file out, and you can look through it to see what
> succeeded and what failed.
>
> julia
>
>
> >
> > Please advise
> > Gilbert
> >

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ERROR] HELP NEEDED
  2023-10-08  7:06   ` Gilbert Adikankwu
@ 2023-10-08 12:05     ` Bagas Sanjaya
  0 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2023-10-08 12:05 UTC (permalink / raw)
  To: Gilbert Adikankwu, Julia Lawall; +Cc: outreachy

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

On Sun, Oct 08, 2023 at 08:06:33AM +0100, Gilbert Adikankwu wrote:
> Hello Julia,
> 
> I deleted the kernel and redownloaded it. It is compiling now.
> 

Please don't top-post; reply inline with appropriate context instead.
This allows readers to easily follow and understand the conversation flow.

Did you download the tarball or cloning via git?

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] 5+ messages in thread

* Re: [ERROR] HELP NEEDED
  2023-10-07 23:12 [ERROR] HELP NEEDED Gilbert Adikankwu
  2023-10-08  6:12 ` Julia Lawall
@ 2023-10-08 12:12 ` Bagas Sanjaya
  1 sibling, 0 replies; 5+ messages 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] 5+ messages in thread

end of thread, other threads:[~2023-10-08 12:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-07 23:12 [ERROR] HELP NEEDED Gilbert Adikankwu
2023-10-08  6:12 ` Julia Lawall
2023-10-08  7:06   ` Gilbert Adikankwu
2023-10-08 12:05     ` Bagas Sanjaya
2023-10-08 12:12 ` Bagas Sanjaya

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.