Skip to content

Compilation failed #2

@KevinLikesDringCoffe

Description

@KevinLikesDringCoffe

Hi,
I tried to install fclkcfg on my ultra96 board. After make command it raised some errors:

root@ultra96:/home/xilinx/fclkcfg# make
make -C /lib/modules/5.4.0-xilinx-v2020.1/build ARCH=arm64 CROSS_COMPILE= M=/home/xilinx/fclkcfg CONFIG_FCLKCFG=m modules
make[1]: Entering directory '/lib/modules/5.4.0-xilinx-v2020.1/build'
  CC [M]  /home/xilinx/fclkcfg/fclkcfg.o
gcc: error: unrecognized command line option ‘-mstack-protector-guard=sysreg’; did you mean ‘-fstack-protector-strong’?
gcc: error: unrecognized command line option ‘-mstack-protector-guard-reg=sp_el0’; did you mean ‘-fstack-protector-all’?
gcc: error: unrecognized command line option ‘-mstack-protector-guard-offset=1064’; did you mean ‘-fstack-protector-strong’?
scripts/Makefile.build:265: recipe for target '/home/xilinx/fclkcfg/fclkcfg.o' failed
make[2]: *** [/home/xilinx/fclkcfg/fclkcfg.o] Error 1
Makefile:1652: recipe for target '/home/xilinx/fclkcfg' failed
make[1]: *** [/home/xilinx/fclkcfg] Error 2
make[1]: Leaving directory '/lib/modules/5.4.0-xilinx-v2020.1/build'
Makefile:35: recipe for target 'all' failed
make: *** [all] Error 2

Any idea on how to solve this?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions