Closed bmario closed 5 years ago
Build error:
/home/s9242987/Software/x86_energy/src/access/sysfs.c: In function ‘setup’:
/home/s9242987/Software/x86_energy/src/access/sysfs.c:96:13: error: ‘totalfiles’ undeclared (first use in this function); did you mean ‘total_files’?
if (totalfiles == 0)
^~~~~~~~~~
total_files
/home/s9242987/Software/x86_energy/src/access/sysfs.c:96:13: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/x86_energy-static.dir/build.make:278: recipe for target 'CMakeFiles/x86_energy-static.dir/src/access/sysfs.c.o' failed/home/s9242987/Software/x86_energy/src/access/sysfs.c: In function ‘setup’:
/home/s9242987/Software/x86_energy/src/access/sysfs.c:96:13: error: ‘totalfiles’ undeclared (first use in this function); did you mean ‘total_files’?
if (totalfiles == 0)
^~~~~~~~~~
total_files
/home/s9242987/Software/x86_energy/src/access/sysfs.c:96:13: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/x86_energy-static.dir/build.make:278: recipe for target 'CMakeFiles/x86_energy-static.dir/src/access/sysfs.c.o' failed
I'm getting an error:
File is readable for the user and there are file descriptors available.