“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

  • @[email protected]
    link
    fedilink
    34
    edit-2
    1 year ago

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

  • @[email protected]
    link
    fedilink
    34
    edit-2
    1 year ago

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

  • @[email protected]
    link
    fedilink
    91 year 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).

  • cally [he/they]
    link
    fedilink
    English
    41 year 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.

  • @[email protected]
    link
    fedilink
    -7
    edit-2
    1 year 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
      link
      English
      331 year 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
        link
        11 year 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
          link
          English
          121 year 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
            link
            1
            edit-2
            1 year 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
            link
            English
            -11 year 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
              link
              English
              3
              edit-2
              1 year ago

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

          • @[email protected]
            link
            fedilink
            -51 year ago

            unwelcoming attitude to newcomers

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