Hi,
Is there anyone on the list who has tried/succeeded running Quagga on
Android?
I managed to cross-compile Quagga for ARMv7 targeting an android
phone I have and producing binaries that I can "run" in an android
shell emulator. I'm using an Android app called Terminal IDE to provide
the shell among other capabilities. One question I have is what are the
options "--disable-shared" and "--enable-static" supposed to do? I
couldn't get the binaries to statically build using those
configurations. I had to hack config/makefiles to make it do so. The
reason seems to be related to libtool (maybe?) where at the link stage
is invoked twice and the second invocation doesn't have the appropriate
flags (-static in this case). I haven't tried to build Quagga statically
before so I'm not sure if this is a problem specific to my
environment/setup, or if it is a configuration bug.
When I run zebra (as root) on rooted Android phone I get this:
privs_init: could not lookup user root.
There is no /etc/passwd on Android. Each installed app is given its own
user/group id. whoami command gives the following for user root:
whoami: unknown uid 0
I have tried a few tricks at the Android side of things including
creating a /etc/passwd file but so far nothing worked.
I haven't looked at Quagga code yet to see if I can hack my way through
this, or if there is a way to run with root permissions (maybe the easy
way for now?) without a big effort. Why do Quagga make the user lookup,
and can it be skipped?
Thank you,
Jafar
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev