Closed rossburton closed 3 years ago
check you are building it correctly:
autoreconf -ivf
./configure
make clean
make
If this fails, please supply the details of your build system (kernel, compiler version and architecture).
I'm building it correctly, with an out-of-tree build.
cd fwts
mkdir build
../configure
make
This fails because the src/libfwtsiasl
Makefile is writing generated files to $srcdir
and trying to read source files from the build directory.
OK - I can reproduce this now, we've never done out-of-tree-builds so the relative path'ing is a bit broken. I'll sort that out
Fix sent for review at fwts-devel mailing list:
https://lists.ubuntu.com/archives/fwts-devel/2021-April/012925.html
Bits like this concern me:
+kernelscan_SOURCES = kernelscan.c $(srcdir)/../lib/src/fwts_json.c
Is fwts_json.c generated? If so, it should be written into builddir not srcdir.
It's not generated, it's part of the fwts source
Fix released.