title: Yocto: oe_runmake failed, error in do_compile from bitbake image
body: <p>I'm building yocto image and a newbie for this.
  I'm having an error when I type <code>bitbake piflo</code> command (piflo is my image name) like shown figure below:</p>
  
  <p><a href="https://i.stack.imgur.com/EyTCD.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/EyTCD.jpg" alt="oe_runmake failed with do_compile"></a></p>
  
  <p>It says <code>ERROR: batctl-2017.1-r0 do_compile: oe_runmake failed</code> and also says <code>pkg-config not found.</code> from makefile.</p>
  
  <p>I found some solutions from web and tried, but it gave me same error as figure above.
  It was building OK but after getting new batctl and batman-adv it fails building.</p>
  
  <p>Does anybody have an idea for this?
  Please help me out here.</p>
  
  <p>If needs more information or code, I will EDIT.</p>
  
  <p>Thanks in advance.</p>