checking for "/dev/ptmx"... configure: error: cannot check for file existence when cross compiling.
Give me your suggestions.
Check that /dev/ptmx exists on your router; it does on my Buffalo router with Tomato. If it does, then hack the configure script to force the test to return true. A search in the script for ptmx should take you right to the test.
Good luck, Andrew.