“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
    34
    ·
    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
    35
    arrow-down
    1
    ·
    edit-2
    11 months ago

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

  • Willem@kutsuya.dev
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    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
    4
    ·
    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
    17
    arrow-down
    24
    ·
    edit-2
    10 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.

    • Synthead@lemmy.world
      link
      fedilink
      English
      arrow-up
      38
      arrow-down
      5
      ·
      11 months ago

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

      Sheesh, let them be frustrated already. Besides, asking for help is totally valid.

      • platypus_plumba@lemmy.world
        link
        fedilink
        arrow-up
        8
        arrow-down
        7
        ·
        11 months ago

        Yeha, but you can ask for help without taking a shit on the effort of thousands of engineers.

        If you’re using a whole kernel for free, at least be nice when very deep technical things that you clearly don’t understand don’t go as you expected.

        It’s called having etiquette

        • Synthead@lemmy.world
          link
          fedilink
          English
          arrow-up
          13
          arrow-down
          1
          ·
          11 months ago

          Yeha, but you can ask for help without taking a shit on the effort of thousands of engineers.

          I doubt OP thought, ‘I’m going to take a shit on thousands of engineers.’ It’s okay to not know what to do, including asking for help. If they don’t know what to do with “error 2,” they’re obviously lost. This unwelcoming attitude to newcomers is a big problem, and in my opinion, it’s probably best not to contribute to it.

          You can rephrase what you’re saying and provide better help to someone who’s completely lost in a much more polite and informative way. It’s better for everyone.

          • platypus_plumba@lemmy.world
            link
            fedilink
            arrow-up
            4
            arrow-down
            3
            ·
            edit-2
            11 months ago

            He’s the one who should ask for help nicely.

            1. He’s the one asking for help.
            2. This is a 100% free and extremely complex piece of technology built by very smart people, so chances are that he is the problem and not the kernel.
            3. Always be nice, even if the product is the problem. Specially when it is given to you for free.
            4. People are answering to him with the same attitude he used to ask for help. You get what you give.

            Imagine you clean your friend’s house for free because you’re a good friend. 2 hours later he calls you and says “What the fuck am I supposed to do with the shoes you forgot to pick from the living room?”.

            Can you even call that asking for help? He’s clearly just bitching.

          • SuperIce@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            4
            ·
            11 months ago

            Did you not read his post? He is absolutely taking a shit on all the engineers. You can ask for help without cursing at and insulting the work of the engineers.

            • Synthead@lemmy.world
              link
              fedilink
              English
              arrow-up
              4
              arrow-down
              1
              ·
              edit-2
              11 months ago

              I’m giving them a little empathy because they are frustrated; that’s all. We’ve all been there.

          • rah@feddit.uk
            link
            fedilink
            arrow-up
            1
            arrow-down
            6
            ·
            11 months ago

            unwelcoming attitude to newcomers

            There isn’t an unwelcoming attitude to newcomers, there’s an unwelcoming attitude to idiots.