<div id="compose" contenteditable="true" style="padding-left: 20px; padding-right: 20px; padding-bottom: 8px;"><br></div><div class="gmail_quote"><style><!--.hmmessage P{margin:0px;padding:0px}body.hmmessage{font-size: 12pt;font-family:Calibri}--></style><div dir="ltr">Hi,<div>I am trying to write a recipe to compile a go program. i am using meta-go for go compiler. </div><div><br></div><div>getting the following error</div><div><br></div><div>"</div><div><div> # runtime/cgo</div><div>| ../../../../../../../../../sysroots/x86_64-linux/usr/lib/x86_64-openswitch-linux/go/src/runtime/cgo/cgo.go:54:19: fatal error: errno.h: No such file or directory</div></div><div><br></div><div>"</div><div><br></div><div>here is my recipe. </div><div><br></div><div>"</div><div><div><br></div><div>inherit go</div><div>DEPENDS = " nanomsg linux-libc-headers "</div><div><br></div><div>FILESEXTRAPATHS_prepend = "${THISDIR}:"</div><div>SRC_URI += "file://${PV}/anchor.tgz"</div><div>S = "${WORKDIR}/anchor"</div><div><br></div><div><br></div><div><br></div><div>do_compile() {</div><div><span style="font-size: 12pt;">  cd ${S}/reltools && make -I${S}/include</span></div><div>}</div><div><br></div><div><span style="font-size: 12pt;">"</span></div></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">I am getting error for missing header files. Can someone help me address it.</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Thanks,</span></div><div><span style="font-size: 12pt;">Sridhar</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;"><br></span></div>                                      </div><br><br></div>