Closed jorunv closed 2 years ago
it looks like you might be missing the linking for utpm
?
So try something like
target_link_libraries(cloud
iothub_client
iothub_client_mqtt_transport
iothub_client_mqtt_ws_transport
iothub_client_http_transport
iothub_client_amqp_transport
iothub_client_amqp_ws_transport
prov_auth_client
hsm_security_client
parson
aziotsharedutil
utpm
umqtt
uhttp
uamqp)
yes, these should be defined in utpm.
For example TPM2_EvictControl() is here
Hi, thank you for your feedback! Utmp is indeed what was missing in my cmake target link libraries. Adding it resolved my issues.
Hi,
First of all, apologies if this counts as a duplicate bug report, but i'm not sure if a comment on a closed issue gets noticed or picked up.
I'm currently working on a minimal MQTT IoThub implementation that does exactly the same as described in #598 .
Similarly I get the following linking issues when not adding the 'prov_auth_client' and 'hsm_security_client' as target link libraries.
However when I do add these libraries, as shown below, I encounter a lot of issues with linking the hsm_security_client. Did anyone encounter this issue as well or is there a workaround or fix for this?
These are the issues that followed when adding both libraries: