“Error 2”, excuse me wtf am I supposed to do with this information?

downloaded linux kernel and tried to compile, installed all the shit required but noooo error 2 who the fck come up with this shit

  • cygnus@lemmy.ca
    link
    fedilink
    arrow-up
    28
    ·
    edit-2
    11 months ago

    what if I wanted to laugh at a funny Linux meme, but see a whingefest with a screenshot of a terminal

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    29
    arrow-down
    1
    ·
    11 months ago

    There is always more information. Error 2 just means the script couldn’t finish I think. Scroll up :)

  • Willem@kutsuya.dev
    link
    fedilink
    arrow-up
    8
    ·
    11 months ago

    It’s quite a bad UX, but generally error 2 from make means the called program resulted into an error.

    Usually this is accompanied with another error somewhere up the log. Multiple cores can make this a challenge to scan the log for however, so maybe try compiling without the -j argument, that should get the actual error closer to the end.

    From my experience, it’s usually an outdated config for the kernel (like using a config for 5.1 while compiling 6.7) or a missing dependency. However the real error will be somewhere among the logs, who knows, maybe it’s a missing processor instruction (it’s really bad UX).

  • callyral [he/they]@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    In C exit codes are numbers, in the Makefile it says line n° 2014, error 2 probably has some kind of special meaning, you could take a look and search from there.

  • rah@feddit.uk
    link
    fedilink
    arrow-up
    11
    arrow-down
    20
    ·
    edit-2
    11 months ago

    Look at the build output for the error. Run the build again with “-j1” if neccessary.

    Also, try searching the web before crying on social media. If you can’t solve your problems without being spoon-fed then GNU/Linux probably isn’t for you.