You are not logged in.

#1 2012-03-04 21:32:30

Empy
Member
From: Bratislava
Registered: 2011-06-14
Posts: 5

Make problem: no rule to make target modules

i have dell xps 15z laptop with 64bit arch installed. i would like to install bbswitch, so i can use the optimus nvidia card. I downloaded from AUR the makefile and run makepkg. I got this error that i cannotfind out what is causing:


==> Starting build()...
make -C /lib/modules/3.2.8-1-ARCH/build M="$(pwd)" modules
make[1]: Entering directory `/lib/modules/3.2.8-1-ARCH/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/3.2.8-1-ARCH/build'
make: *** [default] Error 2
==> ERROR: A failure occurred in build().
    Aborting...


Can anyone help me please?

Last edited by Empy (2012-03-04 21:33:07)

Offline

#2 2012-03-04 21:51:51

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Make problem: no rule to make target modules

Do you have linux-headers installed?

Offline

#3 2012-03-05 06:35:19

Empy
Member
From: Bratislava
Registered: 2011-06-14
Posts: 5

Re: Make problem: no rule to make target modules

thank you, that was the problem.

Offline

Board footer

Powered by FluxBB