|
mysql编译不成功
这是怎么回事,我应该怎么去解决?
mkdir .libs
c++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath -Wl,/usr/local/mysql/lib/mysql
mysql.o(.text+0x1828): In function `com_source(String*, char*)':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory `/home/dyw/mysql-3.23.44/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dyw/mysql-3.23.44'
make: *** [all-recursive-am] Error 2 |
|