error: o kernel do modelo de código não suporta o modo PIC no Ubuntu 17.10

0

Eu sou um novo usuário na plataforma Ubuntu. Eu estou tentando instalar um openvswitch no Ubuntu 17.10 usando o kernel 4.3.4-040304; e durante a configuração eu observei erro abaixo. Alguém pode me ajudar na solução de problemas deste erro, pois estou preso nesta etapa desde os últimos 3 dias.

root@syed-Latitude-E5410:/home/syed# cd /usr/src/openvswitch
root@syed-Latitude-E5410:/usr/src/openvswitch# make && make install
make  all-recursive
make[1]: Entering directory '/usr/src/openvswitch'
Making all in datapath
make[2]: Entering directory '/usr/src/openvswitch/datapath'
Making all in linux
make[3]: Entering directory '/usr/src/openvswitch/datapath/linux'
make -C /lib/modules/4.3.4-040304-generic/build M=/usr/src/openvswitch/datapath/linux modules
make[4]: Entering directory '/usr/src/linux-headers-4.3.4-040304-generic'
arch/x86/Makefile:133: stack-protector enabled but compiler support broken
Makefile:659: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
  CC [M]  /usr/src/openvswitch/datapath/linux/actions.o
cc1: error: code model kernel does not support PIC mode
scripts/Makefile.build:258: recipe for target '/usr/src/openvswitch/datapath/linux/actions.o' failed
make[5]: *** [/usr/src/openvswitch/datapath/linux/actions.o] Error 1
Makefile:1378: recipe for target '_module_/usr/src/openvswitch/datapath/linux' failed
make[4]: *** [_module_/usr/src/openvswitch/datapath/linux] Error 2
make[4]: Leaving directory '/usr/src/linux-headers-4.3.4-040304-generic'
Makefile.main:71: recipe for target 'default' failed
make[3]: *** [default] Error 2
make[3]: Leaving directory '/usr/src/openvswitch/datapath/linux'
Makefile:557: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/src/openvswitch/datapath'
Makefile:5408: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/openvswitch'
Makefile:3153: recipe for target 'all' failed
make: *** [all] Error 2
    
por Syed 04.01.2018 / 16:38

0 respostas