Open pigsfoot opened 5 years ago
Hi, i am getting the following error when i run Make on a RPI3 running Ubuntu
cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2 -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 -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c tgl/tl-parser/tl-parser.c: In function ‘tl_parse_args134’: tgl/tl-parser/tl-parser.c:1907:26: error: ‘builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Werror=format-overflow=] sprintf (s, "%lld", lrand48 () * (1ll << 32) + lrand48 ()); ^ In file included from /usr/include/stdio.h:862:0, from tgl/tl-parser/tl-parser.c:32: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:33:10: note: ‘builtin_sprintf_chk’ output between 2 and 21 bytes into a destination of size 20 return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~ bos (s), fmt, __va_arg_pack ());
cc1: all warnings being treated as errors Makefile.tl-parser:4: recipe for target 'objs/tl-parser.o' failed make: *** [objs/tl-parser.o] Error 1
I had problem with make too (Debian). Here I was advised to: sudo apt-get install libssl1.0-dev It helped out me. Try it.
sudo apt-get install libssl1.0-dev
Hi, i am getting the following error when i run Make on a RPI3 running Ubuntu
cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2 -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 -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c tgl/tl-parser/tl-parser.c: In function ‘tl_parse_args134’: tgl/tl-parser/tl-parser.c:1907:26: error: ‘builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Werror=format-overflow=] sprintf (s, "%lld", lrand48 () * (1ll << 32) + lrand48 ()); ^ In file included from /usr/include/stdio.h:862:0, from tgl/tl-parser/tl-parser.c:32: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:33:10: note: ‘builtin_sprintf_chk’ output between 2 and 21 bytes into a destination of size 20 return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1, ^
~~~~~~~~~~~~~ bos (s), fmt, __va_arg_pack ());