Hello I am getting same error as you described in config.log file.
i have a one internal liibrary and i am trying to cross compile that library with poky tool chain for ARM.
but i am getting error as you can see in my config.log file.
Please suggest me something.
For your inforamation i am working on ubuntu 12.04.LTS.