waf builds and runs several tiny programs to see if the environment contains things like header files and procedures. It looks like it's trying to run an ELF file on a system that doesn't support ELF files. I'm guessing you are cross compiling. I don't think we have tried that yet. That's Amar's territory. -- These are my opinions. I hate spam.