hi Razvan :
The question before has been solved,it is the problem of gcc version.
but I encountered a new problem:
Making all in strings
mkdir .libs
gcc -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -
Werror -Wdeclaration-after-statement -g -DSAFE_MUTEX -g3 -O0 -fno-omit-
frame-pointer -I/root/google-mysql/ncurses/include -I/root/google-
mysql/ncurses/include -DHAVE_TERM_H -DUNIV_LINUX -DUNIV_LINUX -
rdynamic -o strings-t strings-t.o -lrt ../../unittest/mytap/
libmytap.a ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/
libmystrings.a -lpthread -lcrypt -lnsl -lm -lpthread
Making all in vio
Making all in sql
make[1]: d: Command not found
sed: can't read y.tab.c: No such file or directory
make[1]: *** [sql_yacc.cc] Error 2
make[1]: *** Waiting for unfinished jobs....
mkdir .libs
g++ -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -
Werror -Wno-unused-parameter -g -DSAFE_MUTEX -g3 -O0 -fno-omit-frame-
pointer -I/root/google-mysql/ncurses/include -I/root/google-mysql/
ncurses/include -DHAVE_TERM_H -fno-rtti -rdynamic -o gen_lex_hash
gen_lex_hash.o ../vio/libvio.a ../mysys/libmysys.a ../dbug/
libdbug.a ../regex/libregex.a ../strings/libmystrings.a ../zlib/.libs/
libzlt.a -L/root/google-mysql/google-perftools /root/google-mysql/
google-perftools/.libs/libtcmalloc_minimal.a -lrt -lpthread /usr/local/
gcc-4.6.1/lib/../lib64/libstdc++.so -lpthread -lcrypt -lnsl -lm -
lpthread -Wl,--rpath -Wl,/usr/local/gcc-4.6.1/lib/../lib64 -Wl,--
rpath -Wl,/usr/local/gcc-4.6.1/lib/../lib64
make: *** [all-recursive] Error 1
*** Exit on error
Duration: 135 seconds
plz help me.thx