checking for restartable system calls... configure: error: cannot run test program while cross compiling


if xscale_be-g++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/root/mv4_IXP4X5/Trunk/source_code/user/mysql/mysql-5.1.23-rc/install\""
-DDATADIR="\"/root/mv4_IXP4X5/Trunk/source_code/user/mysql/mysql-5.1.23-rc/install/var\""
-DSHAREDIR="\"/root/mv4_IXP4X5/Trunk/source_code/user/mysql/mysql-5.1.23-rc/install/share/mysql\""
-DLIBDIR="\"/root/mv4_IXP4X5/Trunk/source_code/user/mysql/mysql-5.1.23-rc/install/lib/mysql\""
-DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../regex -I.
-O3    -fno-implicit-templates -fno-exceptions -fno-rtti -MT gen_lex_hash.o
-MD -MP -MF ".deps/gen_lex_hash.Tpo" -c -o gen_lex_hash.o gen_lex_hash.cc; \
then mv -f ".deps/gen_lex_hash.Tpo" ".deps/gen_lex_hash.Po"; else rm -f
".deps/gen_lex_hash.Tpo"; exit 1; fi
/bin/sh ../libtool --preserve-dup-deps --tag=CXX --mode=link xscale_be-g++
-O3
   -fno-implicit-templates -fno-exceptions -fno-rtti  -rdynamic  -o
gen_lex_hash -static gen_lex_hash.o ../vio/libvio.a ../mysys/libmysys.a
../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lz  -lpthread
-lcrypt -lnsl -lm  -lpthread

