-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegram on OpenWrt #213
Comments
Hi Some progress? |
That would be very interesting for me as well |
I've made OpenWrt package and it's works as expected on Asus RT-N66U (256MB RAM). GCC 4.6.4, uClibc 0.9.32, MIPSEL. @vysheng, is there any way to reduce RAM consumption? Even for RT-N66U 211MB is too much.
|
Can you post the source please? Thnks |
@vk496, please, look at my previous post again. |
Have you linked and stripped the telegram-cli ? |
Yep. linked (see above) and stripped down to 3,7MB
Yes, fixed just yesterday, now it supports LUA script, I've checked it with this ping-pong example. |
Ok, sorry @ryzhovau I've tried to compile on AR7XXX/AR9XXX but have issues with zlib
zlib1g-dev is installed in my system |
@vk496, change some prefixes in Makefile:
and so on. |
@ryzhovau yes, works. Now get this
|
Quite self-explained. Fix sources or disable warnings being treated as errors. |
Sorry for noob questions... I have tried to disable warnings as errors with Makefile arguments
But still have the same problem. Some help please? |
There is no |
My problem was using musl library. Recompiled with uClibc and compilation work. Now have problems again
|
Hello. root@OpenWrt:~# telegram-cli -U root -k /usr/etc/telegram-cli/tg-server.pub -vvvvv This is the Makefile I've used: Copyright (C) 2011-2015 EntwareThis is free software, licensed under the GNU General Public License v2.See /LICENSE for more information.include $(TOPDIR)/rules.mk PKG_NAME:=telegram-cli PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_REMOVE_FILES:=ax_lua.m4 PKG_BUILD_DEPENDS:=telegram-cli/host include $(INCLUDE_DIR)/host-build.mk define Package/telegram-cli define Package/telegram-cli/description CONFIGURE_ARGS += CONFIGURE_VARS += define Host/Configure define Host/Compile define Host/Install define Build/Compile define Package/telegram-cli/install
Regards. |
@vk496, @raphikBIS, are you expecting me or @vysheng will debug your builds? |
@ryzhovau, thank you. I do really appreciate your suggestion. |
Despite the kind help received, I cannot compile anything able to work on Comtrend AR5387-un. Tests are over. |
How to install telegram on Open WRT or Arduino Yun step by step ? i am newbie at it sorry for my bad english |
Hello guys,
I'm trying to port telegram to OpenWrt and I have some weird issues.
First here's what I have so far:
http://www.mediafire.com/download/51ar189inrp2w92/telegram.zip
It was impossible to use configure due to some tests being incompatible with cross-compiling (lua version), so I decided to switch to cmake.
After that, telegram was built succesfully, but there were some runtime issues with "my_clock_gettime". To solve this and fix the timers, I replaced all "my_clock_gettime" to the standard "clock_gettime".
But after fixing the timers there's another network issue which I cannot identify. Maybe someone who knows telegram better than me can help me with this :D.
Log: http://pastebin.com/LQxytw28
Regards,
Álvaro.
The text was updated successfully, but these errors were encountered: