I seem to be having issues building the new pluto FW release 0.30 - using Ubuntu 18.04.1 LTS
I have installed Vivado / SDK toolchain 2018.2.
I have also followed the instructions on both the ADALM-Pluto Wiki as well as on the PlutoFW github page, checking correct vivado versions, checking to make sure i have the 32 bit binaries, etc.
Upon executing make, the build process starts and runs for about 15 minutes until failing. Seems like it's failing towards the end of the build. I cannot seem to understand what this error is telling me.
Here is a snippet from the terminal just before it fails. Hopefully this will provide some insight as to what is going wrong.
rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' package/skeleton-init-sysv//skeleton/ /home/ed2/plutosdr-fw/buildroot/output/target/>>> skeleton Configuring>>> skeleton Building>>> skeleton Installing to target>>> toolchain-external-custom ConfiguringDistribution toolchains are unsuitable for use by Buildroot,as they were configured in a way that makes them non-relocatable,and contain a lot of pre-built libraries that would conflict withthe ones Buildroot wants to build.package/pkg-generic.mk:211: recipe for target '/home/ed2/plutosdr-fw/buildroot/output/build/toolchain-external-custom/.stamp_configured' failedmake: *** [/home/ed2/plutosdr-fw/buildroot/output/build/toolchain-external-custom/.stamp_configured] Error 1make: Leaving directory '/home/ed2/plutosdr-fw/buildroot'Makefile:91: recipe for target 'buildroot/output/images/rootfs.cpio.gz' failedmake: *** [buildroot/output/images/rootfs.cpio.gz] Error 2
Could this problem be Ubuntu Related? What is the preferred linux distro to be used for building the pluto FW?
Try to run a :
inside the buildroot folder.
cd to buildroot, then ran make distclean, then cd ..
ran make again.
Same failure :(
I am in the process of trying to get an Ubuntu 16.04 setup to try and recreate the issue.
I've confirmed 18.04 works fine. You might want to try a clean clone.
Okay, I'll try that as well. Thank you
Thank you again for the help, I verified three of the answers that helped me. I was able to build on Ubuntu 18.04 by using all three of the verified solutions.