thermometer.c:21:10: fatal error: libconfig.h: No such file or directory

From: kernel test robot
Date: Tue Apr 04 2023 - 11:58:43 EST


Hi Daniel,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 148341f0a2f53b5e8808d093333d85170586a15d
commit: 110acbc6a4518145db3a1a9c0686d730bb258bf1 tools/thermal: Add a temperature capture tool
date: 11 months ago
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=110acbc6a4518145db3a1a9c0686d730bb258bf1
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 110acbc6a4518145db3a1a9c0686d730bb258bf1
make O=/tmp/kselftest headers
make O=/tmp/kselftest -C tools/testing/selftests

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202304042346.joPYYFMi-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> thermometer.c:21:10: fatal error: libconfig.h: No such file or directory
21 | #include <libconfig.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:23: thermometer] Error 1

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests