Coder Social home page Coder Social logo

make linux for fenix sdk is error! about fenix HOT 8 OPEN

ruijitek avatar ruijitek commented on May 24, 2024
make linux for fenix sdk is error!

from fenix.

Comments (8)

ruijitek avatar ruijitek commented on May 24, 2024

hi,
I am do this below:
Make ARCH=arm CROSS_COPILE=/fenix-test/fenix/build/gcc-linaro-aarch64-linux-gnu-
make[2]: *** [scripts/Makefile.vmlinux:35:vmlinux] 错误 1

make[1]: *** [Makefile:1250:vmlinux] 错误 2

make[1]: 离开目录“/home/lille/fenix-test/fenix/build/linux”

./scripts/create_image.sh:130 Error: Build Linux failed!

make: *** [Makefile:2:all] 错误 1
what is error that ?

from fenix.

numbqq avatar numbqq commented on May 24, 2024

@ruijitek what's your build host?

from fenix.

ruijitek avatar ruijitek commented on May 24, 2024

hi numbqq,
Thank you for your reply!
m build host enviroment is below:

NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

from fenix.

numbqq avatar numbqq commented on May 24, 2024

please try to use more recently distribution or build in docker.

https://github.com/khadas/fenix?tab=readme-ov-file#build-in-docker

from fenix.

ruijitek avatar ruijitek commented on May 24, 2024

hi ,numbqq
I dokcer run it,it is yet error ,it have not see linux source ,pls help me .
f22f83ea9988:/fenix$ man sudo_root
/bin/sh: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
f22f83ea9988:
/fenix$ docker images
bash: docker: command not found
f22f83ea9988:/fenix$ docker imagers
bash: docker: command not found
f22f83ea9988:
/fenix$ docker images
bash: docker: command not found
f22f83ea9988:/fenix$ ls
f22f83ea9988:
/fenix$ pwd
/home/khadas/fenix
f22f83ea9988:~/fenix$ exit
exit
root@kclee-Precision-Tower-7810:/data/git_khadas/fenix# ls
archives config config-template.conf Dockerfile docs env LICENSE Makefile packages README.md scripts setenv.sh
root@kclee-Precision-Tower-7810:/data/git_khadas/fenix# docker run -it --name fenix -v $(pwd):/home/khadas/fenix -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -v $HOME/.ccache:/data/git_khadas/.ccache --privileged --device=/dev/loop-control:/dev/loop-control --device=/dev/loop0:/dev/loop0 --cap-add SYS_ADMIN numbqq/fenix
docker: Error response from daemon: Conflict. The container name "/fenix" is already in use by container "f22f83ea998807f3c2d60294feb2e32fdd94c896529cc1033c9a0b9c2ad237ce". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
root@kclee-Precision-Tower-7810:/data/git_khadas/fenix# You have to remove (or rename) that container to be able to reuse that name^C
root@kclee-Precision-Tower-7810:/data/git_khadas/fenix# docker run -it --name fenix -v $(pwd):/home/khadas/fenix -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -v $HOME/.ccache:/data/git_khadas/.ccache --privileged --device=/dev/loop-control:/dev/loop-control --device=/dev/loop0:/dev/loop0 --cap-add SYS_ADMIN numbqq/fenix
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

cc1864ed270e:/fenix$ ls
cc1864ed270e:
/fenix$ pwd
/home/khadas/fenix
cc1864ed270e:/fenix$ source env/setenv.sh
bash: env/setenv.sh: No such file or directory
cc1864ed270e:
/fenix$

from fenix.

ruijitek avatar ruijitek commented on May 24, 2024

hi,numbqq,

  root user is local passwd?yet is docker contian passwd ?

root@kclee-Precision-Tower-7810:/data/git_khadas# docker run -it --privileged --name fenix -v /data/git_khadas:/home/khadas/fenix -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -v $HOME/.ccache:/data/git_khadas/.ccache --privileged --device=/dev/loop-control:/dev/loop-control --device=/dev/loop0:/dev/loop0 --cap-add SYS_ADMIN numbqq/fenix
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

from fenix.

ruijitek avatar ruijitek commented on May 24, 2024

hi,numbqq,

  I am docker  run contiaer below commend:

bus cd fenix direction ,have not content,why?
dokcer_20240328121429

image

from fenix.

ruijitek avatar ruijitek commented on May 24, 2024

image

from fenix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.