Dear Alexander, ah, thanks for the error report!
Philip has a nice page on how he circumvents such problems: http://www.opensdr.com/posts/using-docker-for-openembedded-builds/ Basically, he uses a docker container to have a controlled version of his OS, and does the build within. Only thing missing (from top of my head) is that it's possibly a good idea to add a RUN git config --set --global user.name "Alexander Olihovik" RUN git config --set --global user.email "yourm...@virginia.edu" so that `repo init` can get right to work. Best regards, Marcus On 26.07.2017 17:11, Alexander Olihovik via USRP-users wrote: > I've been following the guide for rebuilding the file system at > https://files.ettus.com/manual/page_usrp_e3x0.html > <https://files.ettus.com/manual/page_usrp_e3x0.html>. > When I try to build an image with 'bitbake gnuradio-dev-image', I get > the following error: > ERROR: Function failed: do_compile (log file is located at > /home/user/Projects/E310/e300-oe-build/build/tmp-glibc/work/ettus_e3xx_sg1-oe-linux-gnueabi/lttng-modules/2.6.1-r0/temp/log.do_compile.63483) > After checking the log, I see it's a problem with the kernel > configuration, and the log recommends running 'make oldconfig && make > prepare' on kernel src to fix it, which when run yields the following > error: fatal error: linux/compiler-gcc5.h: No such file or directory > I've checked my gcc version (5.4.0), but I've found that gcc5.h isn't > in kernel-source/include/linux. Has anyone encountered this issue before? > > I've tried adding in a version of compiler-gcc5.h and this particular > test passes, but I'm now left with a more cryptic error message when > trying to build the image again: > ERROR: Task 1981 > (/home/user/Projects/E310/e300-oe-build/oe-core/../meta-sdr/recipes-support/gr-mapper/gr-mapper_git.bb > <http://gr-mapper_git.bb>, do_compile) failed with exit code '1' > This log shows the following error: > make[1]: *** [lib/CMakeFiles/eventstream.dir/all] Error 2 > make[1]: Leaving directory > '/home/user/Projects/E310/e300-oe-build/build/tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gr-eventstream/0.0.3+gitAUTOINC+ce9c17bce6-r0/build' > Makefile:126: recipe for target 'all' failed > make: *** [all] Error 2 > ERROR: oe_runmake failed > WARNING: exit code 1 from a shell command. > ERROR: Function failed: do_compile (log file is located at > /home/user/Projects/E310/e300-oe-build/build/tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gr-eventstream/0.0.3+gitAUTOINC+ce9c17bce6-r0/temp/log.do_compile.118655) > > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com