I am trying to install and I am using the following commands :
apt -y install autoconf intltool automake meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential libgtk-3-dev libgtk-3-0 git clone https://github.com/v1cont/yad.git cd yad autoreconf -ivf && intltoolize ./configure && make && make install
But I get the following error:
main.c: In function ‘main’: main.c:788:53: error: ‘errno’ undeclared (first use in this function) 788 | options.data.workdir, strerror (errno)); | ^~~~~ main.c:35:1: note: ‘errno’ is defined in header ‘<errno.h>’; did you forget to ‘#include <errno.h>’? 34 | #include "yad.h" +++ |+#include <errno.h> 35 | main.c:788:53: note: each undeclared identifier is reported only once for each function it appears in 788 | options.data.workdir, strerror (errno)); | ^~~~~ make[2]: *** [Makefile:869: yad-main.o] Error 1 make[2]: Leaving directory '/home/mferreira/yad-dialog-code/src' make[1]: *** [Makefile:403: all-recursive] Error 1 make[1]: Leaving directory '/home/mferreira/yad-dialog-code' make: *** [Makefile:344: all] Error 2
I am trying to install and I am using the following commands :
apt -y install autoconf intltool automake meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential libgtk-3-dev libgtk-3-0 git clone https://github.com/v1cont/yad.git cd yad autoreconf -ivf && intltoolize ./configure && make && make install
But I get the following error:
main.c: In function ‘main’: main.c:788:53: error: ‘errno’ undeclared (first use in this function) 788 | options.data.workdir, strerror (errno)); | ^~~~~ main.c:35:1: note: ‘errno’ is defined in header ‘<errno.h>’; did you forget to ‘#include <errno.h>’? 34 | #include "yad.h" +++ |+#include <errno.h> 35 | main.c:788:53: note: each undeclared identifier is reported only once for each function it appears in 788 | options.data.workdir, strerror (errno)); | ^~~~~ make[2]: *** [Makefile:869: yad-main.o] Error 1 make[2]: Leaving directory '/home/mferreira/yad-dialog-code/src' make[1]: *** [Makefile:403: all-recursive] Error 1 make[1]: Leaving directory '/home/mferreira/yad-dialog-code' make: *** [Makefile:344: all] Error 2
Could someone tell me what I am doing wrong?
Thanks.