[yocto] meta-go
Sridhar Pitchai
sridhar.pitchai at outlook.com
Tue Jun 21 07:20:34 PDT 2016
Hi,I am trying to write a recipe to compile a go program. i am using meta-go for go compiler.
getting the following error
" # runtime/cgo| ../../../../../../../../../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
"
here is my recipe.
"
inherit goDEPENDS = " nanomsg linux-libc-headers "
FILESEXTRAPATHS_prepend = "${THISDIR}:"SRC_URI += "file://${PV}/anchor.tgz"S = "${WORKDIR}/anchor"
do_compile() { cd ${S}/reltools && make -I${S}/include}
"
I am getting error for missing header files. Can someone help me address it.
Thanks,Sridhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160621/a875dfca/attachment.html>
More information about the yocto
mailing list