You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version 4.0.3, while compile at centos 7 or centos 8, it's glibc lowest support is 2.14, and it's not support with centos 6
./xxxx: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./xxxx)
and if compile with centos 6, it's not support -H argument.
shc shll=bash
shc [-i]=-c
shc [-x]=exec '%s' "$@"
shc [-l]=
shc opts=
shc: cc /root/xxxx.sh.x.c -o /root/xxxx
/root/xxxx.sh.x.c:684: error: invalid use of undefined type 'struct seccomp_data'
/root/xxxx.sh.x.c:686: error: 'SECCOMP_RET_KILL' undeclared here (not in a function)
/root/xxxx.sh.x.c:689: error: invalid use of undefined type 'struct seccomp_data'
/root/xxxx.sh.x.c:692: error: 'SECCOMP_RET_ALLOW' undeclared here (not in a function)
/root/xxxx.sh.x.c: In function 'seccomp_hardening':
/root/xxxx.sh.x.c:711: error: 'SECCOMP_MODE_FILTER' undeclared (first use in this function)
/root/xxxx.sh.x.c:711: error: (Each undeclared identifier is reported only once
/root/xxxx.sh.x.c:711: error: for each function it appears in.)
shc: Success
The text was updated successfully, but these errors were encountered:
version 4.0.3, while compile at centos 7 or centos 8, it's glibc lowest support is 2.14, and it's not support with centos 6
./xxxx: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./xxxx)
and if compile with centos 6, it's not support -H argument.
shc shll=bash
shc [-i]=-c
shc [-x]=exec '%s' "$@"
shc [-l]=
shc opts=
shc: cc /root/xxxx.sh.x.c -o /root/xxxx
/root/xxxx.sh.x.c:684: error: invalid use of undefined type 'struct seccomp_data'
/root/xxxx.sh.x.c:686: error: 'SECCOMP_RET_KILL' undeclared here (not in a function)
/root/xxxx.sh.x.c:689: error: invalid use of undefined type 'struct seccomp_data'
/root/xxxx.sh.x.c:692: error: 'SECCOMP_RET_ALLOW' undeclared here (not in a function)
/root/xxxx.sh.x.c: In function 'seccomp_hardening':
/root/xxxx.sh.x.c:711: error: 'SECCOMP_MODE_FILTER' undeclared (first use in this function)
/root/xxxx.sh.x.c:711: error: (Each undeclared identifier is reported only once
/root/xxxx.sh.x.c:711: error: for each function it appears in.)
shc: Success
The text was updated successfully, but these errors were encountered: