Menu

Error Compilation

Help
SP-1
2005-10-15
2012-10-06
  • SP-1

    SP-1 - 2005-10-15

    Hello , I have a Ubuntu Breezy and I want to install ndiswrapper 1.4 in order to try to set up my wifi card. I have a Turion and the wifi card is a Broadcom.

    I have a compilation error can anyone help me please...

    make
    make -C driver
    make[1]: entering in the directory /home/guillaume/ndiswrapper-1.4/driver
    Can't find kernel sources in /lib/modules/2.6.12-9-amd64-generic/build;
    give the path to kernel sources with KSRC=<path> argument to make
    make[1]: [prereq_check] Erreur 1
    make[1]: leaving the repertory /home/guillaume/ndiswrapper-1.4/driver
    make:
    [all] Error 2

    Can anyone help me please... Thanks a lot !!!

     
    • Marius Mikučionis

      apt-get update
      apt-get install kernel-headers-2.6.12-9-amd64-generic

      then retry make. if it did not help try:
      rm /lib/modules/2.6.12-9-amd64-generic/build
      ln -s /usr/src/kernel-headers-2.6.12-9-amd64-generic /lib/modules/2.6.12-9-amd64-generic/build

      export KSRC=/usr/src/kernel-headers-2.6.12-9-amd64-generic

      retry make...

       

Log in to post a comment.