bernmc / flashstor-trueNAS-fancontrol

Asustor Flashstor temperature monitoring and fan control for TrueNAS-Scale
GNU General Public License v3.0
28 stars 4 forks source link

make step fails in ElectricEel #6

Open sb10 opened 13 hours ago

sb10 commented 13 hours ago

As already known, the make step fails in ElectricEel, which is now officially released.

I get:

sudo su
install-dev-tools
apt install dkms
git clone https://github.com/mafredri/asustor-platform-driver
cd asustor-platform-driver
make
[...]
make[3]: *** [scripts/Makefile.build:243: /home/admin/asustor-platform-driver/asustor.o] Killed
make[2]: *** [/usr/src/linux-headers-6.6.44-production+truenas/Makefile:1924: /home/admin/asustor-platform-driver] Error 2
make[1]: *** [Makefile:237: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.6.44-production+truenas'
make: *** [Makefile:24: modules] Error 2

I've no idea why that happens.

bernmc commented 5 hours ago

@sb10 Sendu could you use make V=1 instead of make, and post the verbose output here - might give us a bit more info on why the process is being killed

sb10 commented 3 hours ago

@sb10 Sendu could you use make V=1 instead of make, and post the verbose output here - might give us a bit more info on why the process is being killed

make V=1 &> make.out
[still manages to output a load of stuff to terminal]
cat make.out
make[1]: Entering directory '/usr/src/linux-headers-6.6.44-production+truenas'
make --no-print-directory -C /usr/src/linux-headers-6.6.44-production+truenas \
-f /usr/src/linux-headers-6.6.44-production+truenas/Makefile modules
make -f ./scripts/Makefile.build obj=/home/admin/asustor-platform-driver need-builtin=1 need-modorder=1 
make[3]: *** [scripts/Makefile.build:243: /home/admin/asustor-platform-driver/asustor.o] Killed
make[2]: *** [/usr/src/linux-headers-6.6.44-production+truenas/Makefile:1924: /home/admin/asustor-platform-driver] Error 2
make[1]: *** [Makefile:237: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.6.44-production+truenas'
make: *** [Makefile:24: modules] Error 2