Can't install FLUXION 5.9 dependency “mdk4” on ubuntu 18.04OEM Install ubuntu 18.04Can't install libsnmp-dev on Ubuntu 18.04 (package dependency errors)Can't install Openssl on Ubuntu 18.04

'Pound' meaning in this context

Can digital computers understand infinity?

Why increase or decrease rudder when using elevator in turns?

Any Issues with running Workbench 1.3 on a Kickstart 1.2 Amiga 500?

I got this nail stuck in my tire, should I plug or replace?

Will Schnorr Multi-signatures completely replace ECDSA?

Why does Sonny say they call Michael "Giogali"?

Why is the empennage design of this Lockheed 1049E so complicated?

When did 5 foot squares become standard in D&D?

Why does b+=(4,) work and b = b + (4,) doesn't work when b is a list?

Do you say "good game" after a game in which your opponent played poorly?

Has there been a Kraken patron for the Warlock class in Unearthed Arcana?

How should the 23rd judge vote?

What does this text mean with capitalized letters?

In the comics, have any of the Robins called their costume "target attraction" for villains?

Can Boris Johnson invoke the Civil Contingencies Act to suspend the Benn law?

How to customize save function event?

Slaad Chaos Phage: Weak Combat Ability?

Incorrect mmap behavior when assembly files included in the project

Novel with a mix of real world and gods

3-prong to 4-prong conversion - EXTRA MISLABELLED WIRES - Dryer cable upgrade and installation

Should I avoid "big words" when writing to a younger audience?

How to plot two axis bar chart side by side

What are the branches of statistics?



Can't install FLUXION 5.9 dependency “mdk4” on ubuntu 18.04


OEM Install ubuntu 18.04Can't install libsnmp-dev on Ubuntu 18.04 (package dependency errors)Can't install Openssl on Ubuntu 18.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I want to install Fluxion 5.9 on ubuntu 18.04 with its dependencies but I'm facing problems with the package "mdk4" and the installation aborts after many warnings and make: *** [install] Error 127.



apt-get install pkg-config libnl-3-dev libnl-genl-3-dev libpcap-dev
git clone https://github.com/aircrack-ng/mdk4
cd mdk4
make
sudo make install


Installation fails with many errors and warnings :



channelhopper.c: In function ‘init_channel_hopper’:
channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]
int lpos = 0, i;
^
At top level:
channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used [-Wunused-function]
static char *dfs_state_name(enum nl80211_dfs_state state)
^~~~~~~~~~~~~~
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o ghosting.o ghosting.c
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o fragmenting.o fragmenting.c
make -C attacks
make[2]: Entering directory '/mdk4/src/attacks'
cc -g -O3 -Wall -Wextra -c -o attacks.o attacks.c
attacks.c: In function ‘load_attacks’:
attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);









share|improve this question
































    0

















    I want to install Fluxion 5.9 on ubuntu 18.04 with its dependencies but I'm facing problems with the package "mdk4" and the installation aborts after many warnings and make: *** [install] Error 127.



    apt-get install pkg-config libnl-3-dev libnl-genl-3-dev libpcap-dev
    git clone https://github.com/aircrack-ng/mdk4
    cd mdk4
    make
    sudo make install


    Installation fails with many errors and warnings :



    channelhopper.c: In function ‘init_channel_hopper’:
    channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]
    int lpos = 0, i;
    ^
    At top level:
    channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used [-Wunused-function]
    static char *dfs_state_name(enum nl80211_dfs_state state)
    ^~~~~~~~~~~~~~
    gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o ghosting.o ghosting.c
    gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o fragmenting.o fragmenting.c
    make -C attacks
    make[2]: Entering directory '/mdk4/src/attacks'
    cc -g -O3 -Wall -Wextra -c -o attacks.o attacks.c
    attacks.c: In function ‘load_attacks’:
    attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
    struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);









    share|improve this question




























      0












      0








      0


      1






      I want to install Fluxion 5.9 on ubuntu 18.04 with its dependencies but I'm facing problems with the package "mdk4" and the installation aborts after many warnings and make: *** [install] Error 127.



      apt-get install pkg-config libnl-3-dev libnl-genl-3-dev libpcap-dev
      git clone https://github.com/aircrack-ng/mdk4
      cd mdk4
      make
      sudo make install


      Installation fails with many errors and warnings :



      channelhopper.c: In function ‘init_channel_hopper’:
      channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]
      int lpos = 0, i;
      ^
      At top level:
      channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used [-Wunused-function]
      static char *dfs_state_name(enum nl80211_dfs_state state)
      ^~~~~~~~~~~~~~
      gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o ghosting.o ghosting.c
      gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o fragmenting.o fragmenting.c
      make -C attacks
      make[2]: Entering directory '/mdk4/src/attacks'
      cc -g -O3 -Wall -Wextra -c -o attacks.o attacks.c
      attacks.c: In function ‘load_attacks’:
      attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
      struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);









      share|improve this question














      I want to install Fluxion 5.9 on ubuntu 18.04 with its dependencies but I'm facing problems with the package "mdk4" and the installation aborts after many warnings and make: *** [install] Error 127.



      apt-get install pkg-config libnl-3-dev libnl-genl-3-dev libpcap-dev
      git clone https://github.com/aircrack-ng/mdk4
      cd mdk4
      make
      sudo make install


      Installation fails with many errors and warnings :



      channelhopper.c: In function ‘init_channel_hopper’:
      channelhopper.c:592:19: warning: unused variable ‘i’ [-Wunused-variable]
      int lpos = 0, i;
      ^
      At top level:
      channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used [-Wunused-function]
      static char *dfs_state_name(enum nl80211_dfs_state state)
      ^~~~~~~~~~~~~~
      gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o ghosting.o ghosting.c
      gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -g -O3 -Wall -Wextra -c -o fragmenting.o fragmenting.c
      make -C attacks
      make[2]: Entering directory '/mdk4/src/attacks'
      cc -g -O3 -Wall -Wextra -c -o attacks.o attacks.c
      attacks.c: In function ‘load_attacks’:
      attacks.c:8:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
      struct attacks *attacks = malloc(sizeof(struct attacks) * attack_count);






      18.04






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question



      share|improve this question










      asked May 4 at 17:28









      mokdurmokdur

      11 bronze badge




      11 bronze badge























          1 Answer
          1






          active

          oldest

          votes


















          0


















          You need to do this prior to the make and make install



          sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils clang


          then



          git clone https://github.com/aircrack-ng/mdk4
          cd mdk4
          sudo make
          sudo make install


          sudo is not necessary for the make part, only the make install part but I use sudo for make to ensure no errors occur as some compilations fail without it.



          I just did this on my ubuntu 18.04 and it worked fine. Fluxion detected it as installed after these steps and everything is working smoothly with the RTL8812AU chipset using the RTL8812AU DKMS kernel module installed.






          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',
            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/4.0/"u003ecc by-sa 4.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
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1140548%2fcant-install-fluxion-5-9-dependency-mdk4-on-ubuntu-18-04%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown


























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0


















            You need to do this prior to the make and make install



            sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils clang


            then



            git clone https://github.com/aircrack-ng/mdk4
            cd mdk4
            sudo make
            sudo make install


            sudo is not necessary for the make part, only the make install part but I use sudo for make to ensure no errors occur as some compilations fail without it.



            I just did this on my ubuntu 18.04 and it worked fine. Fluxion detected it as installed after these steps and everything is working smoothly with the RTL8812AU chipset using the RTL8812AU DKMS kernel module installed.






            share|improve this answer






























              0


















              You need to do this prior to the make and make install



              sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils clang


              then



              git clone https://github.com/aircrack-ng/mdk4
              cd mdk4
              sudo make
              sudo make install


              sudo is not necessary for the make part, only the make install part but I use sudo for make to ensure no errors occur as some compilations fail without it.



              I just did this on my ubuntu 18.04 and it worked fine. Fluxion detected it as installed after these steps and everything is working smoothly with the RTL8812AU chipset using the RTL8812AU DKMS kernel module installed.






              share|improve this answer




























                0














                0










                0









                You need to do this prior to the make and make install



                sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils clang


                then



                git clone https://github.com/aircrack-ng/mdk4
                cd mdk4
                sudo make
                sudo make install


                sudo is not necessary for the make part, only the make install part but I use sudo for make to ensure no errors occur as some compilations fail without it.



                I just did this on my ubuntu 18.04 and it worked fine. Fluxion detected it as installed after these steps and everything is working smoothly with the RTL8812AU chipset using the RTL8812AU DKMS kernel module installed.






                share|improve this answer














                You need to do this prior to the make and make install



                sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev hostapd wpasupplicant tcpdump screen iw usbutils clang


                then



                git clone https://github.com/aircrack-ng/mdk4
                cd mdk4
                sudo make
                sudo make install


                sudo is not necessary for the make part, only the make install part but I use sudo for make to ensure no errors occur as some compilations fail without it.



                I just did this on my ubuntu 18.04 and it worked fine. Fluxion detected it as installed after these steps and everything is working smoothly with the RTL8812AU chipset using the RTL8812AU DKMS kernel module installed.







                share|improve this answer













                share|improve this answer




                share|improve this answer



                share|improve this answer










                answered Jun 13 at 17:29









                mydarkthawtsmydarkthawts

                281 silver badge9 bronze badges




                281 silver badge9 bronze badges































                    draft saved

                    draft discarded















































                    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%2f1140548%2fcant-install-fluxion-5-9-dependency-mdk4-on-ubuntu-18-04%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?