Parece que te falta los kernels devel para compilar.
Lee la 1ª parte de la GUIA: Como instalar un programa o driver desde el codigo fuente, los requisitos:
Buenas a todos, estoy tratando de hacer funcionar Anbox en openSuse específicamente en Leap 42.3, actualmente existe un repositorio con anbox y dependencias, una de ellas "anbox-modules-dkms" arroja un error en la instalación, no instala el modulo del kernel ashmem_linux necesesario para correr Anbox, alguien tiene idea de como salvar este error.
y el make.log es este.Código:Recuperando paquete anbox-modules-dkms-0.0.1.git20170908-59.1.noarch (1/1), 38,3 KiB (174,6 KiB desempaquetado) Recuperando: anbox-modules-dkms-0.0.1.git20170908-59.1.noarch.rpm .........................................................................................[terminado (20,0 KiB/s)] Buscando conflictos de archivos: .......................................................................................................................................[terminado] (1/1) Instalando: anbox-modules-dkms-0.0.1.git20170908-59.1.noarch .....................................................................................................[terminado] Salida de rpm adicional: Creating symlink /var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/source -> /usr/src/anbox-ashmem-0.0.1.git20170908-59.1 DKMS: add completed. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j4 KERNELRELEASE=4.4.87-25-default all KERNEL_SRC=/lib/modules/4.4.87-25-default/build....(bad exit status: 2) Error! Bad return status for module build on kernel: 4.4.87-25-default (x86_64) Consult /var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/make.log for more information. Creating symlink /var/lib/dkms/anbox-binder/0.0.1.git20170908-59.1/source -> /usr/src/anbox-binder-0.0.1.git20170908-59.1 DKMS: add completed. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j4 KERNELRELEASE=4.4.87-25-default all KERNEL_SRC=/lib/modules/4.4.87-25-default/build.... cleaning build area... DKMS: build completed. binder_linux: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.4.87-25-default/updates/ Adding any weak-modules depmod...... DKMS: install completed.
Gracias.DKMS make.log for anbox-ashmem-0.0.1.git20170908-59.1 for kernel 4.4.87-25-default (x86_64)
Fri Sep 15 19:35:42 -03 2017
make -C /lib/modules/4.4.87-25-default/build V=0 M=$PWD
make[1]: Entering directory '/usr/src/linux-4.4.87-25-obj/x86_64/default'
LD /var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/built-in.o
CC [M] /var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/deps.o
CC [M] /var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.o
/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/deps.c: In function ‘shmem_zero_setup’:
/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/deps.c:9:24: warning: assignment makes pointer from integer without a cast [enabled by default]
shmem_zero_setup_ptr = kallsyms_lookup_name("shmem_zero_setup");
^
/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/deps.c: At top level:
cc1: warning: unrecognized command line option "-Wno-int-conversion" [enabled by default]
/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.c: In function ‘ashmem_mmap’:
/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.c:381:2: error: too few arguments to function ‘calc_vm_prot_bits’
if (unlikely((vma->vm_flags & ~calc_vm_prot_bits(asma->prot_mask)) &
^
In file included from /var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.c:30:0:
/usr/src/linux-4.4.87-25/include/linux/mman.h:73:1: note: declared here
calc_vm_prot_bits(unsigned long prot, unsigned long pkey)
^
/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.c:381:2: error: too few arguments to function ‘calc_vm_prot_bits’
if (unlikely((vma->vm_flags & ~calc_vm_prot_bits(asma->prot_mask)) &
^
In file included from /var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.c:30:0:
/usr/src/linux-4.4.87-25/include/linux/mman.h:73:1: note: declared here
calc_vm_prot_bits(unsigned long prot, unsigned long pkey)
^
/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.c: At top level:
cc1: warning: unrecognized command line option "-Wno-int-conversion" [enabled by default]
/usr/src/linux-4.4.87-25/scripts/Makefile.build:259: recipe for target '/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.o' failed
make[4]: *** [/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build/ashmem.o] Error 1
/usr/src/linux-4.4.87-25/Makefile:1431: recipe for target '_module_/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build' failed
make[3]: *** [_module_/var/lib/dkms/anbox-ashmem/0.0.1.git20170908-59.1/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.4.87-25-obj/x86_64/default'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
Parece que te falta los kernels devel para compilar.
Lee la 1ª parte de la GUIA: Como instalar un programa o driver desde el codigo fuente, los requisitos:
NORMAS A CUMPLIR EN LOS FOROS (Lectura obligatoria) Lo siento, no contesto privados sobre problemas con GNU/Linux.
Síguenos en TWITTER y en FACEBOOK
Código:Buscador de Alojamiento Alojamiento Otros paquetes: de imágenes: de ficheros: buscadores: Search TinyPic Ifile Wuala Simple y Facil Webpinstant Paste Suse SendSpace TextSnip Cl1p
Hi!
That did it for me:
Código:/* requested protection bits must match our allowed protection mask */
Última edición por DiabloRojo; 22-nov-2017 a las 10:27 Razón: Eliminar código por seguridad
There are currently 1 users browsing this thread. (0 members and 1 guests)
Marcadores