-
Notifications
You must be signed in to change notification settings - Fork 3
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
cross comilation for openwrt? #2
Comments
for the openwrt you can install sslh |
I already use this: update: what I look for is what this project (zroxy) and the other one I linked do. |
I think zroxy not good for use on openwrt, because zroxy not optimize for memory usage and many router has limited ram |
openwrt already requires a minimum of hardware level that is 32MB for RAM. |
it's good, in next week I tryed add
unfortunately we can not able to static link zroxy because I use 'getaddrinfo' function for resolve domain name to IP and glibc uses libnss to support a number of different providers for address resolution services and we cannot statically link libnss! |
I found solution, for static build of zroxy we can use 'musl-gcc' but unfortunately musl-gcc don't support "argp.h" library. |
@rezad1393 |
english is not your first language is it? me too. I will try and report back. update: are you familiar with cross compiling?
and then
but with your app it doesnt work this also doesnt work |
I think you need to change "cmake .." and make it so make file understand cross-compiling. |
I dont think it is just a matter for changing gcc to musl. |
@rezad1393 |
may I suggest not using git if you are gonna just it takes to much too download and too big. use the zipped sdk for that version. mine is postscriptum: |
I made the ipk (had to remove the signing option from make menu), and moved the ipk to openwrt and installed it. |
update:
|
what is your upstream socks ? |
my upstream is tor running at router. (same device running the zroxy) |
how can I compile this (hopefully as a static executable)?
The text was updated successfully, but these errors were encountered: