vysheng / tg

telegram-cli
GNU General Public License v2.0
6.5k stars 1.54k forks source link

I'm trying to build tg on linux 64bit by x86-64-linux-uclibc-gcc , but it fails with the following error: #1190

Open qqqqqqqqq-dev opened 8 years ago

qqqqqqqqq-dev commented 8 years ago

make: cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl /home/yanzi/work/KCon/buildroot-2016.08-rc1/output/usr/bin/x86_64-buildroot-linux-uclibc-gcc -I. -I. -I./tgl -g -O2 -I//home/yanzi/tg/include -I/usr/local/include -I/home/yanzi/tg/include -I/home/yanzi/tg/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 -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 /home/yanzi/work/KCon/buildroot-2016.08-rc1/output/usr/bin/x86_64-buildroot-linux-uclibc-gcc -I. -I. -I./tgl -g -O2 -I//home/yanzi/tg/include -I/usr/local/include -I/home/yanzi/tg/include -I/home/yanzi/tg/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 -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c /home/yanzi/work/KCon/buildroot-2016.08-rc1/output/usr/bin/x86_64-buildroot-linux-uclibc-gcc objs/tl-parser.o objs/tlc.o -L//home/yanzi/tg/lib -L/usr/local/lib -L/home/yanzi/tg/lib -L/home/yanzi/tg/lib -rdynamic -ggdb -levent -lz -lgcrypt -levent -lreadline -ldl -lpthread -lutil -o bin/tl-parser bin/tl-parser -e auto/scheme.tlo auto/scheme.tl Makefile.tgl:35: recipe for target 'auto/scheme.tlo' failed

qqqqqqqqq-dev commented 8 years ago

git by commands as follow:

git submodule update --recursive git clone https://github.com/vysheng/tg