This seems to be suggesting that you have installed a cross-compiler,
i.e. one that compiles for a different processor, by default.
1) Run the test by hand and see what happens. Create a simple test program in /tmp/test:
Code:
cd /tmp
echo "int main() {}" > test.c
gcc test.c -o test
./test
2) Check your processor settings match your GCC defaults:
Code:
uname -a
echo | cpp -dM
3) Try re-running configure with this option, which should force it to use the right processor (assuming you have a suitable compiler installed):