I checked the config.log, but could not figure out what is the issue here. I tried to fix this issue and then getting another problem now. This config system is not able to find readline package though I have given both the include and lib path as mentioned in http://www.friendlyarm.net/forum/topic/3424
but of no help (this thread not telling the final solution).
My ubuntu machine has this readline package, even I downloaded the package and cross-compiled it, and provided the same path to config system but of no use.
Any help pls.