05-18-2019, 12:04 AM
(05-17-2019, 05:34 PM)tuxd3v Wrote: Can you please paste the output of:
Code:luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.2-0.rockspec
Code:
root@RockPro:~# luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-0.2-0.rockspec
Warning: variable CFLAGS was not passed in build_variables
gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o debug.o src/debug.c
gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o ats.o src/ats.c
gcc -shared -Wl,-soname,ats.so.0 -llua5.3 -o ats.so.0.9 debug.o ats.o
Install ATS Tool ..................: ats in /usr/local/sbin
Install ATS Config ................: ats.config in /etc
Install ATS Service File ..........: ats.service in systemd
Remove previous ATS Library .......: ats.so.* from /usr/local/lib/lua/5.3
Install new ATS Library ...........: ats.so.0.9 in /usr/local/lib/lua/5.3
Create soname symLink .............: ats.so in /usr/local/lib/lua/5.3
Starting ATS Service..
● ats.service - ATS - Active Thermal Service
Loaded: loaded (/etc/systemd/system/ats.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2019-05-18 15:59:44 AEST; 986ms ago
Process: 19712 ExecStart=/usr/local/sbin/ats (code=exited, status=1/FAILURE)
Main PID: 19712 (code=exited, status=1/FAILURE)
May 18 15:59:44 RockPro systemd[1]: ats.service: Unit entered failed state.
May 18 15:59:44 RockPro systemd[1]: ats.service: Failed with result 'exit-code'.
Makefile:103: recipe for target 'install' failed
make: *** [install] Error 3
Error: Build error: Failed installing.
(05-17-2019, 05:34 PM)tuxd3v Wrote: Also:
Code:which lua
Code:
root@RockPro:/usr/bin# which lua
/usr/bin/lua
Thanks!