Open jplock opened 1 year ago
If you add the following to the utils.h
file, this will build properly.
#include <unistd.h>
#include <sys/syscall.h>
#ifndef SYS_gettid
#error "SYS_gettid unavailable on this system"
#endif
#define gettid() ((pid_t)syscall(SYS_gettid))
Found here: https://stackoverflow.com/questions/21279649/getting-error-in-c-program-undefined-reference-to-gettid
I'm trying to deploy https://github.com/aws-samples/aws-gateway-load-balancer-tunnel-handler/blob/main/example-scripts/example-topology-two-arm.template but I'm getting this build error when running
make
: