Re: Error when building kernel

"Pierre Labastie" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
On Sun, 2023-09-17 at 07:06 +0200, Dragan wrote:
> This morning I've pulled latest version of jhalfs and started LFS build.
> 
> I've got error when building kernel using kernel config file from linux 
> 6.4.12.
> 
> 
>       Target 1001-fstab OK
> ------------------------------------------------------------------------------
> --
> ------------------------------------------------------------------------------
> --
>   Building target 1002-kernel
>   [++++++++++++++++++/make: *** [Makefile:1924: 1002-kernel] Error 124. 
> 18 sec
> make[1]: *** [Makefile:116: mk_BOOT] Error 2
> make[1]: Leaving directory '/lfs/jhalfs'
> 
> 
> ERROR:  Error 2 at common/common-functions line 38!
> 
> <jhalfs> exit
> make: *** [Makefile:11: all] Error 2

There is a log file in <$LFS>/jhalfs/logs/, which is named 1002-kernel. It must
have something to say about the error... You should always look at the log files
when you get an error!
But error 124 is most likely due to a timeout, which most likely means your
kernel config is not up to date, and "make oldconfig" was waiting for some
input...
Previously, the build would have been stuck forever. Now it times out after a
minute.

Pierre

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.