Closed samimash closed 7 years ago
refer to http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M1. You missed the "Install Cross Compiler" section.
actually i did that already i downloaded the file and past it into the toolchain directory is it possible that the file is broken? how i can be sure
do this: $ cd lichee $ ls ./brandy/toolchain/gcc-arm/bin/arm-linux-gnueabi-gcc
ok friend i did it i got this
ami@sami-HP-Pavilion-g6-Notebook-PC:~$ cd lichee
sami@sami-HP-Pavilion-g6-Notebook-PC:~/lichee$ ls ./brandy/toolchain/gcc-arm/bin/arm-linux-gnueabi-gcc
./brandy/toolchain/gcc-arm/bin/arm-linux-gnueabi-gcc
i tried to recompile after,and the same error show up
run this command: $ cd lichee $ ./brandy/toolchain/gcc-arm/bin/arm-linux-gnueabi-gcc -v .. gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) check if you can get the gcc version
i ran the command
it return
bash: ./brandy/toolchain/gcc-arm/bin/arm-linux-gnueabi-gcc : No such file or directory
?
i solved the issue thanks for the help
Nice. How to ? 32bit PC ubuntu?
i was missing this part
sudo apt-get install gawk git gnupg flex bison gperf build-essential \ zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ libgl1-mesa-dev g++-multilib mingw32 tofrodos \ python-markdown libxml2-utils xsltproc zlib1g-dev:i386
I recently got a nanopi m1 and I am using the official documentation
I downloaded the lichee source code and this toolchain:
gcc-linaro-arm.tar.xz
as the documentation said, but when I try to compile the source code, I got this error:i need to solve this,because i want to use the nanopi M1 in a specific application
I am running Ubuntu 17.04 and I am a beginner in both arm processor and Linux environment but I have a background in electronics
whole code: