resea
resea copied to clipboard
Build error
When I build the latest version (on Windows WSL) I get:
CC kernel/boot.c
clang: error: unknown argument: '-fstack-size-section' Makefile:250: recipe for target 'build/kernel/kernel/boot.o' failed make: *** [build/kernel/kernel/boot.o] Error 1
I guess your clang is too old. Could you try building with a 10.x or newer version?
I used:
sudo apt-get install clang-10
and then:
sudo ln /usr/bin/clang-10 /usr/bin/clang
This works. It compiles. But if fails at the very end:
SYMBOLS build/dm.debug.elf
STRIP build/dm.elf
make: llvm-objcopy: Command not found
Makefile:407: recipe for target 'build/dm.elf' failed
make: *** [build/dm.elf] Error 127
I think you haven't installed LLVM utilities. Please try installing dependencies as described in the following doc: https://resea.org/docs/getting-started.html
curl: (28) Failed to connect to download.sourceforge.net port 443: Operation timed out
Traceback (most recent call last):
File "/Users/apple/resea/./tools/download-file.py", line 34, in
I am facing this error I am on macOS
It's a totally different error. Make sure if curl -fsSL download.sourceforge.net/sourceforge/libpng/libpng-1.6.37.tar.xz | file - succeeds.