05-22-2019, 12:44 AM
Hi,
I updated the kernel but install still fails with the same error, maybe earlier install attempt broke something?
I updated the kernel but install still fails with the same error, maybe earlier install attempt broke something?
Code:
rock64@rockpro64:~$ find /sys -name "*pwm*" -type f
/sys/devices/platform/ff420020.pwm/pwm/pwmchip0/npwm
/sys/firmware/devicetree/base/pwm@ff420000/#pwm-cells
/sys/firmware/devicetree/base/pwm@ff420010/#pwm-cells
/sys/firmware/devicetree/base/pwm@ff420020/#pwm-cells
/sys/firmware/devicetree/base/pwm@ff420030/remote_pwm_id
/sys/firmware/devicetree/base/pwm@ff420030/#pwm-cells
/sys/firmware/devicetree/base/rockchip-suspend/rockchip,pwm-regulator-config
/sys/firmware/devicetree/base/voppwm@ff9001a0/#pwm-cells
/sys/firmware/devicetree/base/voppwm@ff8f01a0/#pwm-cells
/sys/firmware/devicetree/base/vdd-log/pwms
/sys/firmware/devicetree/base/vdd-log/rockchip,pwm_voltage
/sys/firmware/devicetree/base/vdd-log/pwm-supply
/sys/firmware/devicetree/base/vdd-log/rockchip,pwm_id
find: '/sys/kernel/debug': Permission denied
rock64@rockpro64:~$ sudo 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
Failed to enable unit: Unit file ats.service does not exist.
Makefile:103: recipe for target 'install' failed
make: *** [install] Error 1
Error: Build error: Failed installing.
rock64@rockpro64:~$ uname -a
Linux rockpro64 4.4.138-1097-rockchip-ayufan-gb5128c0a1684 #1 SMP Sat Sep 29 15:08:06 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
rock64@rockpro64:~$