0 Replies Latest reply on Jun 27, 2020 2:32 PM by chavalot

    Error al compilar vmware player 15.5.6.16341506 en linux. ¿Que ocurre?

    chavalot Lurker

      Estoy instalando vmware player en OpenSuse Leap 15.2 y tiene que compilar algunos módulos para cargarlos en el kernel pero se produce un error.

      La versión del kernel es 5.3.18-lp152.19-default  #1 SMP Tue Jun 9 20:59:24 UTC 2020 (960cb00) x86_64 x86_64 x86_64 GNU/Linux

       

      Y el log del error:

       

      2020-06-27T23:22:03.851+02:00| host-6821| I005: Using kernel build system.

      2020-06-27T23:22:03.851+02:00| host-6821| I005: /tmp/modconfig-T6DboN/vmnet-only/userif.c: In function ‘VNetCsumCopyDatagram’:

      2020-06-27T23:22:03.851+02:00| host-6821| I005: /tmp/modconfig-T6DboN/vmnet-only/userif.c:85:39: error: ‘skb_frag_t {aka const struct bio_vec}’ has no member named ‘page_offset’; did you mean ‘bv_offset’?

      2020-06-27T23:22:03.851+02:00| host-6821| I005:  #   define skb_frag_off(frag) (frag)->page_offset

      2020-06-27T23:22:03.851+02:00| host-6821| I005:                                        ^

      2020-06-27T23:22:03.851+02:00| host-6821| I005: /tmp/modconfig-T6DboN/vmnet-only/userif.c:576:43: note: in expansion of macro ‘skb_frag_off’

      2020-06-27T23:22:03.851+02:00| host-6821| I005:    tmpCsum = csum_and_copy_to_user(vaddr + skb_frag_off(frag),

      2020-06-27T23:22:03.851+02:00| host-6821| I005:                                            ^~~~~~~~~~~~

      2020-06-27T23:22:03.851+02:00| host-6821| I005: make[3]: *** [/usr/src/linux-5.3.18-lp152.19/scripts/Makefile.build:282: /tmp/modconfig-T6DboN/vmnet-only/userif.o] Error 1

      2020-06-27T23:22:03.851+02:00| host-6821| I005: make[3]: *** Se espera a que terminen otras tareas....

      ...

      2020-06-27T23:22:03.851+02:00| host-6821| I005: /tmp/modconfig-T6DboN/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call

      2020-06-27T23:22:03.851+02:00| host-6821| I005: /tmp/modconfig-T6DboN/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.

      2020-06-27T23:22:03.851+02:00| host-6821| I005: /tmp/modconfig-T6DboN/vmnet-only/driver.o: warning: objtool: .text.__x86_indirect_thunk_r8+0x0: unsupported intra-function call

      2020-06-27T23:22:03.851+02:00| host-6821| I005: /tmp/modconfig-T6DboN/vmnet-only/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.

      2020-06-27T23:22:03.851+02:00| host-6821| I005: make[2]: *** [/usr/src/linux-5.3.18-lp152.19/Makefile:1644: _module_/tmp/modconfig-T6DboN/vmnet-only] Error 2

      2020-06-27T23:22:03.851+02:00| host-6821| I005: make[1]: *** [../../../linux-5.3.18-lp152.19/Makefile:179: sub-make] Error 2

      2020-06-27T23:22:03.851+02:00| host-6821| I005: make: *** [Makefile:117: vmnet.ko] Error 2

      2020-06-27T23:22:03.851+02:00| host-6821| I005: Unable to install all modules.  See log for details.

       

      ¿Que puedo hacer?
      Saludos.