Code Monkey home page Code Monkey logo

tl-parser's Introduction

Parse tl scheme to tlo file. Formely part of telegram-cli

tl-parser's People

Contributors

arseny30 avatar arves100 avatar benwiederhake avatar vysheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tl-parser's Issues

Fails to build on 32bit

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.