Hi:
I am having issues with gpio leds and version 0.3 so I wanted to try the 0.5 version. I am ending up with a compile error:
- gcc -std=gnu99 -Os -Wall -Wextra -pthread -o freecusd alert.c conf.c cputemp.c disk.c err.c lib.c loadavg.c main.c pic.c proc.c raid.c smart.c sysfan.c tty.c -lcip
/tmp/cczR7gg2.o: In function fcd_err_child_pabort': err.c:(.text+0x393): warning: sys_errlist' is deprecated; use strerror' or strerror_r' instead
err.c:(.text+0x389): warning: sys_nerr' is deprecated; use strerror' or `strerror_r' instead
+ gcc -std=gnu99 -Os -Wall -Wextra -pthread -o helper smart/helper.c -latasmart
smart/helper.c:6:22: fatal error: atasmart.h: No such file or directory
#include <atasmart.h>
^
compilation terminated.
error: Bad exit status from /var/tmp/rpm-tmp.XpGF8y (%build)
I tried installing the libatasmart src rpm with no luck.
I really appreciate your help in building this module. Centos is a far better OS on the Thecus NAS than what was being provided to use.
Thanks in advance.
IskiE
Hi:
I am having issues with gpio leds and version 0.3 so I wanted to try the 0.5 version. I am ending up with a compile error:
/tmp/cczR7gg2.o: In function
fcd_err_child_pabort': err.c:(.text+0x393): warning:sys_errlist' is deprecated; usestrerror' orstrerror_r' insteaderr.c:(.text+0x389): warning:
sys_nerr' is deprecated; usestrerror' or `strerror_r' instead+ gcc -std=gnu99 -Os -Wall -Wextra -pthread -o helper smart/helper.c -latasmart
smart/helper.c:6:22: fatal error: atasmart.h: No such file or directory
#include <atasmart.h>
^
compilation terminated.
error: Bad exit status from /var/tmp/rpm-tmp.XpGF8y (%build)
I tried installing the libatasmart src rpm with no luck.
I really appreciate your help in building this module. Centos is a far better OS on the Thecus NAS than what was being provided to use.
Thanks in advance.
IskiE