[yocto] Debugging Yocto Project build failures

Never Read dsjnews at hotmail.co.uk
Thu Aug 10 05:36:13 PDT 2017


Hi,

I am trying to build a yocto project for a particular platform and get a compile error after about 45 minutes or so.

The error is reported as a do_compile error when trying to compile a source file for jq-1.5-r0 (JSON stream filter as far as I know). It reports that the file main.c could not be found. I have checked the particular directory an can see that it is in fact present.

My question is as follows.

Instead of running make to try and debug the problem (which takes ages to reach the point of error), is there a way to use do_compile to manually compile/build this one item?

I have tried running make in projects directory (where its Makefile is located) but this does not work because perhaps it is first necessary to setup the build environment first.
It appears that it needs x86_64-poky-linux-gcc to do the compile and on searching for this file there are about 8 or 9 versions/copies of this file, none of which are on the current path.

If this is the case how would I go about doing this?

I am running Ubuntu 16.04 from VirtualBox.

Regards
FarmerJo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170810/f7862f5c/attachment.html>


More information about the yocto mailing list