When cross compiling the the configure fails with:
checking for long long format... configure: error: in `/home/user/zabbix-2.0.2':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
This seems caused by a AC_TRY_RUN macro in configure.in that does not have a default for cross compiling set. I so added a safe default value in case of cross compiling and it seems to work.
Check the suggested patch.