Skip to content

Instantly share code, notes, and snippets.

@jido
Last active May 20, 2019 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jido/fe4600deb7e3936b7715ed5ff9b1e59b to your computer and use it in GitHub Desktop.
Save jido/fe4600deb7e3936b7715ed5ff9b1e59b to your computer and use it in GitHub Desktop.
make install errors
[ 98%] Built target compiler
Scanning dependencies of target zig0
[ 98%] Building CXX object CMakeFiles/zig0.dir/src/main.cpp.o
[ 99%] Building CXX object CMakeFiles/zig0.dir/src/userland.cpp.o
[ 99%] Linking CXX executable zig0
[ 99%] Built target zig0
Scanning dependencies of target userland_target
[ 99%] Generating userland.o
ar rcs /Users/jido/dev/github/zig/libuserland.a /Users/jido/dev/github/zig/userland.o /Users/jido/Library/Application Support/zig/stage1/o/Kw399qJMMhP1xxYkT-9eyTN-lrfoF9WqGdLNtnNfyyKQhXGVkyyKpvSaF-xJEXD8/compiler_rt.o
[ 99%] Built target userland_target
Scanning dependencies of target zig
[ 99%] Building CXX object CMakeFiles/zig.dir/src/main.cpp.o
[100%] Linking CXX executable zig
Undefined symbols for architecture x86_64:
"___zig_probe_stack", referenced from:
_translate_c.translate in userland.o
_std.io.BufferedAtomicFile.create in userland.o
_std.sort.sort in userland.o
_std.debug.printLineFromFileAnyOs in userland.o
_std.zig.render.renderExpression in userland.o
_std.os.AtomicFile.init in userland.o
_std.io.BufferedOutStreamCustom(4096,error{SystemResources,OperationAborted,BrokenPipe,Unexpected,DiskQuota,FileTooBig,InputOutput,NoSpaceLeft,AccessDenied,}).init in userland.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [zig] Error 1
make[1]: *** [CMakeFiles/zig.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment