Hi,
When I compile gnutls package, I can't enable tpm support. Version information is as following:
linux-4.14.95
gcc-7.3.0
gnutls-3.5.19. or gnutls-3.6.7
The compiling error is as following:
cp: cannot stat '/home/zhh/mydev/openwrt-64/build_dir/target-mips64el_mips64r6_64_musl/gnutls-3.6.7/ipkg-install/usr/bin/tpmtool': No such file or directory
The same information is for gnutls-3.5.19.
I have checked the config.log of gnutls, some information is as following:
onfigure:60273: result: no
configure:60278: WARNING:
***
*** trousers was not found. TPM support will be disabled.
***
I have also checked configure file in gnutls-3.5.19. It seems that we should add configure option "--with_trousers_lib=lib" to specify the lib. but I have not found any information related to trousers lib, so tpm support can't be enabled for gnutls in openwrt now. Is it right?
Thanks at first.
Hua