mdk3 error installition

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












tried many times and many ways install mdk3,
without success
thanks for those who helped !



~/mdk3-6.0$ sudo make install



/tmp/cc9h6CjX.o: In function init_channel_hopper':
/home/jenanie/mdk3-6.0/mdk3.c:1269: undefined reference to
pthread_create'
/tmp/cc9h6CjX.o: In function ssid_brute':
/home/jenanie/mdk3-6.0/mdk3.c:2282: undefined reference to
pthread_create'
/tmp/cc9h6CjX.o: In function ssid_brute_real':
/home/jenanie/mdk3-6.0/mdk3.c:2332: undefined reference to
pthread_create'
/tmp/cc9h6CjX.o: In function intelligent_auth_dos':
/home/jenanie/mdk3-6.0/mdk3.c:2702: undefined reference to
pthread_create'
/tmp/cc9h6CjX.o: In function wids_machine':
/home/jenanie/mdk3-6.0/mdk3.c:2790: undefined reference to
pthread_create'
/tmp/cc9h6CjX.o:/home/jenanie/mdk3-6.0/mdk3.c:2868: more undefined references to `pthread_create' follow
collect2: error: ld returned 1 exit status
Makefile:22: recipe for target 'mdk3' failed
make: *** [mdk3] Error 1







share|improve this question
























    up vote
    0
    down vote

    favorite












    tried many times and many ways install mdk3,
    without success
    thanks for those who helped !



    ~/mdk3-6.0$ sudo make install



    /tmp/cc9h6CjX.o: In function init_channel_hopper':
    /home/jenanie/mdk3-6.0/mdk3.c:1269: undefined reference to
    pthread_create'
    /tmp/cc9h6CjX.o: In function ssid_brute':
    /home/jenanie/mdk3-6.0/mdk3.c:2282: undefined reference to
    pthread_create'
    /tmp/cc9h6CjX.o: In function ssid_brute_real':
    /home/jenanie/mdk3-6.0/mdk3.c:2332: undefined reference to
    pthread_create'
    /tmp/cc9h6CjX.o: In function intelligent_auth_dos':
    /home/jenanie/mdk3-6.0/mdk3.c:2702: undefined reference to
    pthread_create'
    /tmp/cc9h6CjX.o: In function wids_machine':
    /home/jenanie/mdk3-6.0/mdk3.c:2790: undefined reference to
    pthread_create'
    /tmp/cc9h6CjX.o:/home/jenanie/mdk3-6.0/mdk3.c:2868: more undefined references to `pthread_create' follow
    collect2: error: ld returned 1 exit status
    Makefile:22: recipe for target 'mdk3' failed
    make: *** [mdk3] Error 1







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      tried many times and many ways install mdk3,
      without success
      thanks for those who helped !



      ~/mdk3-6.0$ sudo make install



      /tmp/cc9h6CjX.o: In function init_channel_hopper':
      /home/jenanie/mdk3-6.0/mdk3.c:1269: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function ssid_brute':
      /home/jenanie/mdk3-6.0/mdk3.c:2282: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function ssid_brute_real':
      /home/jenanie/mdk3-6.0/mdk3.c:2332: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function intelligent_auth_dos':
      /home/jenanie/mdk3-6.0/mdk3.c:2702: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function wids_machine':
      /home/jenanie/mdk3-6.0/mdk3.c:2790: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o:/home/jenanie/mdk3-6.0/mdk3.c:2868: more undefined references to `pthread_create' follow
      collect2: error: ld returned 1 exit status
      Makefile:22: recipe for target 'mdk3' failed
      make: *** [mdk3] Error 1







      share|improve this question












      tried many times and many ways install mdk3,
      without success
      thanks for those who helped !



      ~/mdk3-6.0$ sudo make install



      /tmp/cc9h6CjX.o: In function init_channel_hopper':
      /home/jenanie/mdk3-6.0/mdk3.c:1269: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function ssid_brute':
      /home/jenanie/mdk3-6.0/mdk3.c:2282: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function ssid_brute_real':
      /home/jenanie/mdk3-6.0/mdk3.c:2332: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function intelligent_auth_dos':
      /home/jenanie/mdk3-6.0/mdk3.c:2702: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o: In function wids_machine':
      /home/jenanie/mdk3-6.0/mdk3.c:2790: undefined reference to
      pthread_create'
      /tmp/cc9h6CjX.o:/home/jenanie/mdk3-6.0/mdk3.c:2868: more undefined references to `pthread_create' follow
      collect2: error: ld returned 1 exit status
      Makefile:22: recipe for target 'mdk3' failed
      make: *** [mdk3] Error 1









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 30 at 13:20









      jena

      6




      6




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          mdk3 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:



          sudo apt install mdk3 


          In earlier versions of Ubuntu manually download either mdk3_6.0-4_amd64.deb or mdk3_6.0-4_i386.deb depending on your OS's architecture. Open a terminal, use cd to change directories to the directory where mdk3_6.0-4_amd64.deb is located and install it using these commands:



          sudo apt install aircrack-ng
          sudo dpkg -i mdk3_6.0-4_amd64.deb





          share|improve this answer





























            up vote
            0
            down vote













            I think it is always good to understand an error and to not rely on packaging for everything. To install mdk3 from the source you just need to slightly modify the second line of the makefile.
            The makefile as it comes starts like this:



            CFLAGS = -g -O3 -Wall -Wextra
            LINKFLAGS = -lpthread


            And you can see in the error log that the compiler searches for pthread and not for lpthread. So, you just have to edit the second line of your makefile and remove the l in the the value -lpthread. Like this:



            CFLAGS = -g -O3 -Wall -Wextra
            LINKFLAGS = -pthread


            Save the modification. You can now compile correctly and install mdk3-v6 in your Ubuntu with make and sudo make install



            enter image description here






            share|improve this answer




















              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',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );








               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030118%2fmdk3-error-installition%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              mdk3 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:



              sudo apt install mdk3 


              In earlier versions of Ubuntu manually download either mdk3_6.0-4_amd64.deb or mdk3_6.0-4_i386.deb depending on your OS's architecture. Open a terminal, use cd to change directories to the directory where mdk3_6.0-4_amd64.deb is located and install it using these commands:



              sudo apt install aircrack-ng
              sudo dpkg -i mdk3_6.0-4_amd64.deb





              share|improve this answer


























                up vote
                0
                down vote













                mdk3 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:



                sudo apt install mdk3 


                In earlier versions of Ubuntu manually download either mdk3_6.0-4_amd64.deb or mdk3_6.0-4_i386.deb depending on your OS's architecture. Open a terminal, use cd to change directories to the directory where mdk3_6.0-4_amd64.deb is located and install it using these commands:



                sudo apt install aircrack-ng
                sudo dpkg -i mdk3_6.0-4_amd64.deb





                share|improve this answer
























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  mdk3 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:



                  sudo apt install mdk3 


                  In earlier versions of Ubuntu manually download either mdk3_6.0-4_amd64.deb or mdk3_6.0-4_i386.deb depending on your OS's architecture. Open a terminal, use cd to change directories to the directory where mdk3_6.0-4_amd64.deb is located and install it using these commands:



                  sudo apt install aircrack-ng
                  sudo dpkg -i mdk3_6.0-4_amd64.deb





                  share|improve this answer














                  mdk3 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:



                  sudo apt install mdk3 


                  In earlier versions of Ubuntu manually download either mdk3_6.0-4_amd64.deb or mdk3_6.0-4_i386.deb depending on your OS's architecture. Open a terminal, use cd to change directories to the directory where mdk3_6.0-4_amd64.deb is located and install it using these commands:



                  sudo apt install aircrack-ng
                  sudo dpkg -i mdk3_6.0-4_amd64.deb






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jun 1 at 14:27

























                  answered Apr 30 at 13:24









                  karel

                  50k11107127




                  50k11107127






















                      up vote
                      0
                      down vote













                      I think it is always good to understand an error and to not rely on packaging for everything. To install mdk3 from the source you just need to slightly modify the second line of the makefile.
                      The makefile as it comes starts like this:



                      CFLAGS = -g -O3 -Wall -Wextra
                      LINKFLAGS = -lpthread


                      And you can see in the error log that the compiler searches for pthread and not for lpthread. So, you just have to edit the second line of your makefile and remove the l in the the value -lpthread. Like this:



                      CFLAGS = -g -O3 -Wall -Wextra
                      LINKFLAGS = -pthread


                      Save the modification. You can now compile correctly and install mdk3-v6 in your Ubuntu with make and sudo make install



                      enter image description here






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        I think it is always good to understand an error and to not rely on packaging for everything. To install mdk3 from the source you just need to slightly modify the second line of the makefile.
                        The makefile as it comes starts like this:



                        CFLAGS = -g -O3 -Wall -Wextra
                        LINKFLAGS = -lpthread


                        And you can see in the error log that the compiler searches for pthread and not for lpthread. So, you just have to edit the second line of your makefile and remove the l in the the value -lpthread. Like this:



                        CFLAGS = -g -O3 -Wall -Wextra
                        LINKFLAGS = -pthread


                        Save the modification. You can now compile correctly and install mdk3-v6 in your Ubuntu with make and sudo make install



                        enter image description here






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          I think it is always good to understand an error and to not rely on packaging for everything. To install mdk3 from the source you just need to slightly modify the second line of the makefile.
                          The makefile as it comes starts like this:



                          CFLAGS = -g -O3 -Wall -Wextra
                          LINKFLAGS = -lpthread


                          And you can see in the error log that the compiler searches for pthread and not for lpthread. So, you just have to edit the second line of your makefile and remove the l in the the value -lpthread. Like this:



                          CFLAGS = -g -O3 -Wall -Wextra
                          LINKFLAGS = -pthread


                          Save the modification. You can now compile correctly and install mdk3-v6 in your Ubuntu with make and sudo make install



                          enter image description here






                          share|improve this answer












                          I think it is always good to understand an error and to not rely on packaging for everything. To install mdk3 from the source you just need to slightly modify the second line of the makefile.
                          The makefile as it comes starts like this:



                          CFLAGS = -g -O3 -Wall -Wextra
                          LINKFLAGS = -lpthread


                          And you can see in the error log that the compiler searches for pthread and not for lpthread. So, you just have to edit the second line of your makefile and remove the l in the the value -lpthread. Like this:



                          CFLAGS = -g -O3 -Wall -Wextra
                          LINKFLAGS = -pthread


                          Save the modification. You can now compile correctly and install mdk3-v6 in your Ubuntu with make and sudo make install



                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jun 1 at 15:04









                          kcdtv

                          469515




                          469515






















                               

                              draft saved


                              draft discarded


























                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030118%2fmdk3-error-installition%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              pylint3 and pip3 broken

                              Missing snmpget and snmpwalk

                              How to enroll fingerprints to Ubuntu 17.10 with VFS491