Success - the image built! One more semi-related question: If I want to add
a new meta-layer to the image, should the version/commit of the new layer
set in default.xml match up with the jethro branch or the master branch? I
presume I'd have to add one of the following to include the meta-webserver
layer:
http://cgit.openembedded.org/meta-openembedded/commit/meta-webserver?h=jethro
http://cgit.openembedded.org/meta-openembedded/commit/meta-webserver

On Fri, Jul 28, 2017 at 4:44 AM, Philip Balister <phi...@balister.org>
wrote:

> Internal compiler error says you are running out of memory in most cases.
> Try increasing the amount of memory available to the container.
>
> Philip
>
>
> On July 27, 2017 10:35:53 PM EDT, Alexander Olihovik <ano...@virginia.edu>
> wrote:
>>
>> Thanks Marcus and Philip. I followed Philip's guide and got much further
>> with the build than before, but I'm still encountering an error when
>> running 'bitbake gnuradio-dev-image' (and for reference, I'm sticking with
>> running 'export MACHINE="ettus-e3xx-sg1"' as in the previous guide). The
>> error is as follows:
>> | {standard input}: Assembler messages:
>> | {standard input}:381928: Warning: end of file not at end of a line;
>> newline inserted
>> | {standard input}:382724: Error: invalid operands (*UND* and *UND*
>> sections) for `-'
>> | arm-oe-linux-gnueabi-g++: internal compiler error: Killed (program
>> cc1plus)
>> | Please submit a full bug report,
>> | with preprocessed source if appropriate.
>> | See <http://gcc.gnu.org/bugs.html> for instructions.
>> | swig/CMakeFiles/_mapper_swig.dir/build.make:71: recipe for target
>> 'swig/CMakeFiles/_mapper_swig.dir/mapper_swigPYTHON_wrap.cxx.o' failed
>> | make[2]: *** 
>> [swig/CMakeFiles/_mapper_swig.dir/mapper_swigPYTHON_wrap.cxx.o]
>> Error 4
>> | make[2]: Leaving directory '/home/build/oe-repo/build/
>> tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gr-
>> mapper/0.0.4+gitAUTOINC+39ebd61140-r0/build'
>> | CMakeFiles/Makefile2:201: recipe for target
>> 'swig/CMakeFiles/_mapper_swig.dir/all' failed
>> | make[1]: *** [swig/CMakeFiles/_mapper_swig.dir/all] Error 2
>> | make[1]: Leaving directory '/home/build/oe-repo/build/
>> tmp-glibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gr-
>> mapper/0.0.4+gitAUTOINC+39ebd61140-r0/build'
>> | Makefile:141: recipe for target 'all' failed
>> | make: *** [all] Error 2
>> | WARNING: /home/build/oe-repo/build/tmp-glibc/work/armv7ahf-vfp-neon-
>> oe-linux-gnueabi/gr-mapper/0.0.4+gitAUTOINC+39ebd61140-r0/temp/run.do_compile.63492:1
>> exit 1 from
>> |   exit 1
>> | ERROR: oe_runmake failed
>> | ERROR: Function failed: do_compile (log file is located at
>> /home/build/oe-repo/build/tmp-glibc/work/armv7ahf-vfp-neon-
>> oe-linux-gnueabi/gr-mapper/0.0.4+gitAUTOINC+39ebd61140-r0/
>> temp/log.do_compile.63492)
>> ERROR: Task 2138 (/home/build/oe-repo/oe-core/.
>> ./meta-sdr/recipes-support/gr-mapper/gr-mapper_git.bb, do_compile)
>> failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 5439 tasks of which 5405 didn't need to be
>> rerun and 1 failed.
>> Waiting for 0 running tasks to finish:
>> Summary: 1 task failed:
>>   /home/build/oe-repo/oe-core/../meta-sdr/recipes-support/gr-mapper/
>> gr-mapper_git.bb, do_compile
>> Summary: There were 2 ERROR messages shown, returning a non-zero exit
>> code.
>>
>> Any ideas on where to go from here?
>>
>> On Thu, Jul 27, 2017 at 3:36 AM, Philip Balister <phi...@balister.org>
>> wrote:
>>
>>> On 07/26/2017 10:05 AM, Marcus Müller via USRP-users wrote:
>>> > 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.
>>>
>>> Added to my todo list. I just did these by hand to make it work.
>>>
>>> Philip
>>>
>>> >
>>> > 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+gitA
>>> UTOINC+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
>>> >
>>>
>>
>>
>>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>



-- 




*Alex OlihovikUniversity of Virginia 2013BS Electrical EngineeringBS
Computer engineeringano...@virginia.edu <ano...@virginia.edu>*
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to