-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I compiled It, get segmentation fault and cant curl it. #50
Comments
Hello, |
So how to fix this did you figure it out? I try compiled release by all other versions , its just the same error. |
I could get it to run on WSL2 last year by changing the flags of sys_mmap_mem or sys_mmap_stack in syscall.asm |
I compiled it with nasm
nasm -f elf64 main.asm -o main.o
Then run
ld -m elf_x86_64 main.o -o asmttpd
Then on Ubuntu Subsystem Linux for Windows 10
after i chmod on it
chmod -R 777 ./asmttpd
I run it
./asmttpd web_root 8000
It gracefully try to bypass firewall by showing a pop up
with option of Public and Private network. However it gives me
segmentation fault (core dumped). And i can't curl on it,
curl on localhost port 8000 connection refused.
How to fix this?
The text was updated successfully, but these errors were encountered: