lepton
lepton copied to clipboard
Audit_arch value inavalable
Hi, I'm trying to experiment with lepton for my software portability class, however when I try to run lepton on one of my class servers I get these errors:
src/io/seccomp-bpf.hh:61:3: warning: #warning "Platform does not support seccomp filter yet" [-Wcpp] src/io/Seccomp.cc:58:4: error: #error "AUDIT_ARCH value unavailable" /# error "AUDIT_ARCH value unavailable" ^~~~~
and
src/lepton/jpgcoder.cc: In function ‘int app_main(int, char**)’: src/lepton/jpgcoder.cc:855:13: error: ‘__builtin_cpu_supports’ was not declared in this scope __builtin_cpu_supports("avx2") I'm compiling with the option you gave in issue 71 .
Is there any advice you can give?
Thank you, Sanjit
in Seccomp.cc you can change all instances of #ifdef __linux to #if 0 and just avoid the security code altogether
you could pull that into a compile flag in cmake if you'd like