fatal error: netlink/genl/genl.h: No such file or directory during cross compile [closed]

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








up vote
0
down vote

favorite












I need to cross compile hostapd,
even after editing makefile to do cross compilation,am getting the above error










share|improve this question















closed as off-topic by waltinator, Zanna, N0rbert, anonymous2, Luis Alvarado♦ Apr 19 at 15:30


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – waltinator, anonymous2, Luis Alvarado
If this question can be reworded to fit the rules in the help center, please edit the question.












  • This is not really a Ubuntu question... if you want a useful answer, post which cross-compile packages you installed and the parameter for ./configure. And this is not a kernel question!
    – Simon Sudler
    Apr 18 at 14:04










  • Nothing about this question makes it seem off-topic, but it is unclear.
    – Zanna
    Apr 18 at 17:24










  • Someone understood what this was about! +1 to the Answer just because he could make something out of nothing. Voted to keep open now.
    – Fabby
    Apr 18 at 20:43











  • I still don't like post, where the compiler error message is posted without any other information. But voting it down is also unfair to new users
    – Simon Sudler
    Apr 19 at 7:19














up vote
0
down vote

favorite












I need to cross compile hostapd,
even after editing makefile to do cross compilation,am getting the above error










share|improve this question















closed as off-topic by waltinator, Zanna, N0rbert, anonymous2, Luis Alvarado♦ Apr 19 at 15:30


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – waltinator, anonymous2, Luis Alvarado
If this question can be reworded to fit the rules in the help center, please edit the question.












  • This is not really a Ubuntu question... if you want a useful answer, post which cross-compile packages you installed and the parameter for ./configure. And this is not a kernel question!
    – Simon Sudler
    Apr 18 at 14:04










  • Nothing about this question makes it seem off-topic, but it is unclear.
    – Zanna
    Apr 18 at 17:24










  • Someone understood what this was about! +1 to the Answer just because he could make something out of nothing. Voted to keep open now.
    – Fabby
    Apr 18 at 20:43











  • I still don't like post, where the compiler error message is posted without any other information. But voting it down is also unfair to new users
    – Simon Sudler
    Apr 19 at 7:19












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I need to cross compile hostapd,
even after editing makefile to do cross compilation,am getting the above error










share|improve this question















I need to cross compile hostapd,
even after editing makefile to do cross compilation,am getting the above error







compiling cross-compilation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 18 at 17:52









Simon Sudler

898111




898111










asked Apr 18 at 13:03









Nidheesh V

62




62




closed as off-topic by waltinator, Zanna, N0rbert, anonymous2, Luis Alvarado♦ Apr 19 at 15:30


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – waltinator, anonymous2, Luis Alvarado
If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by waltinator, Zanna, N0rbert, anonymous2, Luis Alvarado♦ Apr 19 at 15:30


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – waltinator, anonymous2, Luis Alvarado
If this question can be reworded to fit the rules in the help center, please edit the question.











  • This is not really a Ubuntu question... if you want a useful answer, post which cross-compile packages you installed and the parameter for ./configure. And this is not a kernel question!
    – Simon Sudler
    Apr 18 at 14:04










  • Nothing about this question makes it seem off-topic, but it is unclear.
    – Zanna
    Apr 18 at 17:24










  • Someone understood what this was about! +1 to the Answer just because he could make something out of nothing. Voted to keep open now.
    – Fabby
    Apr 18 at 20:43











  • I still don't like post, where the compiler error message is posted without any other information. But voting it down is also unfair to new users
    – Simon Sudler
    Apr 19 at 7:19
















  • This is not really a Ubuntu question... if you want a useful answer, post which cross-compile packages you installed and the parameter for ./configure. And this is not a kernel question!
    – Simon Sudler
    Apr 18 at 14:04










  • Nothing about this question makes it seem off-topic, but it is unclear.
    – Zanna
    Apr 18 at 17:24










  • Someone understood what this was about! +1 to the Answer just because he could make something out of nothing. Voted to keep open now.
    – Fabby
    Apr 18 at 20:43











  • I still don't like post, where the compiler error message is posted without any other information. But voting it down is also unfair to new users
    – Simon Sudler
    Apr 19 at 7:19















This is not really a Ubuntu question... if you want a useful answer, post which cross-compile packages you installed and the parameter for ./configure. And this is not a kernel question!
– Simon Sudler
Apr 18 at 14:04




This is not really a Ubuntu question... if you want a useful answer, post which cross-compile packages you installed and the parameter for ./configure. And this is not a kernel question!
– Simon Sudler
Apr 18 at 14:04












Nothing about this question makes it seem off-topic, but it is unclear.
– Zanna
Apr 18 at 17:24




Nothing about this question makes it seem off-topic, but it is unclear.
– Zanna
Apr 18 at 17:24












Someone understood what this was about! +1 to the Answer just because he could make something out of nothing. Voted to keep open now.
– Fabby
Apr 18 at 20:43





Someone understood what this was about! +1 to the Answer just because he could make something out of nothing. Voted to keep open now.
– Fabby
Apr 18 at 20:43













I still don't like post, where the compiler error message is posted without any other information. But voting it down is also unfair to new users
– Simon Sudler
Apr 19 at 7:19




I still don't like post, where the compiler error message is posted without any other information. But voting it down is also unfair to new users
– Simon Sudler
Apr 19 at 7:19










1 Answer
1






active

oldest

votes

















up vote
1
down vote













If we talk about Ubuntu here, the needed header is located in libnl-3-dev package (full path will be /usr/include/libnl3/netlink/genl/genl.h).



On Ubuntu 16.04 LTS hostapd needs the following build-dependencies:



 android-headers android-headers-19 autotools-dev debhelper
dh-strip-nondeterminism docbook docbook-dsssl docbook-to-man docbook-utils
jadetex libdbus-1-dev libfile-stripnondeterminism-perl libncurses5-dev
libnl-3-dev libnl-genl-3-dev libnl-route-3-200 libnl-route-3-dev libosp5
libostyle1c2 libpcsclite-dev libpotrace0 libptexenc1 libqt4-designer
libqt4-dev libqt4-dev-bin libqt4-help libqt4-qt3support libqt4-scripttools
libqt4-svg libqt4-test libreadline-dev libreadline6-dev libsgmls-perl
libsp1c2 libssl-dev libsynctex1 libtexlua52 libtexluajit2 libtinfo-dev
libzzip-0-13 lynx lynx-common openjade po-debconf qt4-linguist-tools
qt4-qmake sgml-data sgmlspl sp tex-common texlive-base texlive-binaries
texlive-fonts-recommended texlive-generic-recommended texlive-latex-base
texlive-latex-recommended tipa zlib1g-dev


You should adjust your build system to satisfy these dependencies.






share|improve this answer



























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    If we talk about Ubuntu here, the needed header is located in libnl-3-dev package (full path will be /usr/include/libnl3/netlink/genl/genl.h).



    On Ubuntu 16.04 LTS hostapd needs the following build-dependencies:



     android-headers android-headers-19 autotools-dev debhelper
    dh-strip-nondeterminism docbook docbook-dsssl docbook-to-man docbook-utils
    jadetex libdbus-1-dev libfile-stripnondeterminism-perl libncurses5-dev
    libnl-3-dev libnl-genl-3-dev libnl-route-3-200 libnl-route-3-dev libosp5
    libostyle1c2 libpcsclite-dev libpotrace0 libptexenc1 libqt4-designer
    libqt4-dev libqt4-dev-bin libqt4-help libqt4-qt3support libqt4-scripttools
    libqt4-svg libqt4-test libreadline-dev libreadline6-dev libsgmls-perl
    libsp1c2 libssl-dev libsynctex1 libtexlua52 libtexluajit2 libtinfo-dev
    libzzip-0-13 lynx lynx-common openjade po-debconf qt4-linguist-tools
    qt4-qmake sgml-data sgmlspl sp tex-common texlive-base texlive-binaries
    texlive-fonts-recommended texlive-generic-recommended texlive-latex-base
    texlive-latex-recommended tipa zlib1g-dev


    You should adjust your build system to satisfy these dependencies.






    share|improve this answer
























      up vote
      1
      down vote













      If we talk about Ubuntu here, the needed header is located in libnl-3-dev package (full path will be /usr/include/libnl3/netlink/genl/genl.h).



      On Ubuntu 16.04 LTS hostapd needs the following build-dependencies:



       android-headers android-headers-19 autotools-dev debhelper
      dh-strip-nondeterminism docbook docbook-dsssl docbook-to-man docbook-utils
      jadetex libdbus-1-dev libfile-stripnondeterminism-perl libncurses5-dev
      libnl-3-dev libnl-genl-3-dev libnl-route-3-200 libnl-route-3-dev libosp5
      libostyle1c2 libpcsclite-dev libpotrace0 libptexenc1 libqt4-designer
      libqt4-dev libqt4-dev-bin libqt4-help libqt4-qt3support libqt4-scripttools
      libqt4-svg libqt4-test libreadline-dev libreadline6-dev libsgmls-perl
      libsp1c2 libssl-dev libsynctex1 libtexlua52 libtexluajit2 libtinfo-dev
      libzzip-0-13 lynx lynx-common openjade po-debconf qt4-linguist-tools
      qt4-qmake sgml-data sgmlspl sp tex-common texlive-base texlive-binaries
      texlive-fonts-recommended texlive-generic-recommended texlive-latex-base
      texlive-latex-recommended tipa zlib1g-dev


      You should adjust your build system to satisfy these dependencies.






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        If we talk about Ubuntu here, the needed header is located in libnl-3-dev package (full path will be /usr/include/libnl3/netlink/genl/genl.h).



        On Ubuntu 16.04 LTS hostapd needs the following build-dependencies:



         android-headers android-headers-19 autotools-dev debhelper
        dh-strip-nondeterminism docbook docbook-dsssl docbook-to-man docbook-utils
        jadetex libdbus-1-dev libfile-stripnondeterminism-perl libncurses5-dev
        libnl-3-dev libnl-genl-3-dev libnl-route-3-200 libnl-route-3-dev libosp5
        libostyle1c2 libpcsclite-dev libpotrace0 libptexenc1 libqt4-designer
        libqt4-dev libqt4-dev-bin libqt4-help libqt4-qt3support libqt4-scripttools
        libqt4-svg libqt4-test libreadline-dev libreadline6-dev libsgmls-perl
        libsp1c2 libssl-dev libsynctex1 libtexlua52 libtexluajit2 libtinfo-dev
        libzzip-0-13 lynx lynx-common openjade po-debconf qt4-linguist-tools
        qt4-qmake sgml-data sgmlspl sp tex-common texlive-base texlive-binaries
        texlive-fonts-recommended texlive-generic-recommended texlive-latex-base
        texlive-latex-recommended tipa zlib1g-dev


        You should adjust your build system to satisfy these dependencies.






        share|improve this answer












        If we talk about Ubuntu here, the needed header is located in libnl-3-dev package (full path will be /usr/include/libnl3/netlink/genl/genl.h).



        On Ubuntu 16.04 LTS hostapd needs the following build-dependencies:



         android-headers android-headers-19 autotools-dev debhelper
        dh-strip-nondeterminism docbook docbook-dsssl docbook-to-man docbook-utils
        jadetex libdbus-1-dev libfile-stripnondeterminism-perl libncurses5-dev
        libnl-3-dev libnl-genl-3-dev libnl-route-3-200 libnl-route-3-dev libosp5
        libostyle1c2 libpcsclite-dev libpotrace0 libptexenc1 libqt4-designer
        libqt4-dev libqt4-dev-bin libqt4-help libqt4-qt3support libqt4-scripttools
        libqt4-svg libqt4-test libreadline-dev libreadline6-dev libsgmls-perl
        libsp1c2 libssl-dev libsynctex1 libtexlua52 libtexluajit2 libtinfo-dev
        libzzip-0-13 lynx lynx-common openjade po-debconf qt4-linguist-tools
        qt4-qmake sgml-data sgmlspl sp tex-common texlive-base texlive-binaries
        texlive-fonts-recommended texlive-generic-recommended texlive-latex-base
        texlive-latex-recommended tipa zlib1g-dev


        You should adjust your build system to satisfy these dependencies.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 18 at 17:43









        N0rbert

        15.7k33273




        15.7k33273












            Popular posts from this blog

            GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

            What makes Checkinstall packages not suitable for distribution?

            Running the scala interactive shell from the command line