You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install tgfs but it doenst work on Debian 11 or Ubuntu 22.
This is the error I get when executing the make command on Ubuntu 22. Any Ideas? Stuck with this for a couple of weeks now.
gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/main.d -MQ objs/main.o -o objs/main.o main.c
main.c: In function ‘termination_signal_handler’:
main.c:824:7: error: ‘write’ reading 18 bytes from a region of size 17 [-Werror=stringop-overread]
824 | if (write (1, "SIGNAL received\n", 18) < 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from main.c:29:
/usr/include/unistd.h:378:16: note: in a call to function ‘write’ declared with attribute ‘access (read_only, 2, 3)’
378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
| ^~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:48: objs/main.o] Error 1
make[1]: Leaving directory '/root/tgfs/tg'
make: *** [Makefile:19: telegram-cli] Error 2
The text was updated successfully, but these errors were encountered:
I'm trying to install tgfs but it doenst work on Debian 11 or Ubuntu 22.
This is the error I get when executing the make command on Ubuntu 22. Any Ideas? Stuck with this for a couple of weeks now.
The text was updated successfully, but these errors were encountered: