Parse tl scheme to tlo file. Formely part of telegram-cli
vysheng / tl-parser Goto Github PK
View Code? Open in Web Editor NEWParse tl scheme to tlo.
License: GNU General Public License v2.0
Parse tl scheme to tlo.
License: GNU General Public License v2.0
Parse tl scheme to tlo file. Formely part of telegram-cli
Hi @vysheng,
To facilitate download the tarball.
Can you create a tag for tl-parser repository?
TIA,
I'm trying to build telegram-purple on Ubuntu 32bit (I maintain a Launchpad PPA for it), but it fails with the following error:
make[1]: Entering directory '/build/buildd/telegram-purple-0.5'
cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl > auto/scheme.tl
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libpurple -Wall -Wextra -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -m64 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -DFLAGS -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
In file included from /usr/include/unistd.h:25:0,
from tgl/tl-parser/tl-parser.c:28:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
# include <sys/cdefs.h>
^
compilation terminated.
Makefile.tl-parser:5: recipe for target 'objs/tl-parser.o' failed
make[1]: *** [objs/tl-parser.o] Error 1
make[1]: Leaving directory '/build/buildd/telegram-purple-0.5'
dh_auto_build: make -j1 returned exit code 2
It looks like "#define _FILE_OFFSET_BITS 64" from tl-parser.c is the culprit. I'm not a programmer so I'm not sure what's going on, though it looks like the code is 64bit-specific and that's what's causing it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.