[USRP-users] gcc5 Error when Rebuilding File System

Alexander Olihovik ano9cn at virginia.edu
Wed Jul 26 11:11:35 EDT 2017


I've been following the guide for rebuilding the file system at
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, 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20170726/44fe47a1/attachment-0002.html>


More information about the USRP-users mailing list