[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
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
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
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
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
-------------- 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