cc1: error: code model kernel does not support PIC mode
A message that is not in the archive (sent off-list or not yet received): [email protected]
dear sir,sources:
xenomai 3.0.8
linux-4.1.18ipipe-4.1.18
i try to compile the kernel with command make && make moules_install installbut i get the error [sudo] password for sicom3:
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
cc1: error: code model kernel does not support PIC mode
Kbuild:43: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:990: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
many thanks for your helpbest regards
Zared Kamal
Département de Génie Electrique,Laboratoire Signaux Systèmes & Composants Faculté des Sciences & Techniques, BP 2202, 30000 Fès http://www.fstusmba.ac.ma/e-mail [email protected], [email protected]
Quoted 6 lines · zared kamal via Xenomai
dear sir,sources:
xenomai 3.0.8
linux-4.1.18ipipe-4.1.18
i try to compile the kernel with command make && makemoules_installinstallbut i get the error [sudo] password for sicom3:
CHKinclude/config/kernel.release
Quoted 9 lines
CHK
include/generated/uapi/linux/version.hCHKinclude/generated/utsrelease.h
CCkernel/bounds.s
cc1: error: code model kernel does not support PIC mode Kbuild:43: recipe for target 'kernel/bounds.s' failed make[1]: *** [kernel/bounds.s] Error 1 Makefile:990: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
4.1 is long dead. What prevents you from using a currently supported kernel and Xenomai version? BTW, your Xenomai release is not latest in its stable series as well.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux