在solaris 8 for x86编译mysql-3.23.28,gcc和make环境都已经正确安装,运行./configure --with-low-memory编译的过程,出现一下错误信息:
checking return type of sprintf... configure: error: can not run test program while cross compiling
查看configure文件相关编译代码如下:
echo $ac_n "checking "return type of sprintf"""... $ac_c" 1>&6
echo "configure:2335: checking "return type of sprintf"" >&5
#check the return type of sprintf
if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
请问时候可以通法?谢谢指教!
请给我发送一封邮件,谢谢!
emailsys@21cn.com