jpereira/softgre

make error under alpine linux 4.19.67-0-vanilla

Liroy2003 opened this issue · 1 comments

Hey,

im having trouble under alpine linux, i get the following error:

../src/service_cmd.c' || echo './'`../src/service_cmd.c
../src/service_cmd.c: In function 'cmd_cb_STAT':
../src/service_cmd.c:148:20: error: storage size of 'info' isn't known
struct sysinfo info;
^~~~
../src/service_cmd.c:154:5: warning: implicit declaration of function 'sysinfo'; did you mean 'psiginfo'? [-Wimplicit-function-declaration]
sysinfo(&info);
^~~~~~~
psiginfo
make[2]: *** [Makefile:622: softgred-service_cmd.o] Error 1
make[2]: Leaving directory '/root/softgre.git/bin'
make[1]: *** [Makefile:389: all-recursive] Error 1
make[1]: Leaving directory '/root/softgre.git'
make: *** [Makefile:330: all] Error 2

Any idea?

ok i installed it under debian and it works. Issue can be closed