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

                                          


        
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to