keystone-enclave / keystone-sdk

SDK for Keystone Enclave - ABI/SBI libraries and sample apps
Other
44 stars 22 forks source link

How to use clock_gettime() in eapp? #82

Open Peng-Hu opened 2 years ago

Peng-Hu commented 2 years ago

I want to use clock_gettime() in eapp. I add -Lrt to CFLAGS in Makefile. However, riscv64-unknown-linux-gnu-ld report error: undefined reference to "clock_gettime".