Results 1 to 8 of 8

Thread: Kernel compile problems, LEAP 15.0

  1. #1

    Default Kernel compile problems, LEAP 15.0

    All,

    I am getting this error on my laptop when I compile a kernel 4.16.x, or 4.17 or 4.14.48. I started with the LEAP 15.0 kernel config and ran make oldconfig, essentially going with the default answer (yes "" | make oldconfig). I have all of kernel-devel (except 32bit).

    Code:
    CALL    scripts/checksyscalls.sh
    make[1]: *** No rule to make target 'm', needed by 'certs/x509_certificate_list'.  Stop.
    make: *** [Makefile:1063: certs] Error 2
    I don't get a bzImage. (4.16.x seems to keep compiling and even goes through modules and modules_install, but no bzImage.) I tried everything I know to remove what seems to be the offending part of the config, CONFIG_SYSTEM_DATA_VERIFICATION and all things related to X509, but that seems to be prevented by makefiles. I went searching for everything related to X509 in packman and the normal LEAP 15.0 repos, everything related seems to be installed.

    RPMs installed: http://www.puresimplicity.net/~delahunt/linux/rpms.txt

    Laptop information: http://www.puresimplicity.net/~delah...sus_R541U.html

    Attempted configs:
    http://www.puresimplicity.net/~delah...config-4.14.48
    http://www.puresimplicity.net/~delah.../config-4.17.0

    LSPCI: http://www.puresimplicity.net/~delahunt/linux/lspci.txt

    LSMOD: http://www.puresimplicity.net/~delahunt/linux/lsmod.txt

  2. #2
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: Kernel compile problems, LEAP 15.0

    Quote Originally Posted by rdelahunt View Post
    I have all of kernel-devel
    This package is not intended for building your own kernel. It exists to allow building of external modules for use with distribution kernel without forcing you to do full kernel build.

  3. #3

    Default Re: Kernel compile problems, LEAP 15.0

    Quote Originally Posted by arvidjaar View Post
    This package is not intended for building your own kernel. It exists to allow building of external modules for use with distribution kernel without forcing you to do full kernel build.
    So what package(s) do I lack?

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,700
    Blog Entries
    1

    Default Re: Kernel compile problems, LEAP 15.0

    openSUSE Leap 15.3; KDE Plasma 5

  5. #5

    Default Re: Kernel compile problems, LEAP 15.0

    Quote Originally Posted by deano_ferrari View Post
    Followed instructions aside from git. gcc and make are already installed. I also researched what packages exist in Slackware-14.3/d (development) and installed all of those (via zypper). Still getting the same error. I made sure I ran make mrproper beforehand. Still no dice.

  6. #6
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: Kernel compile problems, LEAP 15.0

    Quote Originally Posted by rdelahunt View Post
    So what package(s) do I lack?
    I stay corrected - kernel sources are split between kernel-devel and kernel-source so one needs both. I just tried and I had no problems building kernel using kernel-default config with
    Code:
    cp /boot/config-4.12.14-lp150.12.4-default .config
    make -C /usr/src/linux-4.12.14-lp150.11 O=$PWD oldconfig
    make -C /usr/src/linux-4.12.14-lp150.11 O=$PWD

  7. #7

    Default Re: Kernel compile problems, LEAP 15.0

    Quote Originally Posted by arvidjaar View Post
    I stay corrected - kernel sources are split between kernel-devel and kernel-source so one needs both. I just tried and I had no problems building kernel using kernel-default config with
    Code:
    cp /boot/config-4.12.14-lp150.12.4-default .config
    make -C /usr/src/linux-4.12.14-lp150.11 O=$PWD oldconfig
    make -C /usr/src/linux-4.12.14-lp150.11 O=$PWD
    Yeah that's been installed this whole time (see rpms.txt from OP), I'm not trying to compile the kernel that comes with openSUSE LEAP 15.0. I'm trying to compile different versions, as noted in my OP.

  8. #8
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: Kernel compile problems, LEAP 15.0

    Quote Originally Posted by rdelahunt View Post
    I'm not trying to compile the kernel that comes with openSUSE LEAP 15.0
    In this case it is irrelevant what kernel-* RPMs are installed. Where kernel source comes from?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •