go micro gave me this kind of error while running make build - go

i had installed micro for learning micro services and go. but when i tried to run make build then i received this kind of weird error. can anyone help me to solve this
# github.com/micro/go-micro/v3/runtime/local/process/os
..\..\..\pkg\mod\github.com\micro\go-micro\v3#v3.0.0-beta\runtime\local\process\os\os_windows.go:13:29: undefined: process.Executable
..\..\..\pkg\mod\github.com\micro\go-micro\v3#v3.0.0-beta\runtime\local\process\os\os_windows.go:18:29: undefined: process.Executable
make: *** [build] Error 2

Related

make: *** [Makefile:43: user_proj_example] Error 1

When I call the `make user_proj_example` command to the caravel user project in the openlane folder, I encounter such an error.
I have applied the solutions from all the sources I can find on the internet, but the problem still persists.

"generate-pch command failed with exit code 1" when making a new Xcode scheme

I'm following the instruction here http://www.teratotech.com/blog/xcode-7-steps-to-easily-switch-between-multiple-environments/ to generate different schemes for different environments..
I created a testing configuration and created a new scheme to use that configuration. However, when I build and run, I'm getting this error:
<unknown>:0: error: generate-pch command failed with exit code 1 (use -v to see invocation)
error: 'AFNetworking/AFNetworking.h' file not found
#import <AFNetworking/AFNetworking.h>
1 error generated.
<unknown>:0: error: failed to emit precompiled header '/var/folders/f2/6j4b4kz54xy1vf_2gdlnrllc0000gn/T/My-Project-Header-47bffb.pch' for bridging header '/Users/me/Dev/my-project/My-Project-Header.h'
When I build with my original scheme, everything's fine... I only have 1 target. Am I missing anything?
EDIT: I'm using Cocoapods to manage my dependencies, if that makes any difference.
i solved this issue by running below commands
$ pod repo update
$ pod install
Usually such issue happens when project directory is changed or copied form some other machine.

Adding a new Kernel Call in Minix 3

I have been trying to write a kernel call in Minix 3. I looked at the developer's guide and tried doing it, but came across an error in step 9.
# make /usr/src/${MACHINE_ARCH}
install ===> tools
install ===> lib
install ===> lib/csu
install /usr/lib/crt0.o
*** Error code 1
Stop.
make: stopped in /usr/src/lib/csu
*** Error code 1
Stop.
...
...
The error has been shown above. The link I followed is:
http://wiki.minix3.org/Releases/3.2.1/DevelopersGuide/NewKernelCall
Any idea why this error has come up? Or are there any other guides available in the internet? I haven't found any unfortunately.
Have you checked if the environment variable $MACHINE_ARCH is set?
Try this on your prompt:
echo $MACHINE_ARCH

Cygwin make dependencies fail

I'm using Windows 7, and the command make dependencies fails in CYGWIN.
'make' works and shows the complete list of available targets. make clean works without generating an error message. All the rest fails and the error is:
$ make dependencies
Installing depencies
make: Rscript : commande introuvable
../Makefile:39: recipe for target `dependencies' failed
make: *** [dependencies] Error 127
I have double-checked all my environment variables, PATH, and CYGWIN_HOME, etc., still doesn't work.
Any advice from someone who's been through the same issue is much appreciated.

GODI installation error

I'm running Fedora 9 x86_64 and am more or less a Linux newbie (not using it, but installing and such). The error occurs in the second stage of the bootstrap (i.e. "./bootstrap_stage2").
It does a whole lot fo stuff and then these errors start happening:
Fatal error: exception Out_of_memory
make[8]: *** [odoc_html.cmo] Error 2
make[8]: Leaving directory `/home/matthew/godi/build/godi/godi-ocaml/work/ocaml/ocamldoc'
make[7]: *** [ocamldoc] Error 2
make[7]: Leaving directory `/home/matthew/godi/build/godi/godi-ocaml/work/ocaml'
Error: Exec error: File /home/matthew/godi/build/godi/godi-ocaml/./../../mk/bsd.pkg.mk, line 1039: Command returned with non-zero exit code
Error: Exec error: File /home/matthew/godi/build/godi/godi-ocaml/./../../mk/bsd.pkg.mk, line 1378: Command returned with non-zero exit code
Error: Command fails with code 1: godi_console
Failure!
I've run it monitoring my memory and can say that I definately have not run out (using about 500 and I've got 3).
So anyone know what the issue is? I've searched the net, but the only other similar thing I found was the other thread on here (but it had a different error)
Any help would be much appreciated, because last time I installed it, it worked flawlessly.
This looks like a known problem with old OCaml (<3.11) on 64-bit platforms likely triggered by heap randomization, which is enabled on Fedora. It's been fixed so far as I know in recent releases (3.11 at least, possibly 3.10.2). Up-to-date GODI running out of section 3.11 should work if this is the case.

Resources