Building/MAKE for Netgear A6210 Chepset fails












0















Note, I've tried searching/googling for any information on why this one fails but for some reason it works for everyone else.



But first, here is spec info:




  • The Adapter is AC1200 (A6210) WiFi USB Adapter.

  • Arch === x86_64

  • Uname -a === Linux Braydon-Ubuntu 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


This is the steps I took to replicate the issue:



$ git clone https://github.com/kaduke/Netgear-A6210.get
$ cd Netgear-A6210
$ make



ERROR BEGINS AFTER MAKE




export DBGFLAGS

*** Building driver with debug messages ***

-cp -f os/linux/Makefile.6 /home/braydon/Desktop/Netgear-A6210/os/linux/Makefile

-make -C /lib/modules/4.15.0-45-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/braydon/Desktop/Netgear-A6210/os/linux modules

-make[1]: Entering directory '/usr/src/linux-headers-4.15.0-45-generic'

-arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support

-./scripts/gcc-version.sh: line 26: gcc: command not found

-./scripts/gcc-version.sh: line 27: gcc: command not found

-make[1]: gcc: Command not found

-Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"

CC [M] /home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o
/bin/sh: 1: gcc: not found

scripts/Makefile.build:332: recipe for target '/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o' failed

make[2]: *** [/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o] Error 127

Makefile:1551: recipe for target '_module_/home/braydon/Desktop/Netgear-A6210/os/linux' failed

make[1]: *** [_module_/home/braydon/Desktop/Netgear-A6210/os/linux] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-45-generic'

Makefile:59: recipe for target 'debug' failed

make: *** [debug] Error 2


MAKE then fails and installing with make will also fail from this point on. Does anyone know what can be done to resolve it?



NOTE: EVEN AFTER SUCCESSFULLY RUNNING THE COMMAND
apt install libelf-dev
and re-running the make command there is no changes to the error log/









share







New contributor




Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Note, I've tried searching/googling for any information on why this one fails but for some reason it works for everyone else.



    But first, here is spec info:




    • The Adapter is AC1200 (A6210) WiFi USB Adapter.

    • Arch === x86_64

    • Uname -a === Linux Braydon-Ubuntu 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


    This is the steps I took to replicate the issue:



    $ git clone https://github.com/kaduke/Netgear-A6210.get
    $ cd Netgear-A6210
    $ make



    ERROR BEGINS AFTER MAKE




    export DBGFLAGS

    *** Building driver with debug messages ***

    -cp -f os/linux/Makefile.6 /home/braydon/Desktop/Netgear-A6210/os/linux/Makefile

    -make -C /lib/modules/4.15.0-45-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/braydon/Desktop/Netgear-A6210/os/linux modules

    -make[1]: Entering directory '/usr/src/linux-headers-4.15.0-45-generic'

    -arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support

    -./scripts/gcc-version.sh: line 26: gcc: command not found

    -./scripts/gcc-version.sh: line 27: gcc: command not found

    -make[1]: gcc: Command not found

    -Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"

    CC [M] /home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o
    /bin/sh: 1: gcc: not found

    scripts/Makefile.build:332: recipe for target '/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o' failed

    make[2]: *** [/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o] Error 127

    Makefile:1551: recipe for target '_module_/home/braydon/Desktop/Netgear-A6210/os/linux' failed

    make[1]: *** [_module_/home/braydon/Desktop/Netgear-A6210/os/linux] Error 2

    make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-45-generic'

    Makefile:59: recipe for target 'debug' failed

    make: *** [debug] Error 2


    MAKE then fails and installing with make will also fail from this point on. Does anyone know what can be done to resolve it?



    NOTE: EVEN AFTER SUCCESSFULLY RUNNING THE COMMAND
    apt install libelf-dev
    and re-running the make command there is no changes to the error log/









    share







    New contributor




    Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Note, I've tried searching/googling for any information on why this one fails but for some reason it works for everyone else.



      But first, here is spec info:




      • The Adapter is AC1200 (A6210) WiFi USB Adapter.

      • Arch === x86_64

      • Uname -a === Linux Braydon-Ubuntu 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


      This is the steps I took to replicate the issue:



      $ git clone https://github.com/kaduke/Netgear-A6210.get
      $ cd Netgear-A6210
      $ make



      ERROR BEGINS AFTER MAKE




      export DBGFLAGS

      *** Building driver with debug messages ***

      -cp -f os/linux/Makefile.6 /home/braydon/Desktop/Netgear-A6210/os/linux/Makefile

      -make -C /lib/modules/4.15.0-45-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/braydon/Desktop/Netgear-A6210/os/linux modules

      -make[1]: Entering directory '/usr/src/linux-headers-4.15.0-45-generic'

      -arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support

      -./scripts/gcc-version.sh: line 26: gcc: command not found

      -./scripts/gcc-version.sh: line 27: gcc: command not found

      -make[1]: gcc: Command not found

      -Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"

      CC [M] /home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o
      /bin/sh: 1: gcc: not found

      scripts/Makefile.build:332: recipe for target '/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o' failed

      make[2]: *** [/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o] Error 127

      Makefile:1551: recipe for target '_module_/home/braydon/Desktop/Netgear-A6210/os/linux' failed

      make[1]: *** [_module_/home/braydon/Desktop/Netgear-A6210/os/linux] Error 2

      make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-45-generic'

      Makefile:59: recipe for target 'debug' failed

      make: *** [debug] Error 2


      MAKE then fails and installing with make will also fail from this point on. Does anyone know what can be done to resolve it?



      NOTE: EVEN AFTER SUCCESSFULLY RUNNING THE COMMAND
      apt install libelf-dev
      and re-running the make command there is no changes to the error log/









      share







      New contributor




      Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Note, I've tried searching/googling for any information on why this one fails but for some reason it works for everyone else.



      But first, here is spec info:




      • The Adapter is AC1200 (A6210) WiFi USB Adapter.

      • Arch === x86_64

      • Uname -a === Linux Braydon-Ubuntu 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


      This is the steps I took to replicate the issue:



      $ git clone https://github.com/kaduke/Netgear-A6210.get
      $ cd Netgear-A6210
      $ make



      ERROR BEGINS AFTER MAKE




      export DBGFLAGS

      *** Building driver with debug messages ***

      -cp -f os/linux/Makefile.6 /home/braydon/Desktop/Netgear-A6210/os/linux/Makefile

      -make -C /lib/modules/4.15.0-45-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/braydon/Desktop/Netgear-A6210/os/linux modules

      -make[1]: Entering directory '/usr/src/linux-headers-4.15.0-45-generic'

      -arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support

      -./scripts/gcc-version.sh: line 26: gcc: command not found

      -./scripts/gcc-version.sh: line 27: gcc: command not found

      -make[1]: gcc: Command not found

      -Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"

      CC [M] /home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o
      /bin/sh: 1: gcc: not found

      scripts/Makefile.build:332: recipe for target '/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o' failed

      make[2]: *** [/home/braydon/Desktop/Netgear-A6210/os/linux/../../sta/assoc.o] Error 127

      Makefile:1551: recipe for target '_module_/home/braydon/Desktop/Netgear-A6210/os/linux' failed

      make[1]: *** [_module_/home/braydon/Desktop/Netgear-A6210/os/linux] Error 2

      make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-45-generic'

      Makefile:59: recipe for target 'debug' failed

      make: *** [debug] Error 2


      MAKE then fails and installing with make will also fail from this point on. Does anyone know what can be done to resolve it?



      NOTE: EVEN AFTER SUCCESSFULLY RUNNING THE COMMAND
      apt install libelf-dev
      and re-running the make command there is no changes to the error log/







      networking drivers kernel





      share







      New contributor




      Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 7 mins ago









      Braydon GinesBraydon Gines

      11




      11




      New contributor




      Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Braydon Gines is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Braydon Gines is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117254%2fbuilding-make-for-netgear-a6210-chepset-fails%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Braydon Gines is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Braydon Gines is a new contributor. Be nice, and check out our Code of Conduct.













          Braydon Gines is a new contributor. Be nice, and check out our Code of Conduct.












          Braydon Gines is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117254%2fbuilding-make-for-netgear-a6210-chepset-fails%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          香粉寮

          GameSpot