Compile error
fox0430 opened this issue · comments
Shuu commented
Hello, I tried to use this package. But I can not compile it.
Source code
test.nim
import seccomp
setSeccomp("write exit_group")
echo """Seccomp is now enabled. Future attempts to change the Seccomp configuration
or to call forbidden system calls will cause the process to be terminated"""
Install and build
nimble install seccomp
nim c test.nim
Result
Hint: used config file '/home/fox/.choosenim/toolchains/nim-1.4.8/config/nim.cfg' [Conf]
Hint: used config file '/home/fox/.choosenim/toolchains/nim-1.4.8/config/config.nims' [Conf]
............
/home/fox/.nimble/pkgs/seccomp-0.2.0/seccomp.nim(9, 8) Error: cannot open file: seccomp_lowlevel
Environment
OS: Arch Linux
Nim: v1.4.8
Did I miss anything?
Thank you
Federico Ceratto commented
Merged and tagged a new release. Thank you!