Fraunhofer-SIT / charra

Proof-of-concept implementation of the "Challenge/Response Remote Attestation" interaction model of the IETF RATS Reference Interaction Models for Remote Attestation Procedures using TPM 2.0.
BSD 3-Clause "New" or "Revised" License
27 stars 20 forks source link

Makefile: Fix undefined reference problem #14

Closed Asiderr closed 3 years ago

Asiderr commented 3 years ago

CHARRA compilation inside the container ends with undefined reference error. More details in the issue: https://github.com/Fraunhofer-SIT/charra/issues/13

Linking the math library -lm solved the problem.

Signed-off-by: Norbert Kamiński norbert.kaminski@3mdeb.com

eckelmeckel commented 3 years ago

Hi @Asiderr,

thanks for pointing out that issue. It was introduced by the QCBOR dependency which now requires the math library. I am addressing this issue already in my pull request #17 with major changes to CHARRA. I have been working on that for quite a while now but did not manage to push the code before today.

It would be great if you could check out the new changes.

Cheers, Michael