Meta
Posts: 147
Joined: Tue Nov 26, 2013 5:48 am

Instalar este progama

Thu Dec 24, 2015 2:57 am

Hola:

Quiero instalar este código pero nome sale. Debo seguir loque indica aquí.

https://github.com/fbriere/linux-dexdri ... ter/README

En la consola de Raspberry Pi 2 me sale error.
root@raspberrypi:/home/pi/Downloads/linux-dexdrive-master# make KERNELDIR=/usr/src/linux
make -C /usr/src/linux M=/home/pi/Downloads/linux-dexdrive-master modules
make[1]: *** /usr/src/linux: No existe el fichero o el directorio. Alto.
Makefile:25: recipe for target 'modules' failed
make: *** [modules] Error 2
¿Alguna ayuda para hacerlo mejor?

Saludos.

User avatar
actkk2000
Posts: 1309
Joined: Wed Apr 02, 2014 3:22 am

Re: Instalar este progama

Thu Dec 24, 2015 4:00 am

En las instrucciones dice que hay que ejecutar solo "make" y si eso no sirve agregar el path del kernel:

Code: Select all

Compiling this module requires a fully configured kernel source tree.  By
default, simply running "make" will compile against the source tree of the
currently running kernel.  If this is not appropriate, you can specify the
location of your kernel source tree:

    $ make KERNELDIR=/usr/src/linux
Yo probaría solo con make...
Slds!
Robot +Camara +Sensores +Encoder +Servo +Matriz8x8 +Joystick:
https://www.raspberrypi.org/forums/viewtopic.php?f=76&t=130470

Meta
Posts: 147
Joined: Tue Nov 26, 2013 5:48 am

Re: Instalar este progama

Thu Dec 24, 2015 7:16 am

Solo make
pi@raspberrypi ~/Downloads/linux-dexdrive-master $ make
make -C /lib/modules/4.1.13-v7+/build M=/home/pi/Downloads/linux-dexdrive-master modules
make[1]: *** /lib/modules/4.1.13-v7+/build: No existe el fichero o el directorio. Alto.
Makefile:25: recipe for target 'modules' failed
make: *** [modules] Error 2
lo otro.
pi@raspberrypi ~/Downloads/linux-dexdrive-master $ make KERNELDIR=/usr/src/linux
make -C /usr/src/linux M=/home/pi/Downloads/linux-dexdrive-master modules
make[1]: *** /usr/src/linux: No existe el fichero o el directorio. Alto.
Makefile:25: recipe for target 'modules' failed
make: *** [modules] Error 2

Return to “Español”