找回密码
 注册
查看: 1588|回复: 13

MySQL-4.0.13-0.src.rpm 无法编译

[复制链接]
发表于 2003-6-12 06:59:13 | 显示全部楼层 |阅读模式
MySQL 官方 MySQL-4.0.13-0.src.rpm 不能通过 rebuild!中途出错! md5 sum 正确。是不是官方有错?
发表于 2003-6-12 07:55:33 | 显示全部楼层
错误提示呢?
回复

使用道具 举报

 楼主| 发表于 2003-6-12 18:27:14 | 显示全部楼层
那么多东西要我怎么记下来?
回复

使用道具 举报

发表于 2003-6-12 21:43:30 | 显示全部楼层
何必几下来,把输出重定向不久可以了?
回复

使用道具 举报

 楼主| 发表于 2003-6-13 06:54:20 | 显示全部楼层
warning: user mysqldev does not exist - using root
warning: user mysqldev does not exist - using root
warning: user mysqldev does not exist - using root
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf mysql-4.0.13
+ /bin/gzip -dc /usr/src/redhat/SOURCES/mysql-4.0.13.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mysql-4.0.13
+ exit 0
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd mysql-4.0.13
+ OTHER_LIBC_DIR=/usr/local/mysql-glibc
+ USE_OTHER_LIBC_DIR=
+ test -d /usr/local/mysql-glibc
+ RBR=/var/tmp/MySQL-4.0.13-build
+ MBD=/usr/src/redhat/BUILD/mysql-4.0.13
+ '[' /var/tmp/MySQL-4.0.13-build '!=' / ']'
+ '[' -d /var/tmp/MySQL-4.0.13-build ']'
+ rm -rf /var/tmp/MySQL-4.0.13-build
+ mkdir -p /var/tmp/MySQL-4.0.13-build
+ PATH=/bin:/usr/bin
+ export PATH
+ BuildMySQL '--enable-shared                 --with-berkeley-db                 --with-innodb                 --with-raid                 --with-server-suffix='\''-Max'\'''
+ sh -c 'PATH="/bin:/usr/bin"         CFLAGS="-O2 -g -march=i686"         CXXFLAGS="-O2 -g -march=i686                   -felide-constructors -fno-exceptions -fno-rtti                   "         ./configure              --enable-shared                 --with-berkeley-db                 --with-innodb                 --with-raid                 --with-server-suffix='\''-Max'\''             --enable-assembler             --enable-local-infile             --with-mysqld-user=mysql             --with-unix-socket-path=/var/lib/mysql/mysql.sock             --prefix=/             --with-extra-charsets=complex             --exec-prefix=/usr             --libexecdir=/usr/sbin             --sysconfdir=/etc             --datadir=/usr/share             --localstatedir=/var/lib/mysql             --infodir=/usr/share/info             --includedir=/usr/include             --mandir=/usr/share/man             --with-embedded-server             --enable-thread-safe-client             --with-comment="Official MySQL RPM";
            # Add this for more debugging support
            # --with-debug
            # Add this for MyISAM RAID support:
            # --with-raid
            '
nm: libc-tls.o: no symbols
nm: lc-messages.o: no symbols
nm: lc-monetary.o: no symbols
nm: lc-numeric.o: no symbols
nm: lc-time.o: no symbols
nm: lc-paper.o: no symbols
nm: lc-name.o: no symbols
nm: lc-address.o: no symbols
nm: lc-telephone.o: no symbols
nm: lc-measurement.o: no symbols
nm: lc-identification.o: no symbols
nm: lc-collate.o: no symbols
nm: old_atexit.o: no symbols
nm: udiv_qrnnd.o: no symbols
nm: mp_clz_tab.o: no symbols
nm: getopt_init.o: no symbols
nm: init-posix.o: no symbols
nm: lseek64.o: no symbols
nm: oldgetrlimit64.o: no symbols
nm: getutmpx.o: no symbols
nm: dl-tls.o: no symbols
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
+ make benchdir_root=/var/tmp/MySQL-4.0.13-build/usr/share/
++ echo strmov.lo strxmov.lo strxnmov.lo strnmov.lo strmake.lo strend.lo strnlen.lo strfill.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo strcend.lo bcmp.lo bchange.lo bmove.lo bmove_upp.lo longlong2str.lo strtoull.lo strtoll.lo llstr.lo ctype.lo ctype-big5.lo ctype-czech.lo ctype-euc_kr.lo ctype-gb2312.lo ctype-gbk.lo ctype-latin1_de.lo ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo
++ sed 's;\.lo;.c;g'
+ ss=strmov.c strxmov.c strxnmov.c strnmov.c strmake.c strend.c strnlen.c strfill.c is_prefix.c int2str.c str2int.c strinstr.c strcont.c strcend.c bcmp.c bchange.c bmove.c bmove_upp.c longlong2str.c strtoull.c strtoll.c llstr.c ctype.c ctype-big5.c ctype-czech.c ctype-euc_kr.c ctype-gb2312.c ctype-gbk.c ctype-latin1_de.c ctype-sjis.c ctype-tis620.c ctype-ujis.c
++ echo dbug.lo
++ sed 's;\.lo;.c;g'
+ ds=dbug.c
++ echo my_init.lo my_static.lo my_malloc.lo my_realloc.lo my_create.lo my_delete.lo mf_tempfile.lo my_open.lo mf_casecnv.lo my_read.lo my_write.lo errors.lo my_error.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo my_symlink.lo my_fstream.lo mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo mulalloc.lo string.lo default.lo my_compress.lo array.lo my_once.lo list.lo my_net.lo charset.lo hash.lo mf_iocache.lo mf_iocache2.lo my_seek.lo my_sleep.lo my_pread.lo mf_cache.lo my_vsnprintf.lo md5.lo my_getopt.lo my_gethostbyname.lo my_port.lo my_lib.lo
++ sed 's;\.lo;.c;g'
+ ms=my_init.c my_static.c my_malloc.c my_realloc.c my_create.c my_delete.c mf_tempfile.c my_open.c mf_casecnv.c my_read.c my_write.c errors.c my_error.c my_getwd.c my_div.c mf_pack.c my_messnc.c mf_dirname.c mf_fn_ext.c mf_wcomp.c typelib.c safemalloc.c my_alloc.c mf_format.c mf_path.c mf_unixpath.c my_fopen.c my_symlink.c my_fstream.c mf_loadpath.c my_pthread.c my_thr_init.c thr_mutex.c mulalloc.c string.c default.c my_compress.c array.c my_once.c list.c my_net.c charset.c hash.c mf_iocache.c mf_iocache2.c my_seek.c my_sleep.c my_pread.c mf_cache.c my_vsnprintf.c md5.c my_getopt.c my_gethostbyname.c my_port.c my_lib.c
++ echo vio.lo viosocket.lo viossl.lo viosslfactories.lo
++ sed 's;\.lo;.c;g'
+ vs=vio.c viosocket.c viossl.c viosslfactories.c
+ rm -f ./strmov.c
+ /bin/ln -s ./../strings/strmov.c ./strmov.c
+ rm -f ./strxmov.c
+ /bin/ln -s ./../strings/strxmov.c ./strxmov.c
+ rm -f ./strxnmov.c
+ /bin/ln -s ./../strings/strxnmov.c ./strxnmov.c
+ rm -f ./strnmov.c
+ /bin/ln -s ./../strings/strnmov.c ./strnmov.c
+ rm -f ./strmake.c
+ /bin/ln -s ./../strings/strmake.c ./strmake.c
+ rm -f ./strend.c
+ /bin/ln -s ./../strings/strend.c ./strend.c
+ rm -f ./strnlen.c
+ /bin/ln -s ./../strings/strnlen.c ./strnlen.c
+ rm -f ./strfill.c
+ /bin/ln -s ./../strings/strfill.c ./strfill.c
+ rm -f ./is_prefix.c
+ /bin/ln -s ./../strings/is_prefix.c ./is_prefix.c
+ rm -f ./int2str.c
+ /bin/ln -s ./../strings/int2str.c ./int2str.c
+ rm -f ./str2int.c
+ /bin/ln -s ./../strings/str2int.c ./str2int.c
+ rm -f ./strinstr.c
+ /bin/ln -s ./../strings/strinstr.c ./strinstr.c
+ rm -f ./strcont.c
+ /bin/ln -s ./../strings/strcont.c ./strcont.c
+ rm -f ./strcend.c
+ /bin/ln -s ./../strings/strcend.c ./strcend.c
+ rm -f ./bcmp.c
+ /bin/ln -s ./../strings/bcmp.c ./bcmp.c
+ rm -f ./bchange.c
+ /bin/ln -s ./../strings/bchange.c ./bchange.c
+ rm -f ./bmove.c
+ /bin/ln -s ./../strings/bmove.c ./bmove.c
+ rm -f ./bmove_upp.c
+ /bin/ln -s ./../strings/bmove_upp.c ./bmove_upp.c
+ rm -f ./longlong2str.c
+ /bin/ln -s ./../strings/longlong2str.c ./longlong2str.c
+ rm -f ./strtoull.c
+ /bin/ln -s ./../strings/strtoull.c ./strtoull.c
+ rm -f ./strtoll.c
+ /bin/ln -s ./../strings/strtoll.c ./strtoll.c
+ rm -f ./llstr.c
+ /bin/ln -s ./../strings/llstr.c ./llstr.c
+ rm -f ./ctype.c
+ /bin/ln -s ./../strings/ctype.c ./ctype.c
+ rm -f ./ctype-big5.c
+ /bin/ln -s ./../strings/ctype-big5.c ./ctype-big5.c
+ rm -f ./ctype-czech.c
+ /bin/ln -s ./../strings/ctype-czech.c ./ctype-czech.c
+ rm -f ./ctype-euc_kr.c
+ /bin/ln -s ./../strings/ctype-euc_kr.c ./ctype-euc_kr.c
+ rm -f ./ctype-gb2312.c
+ /bin/ln -s ./../strings/ctype-gb2312.c ./ctype-gb2312.c
+ rm -f ./ctype-gbk.c
+ /bin/ln -s ./../strings/ctype-gbk.c ./ctype-gbk.c
+ rm -f ./ctype-latin1_de.c
+ /bin/ln -s ./../strings/ctype-latin1_de.c ./ctype-latin1_de.c
+ rm -f ./ctype-sjis.c
+ /bin/ln -s ./../strings/ctype-sjis.c ./ctype-sjis.c
+ rm -f ./ctype-tis620.c
+ /bin/ln -s ./../strings/ctype-tis620.c ./ctype-tis620.c
+ rm -f ./ctype-ujis.c
+ /bin/ln -s ./../strings/ctype-ujis.c ./ctype-ujis.c
+ rm -f ./vio.c
+ /bin/ln -s ./../vio/vio.c ./vio.c
+ rm -f ./viosocket.c
+ /bin/ln -s ./../vio/viosocket.c ./viosocket.c
+ rm -f ./viossl.c
+ /bin/ln -s ./../vio/viossl.c ./viossl.c
+ rm -f ./viosslfactories.c
+ /bin/ln -s ./../vio/viosslfactories.c ./viosslfactories.c
+ rm -f ./strto.c
+ /bin/ln -s ./../strings/strto.c ./strto.c
+ rm -f ./ctype_autoconf.c
+ /bin/ln -s ../strings/ctype_autoconf.c ./ctype_autoconf.c
+ rm -f ./dbug.c
+ /bin/ln -s ./../dbug/dbug.c ./dbug.c
+ rm -f ./my_init.c
+ /bin/ln -s ./../mysys/my_init.c ./my_init.c
+ rm -f ./my_static.c
+ /bin/ln -s ./../mysys/my_static.c ./my_static.c
+ rm -f ./my_malloc.c
+ /bin/ln -s ./../mysys/my_malloc.c ./my_malloc.c
+ rm -f ./my_realloc.c
+ /bin/ln -s ./../mysys/my_realloc.c ./my_realloc.c
+ rm -f ./my_create.c
+ /bin/ln -s ./../mysys/my_create.c ./my_create.c
+ rm -f ./my_delete.c
+ /bin/ln -s ./../mysys/my_delete.c ./my_delete.c
+ rm -f ./mf_tempfile.c
+ /bin/ln -s ./../mysys/mf_tempfile.c ./mf_tempfile.c
+ rm -f ./my_open.c
+ /bin/ln -s ./../mysys/my_open.c ./my_open.c
+ rm -f ./mf_casecnv.c
+ /bin/ln -s ./../mysys/mf_casecnv.c ./mf_casecnv.c
+ rm -f ./my_read.c
+ /bin/ln -s ./../mysys/my_read.c ./my_read.c
+ rm -f ./my_write.c
+ /bin/ln -s ./../mysys/my_write.c ./my_write.c
+ rm -f ./errors.c
+ /bin/ln -s ./../mysys/errors.c ./errors.c
+ rm -f ./my_error.c
+ /bin/ln -s ./../mysys/my_error.c ./my_error.c
+ rm -f ./my_getwd.c
+ /bin/ln -s ./../mysys/my_getwd.c ./my_getwd.c
+ rm -f ./my_div.c
+ /bin/ln -s ./../mysys/my_div.c ./my_div.c
+ rm -f ./mf_pack.c
+ /bin/ln -s ./../mysys/mf_pack.c ./mf_pack.c
+ rm -f ./my_messnc.c
+ /bin/ln -s ./../mysys/my_messnc.c ./my_messnc.c
+ rm -f ./mf_dirname.c
+ /bin/ln -s ./../mysys/mf_dirname.c ./mf_dirname.c
+ rm -f ./mf_fn_ext.c
+ /bin/ln -s ./../mysys/mf_fn_ext.c ./mf_fn_ext.c
+ rm -f ./mf_wcomp.c
+ /bin/ln -s ./../mysys/mf_wcomp.c ./mf_wcomp.c
+ rm -f ./typelib.c
+ /bin/ln -s ./../mysys/typelib.c ./typelib.c
+ rm -f ./safemalloc.c
+ /bin/ln -s ./../mysys/safemalloc.c ./safemalloc.c
+ rm -f ./my_alloc.c
+ /bin/ln -s ./../mysys/my_alloc.c ./my_alloc.c
+ rm -f ./mf_format.c
+ /bin/ln -s ./../mysys/mf_format.c ./mf_format.c
+ rm -f ./mf_path.c
+ /bin/ln -s ./../mysys/mf_path.c ./mf_path.c
+ rm -f ./mf_unixpath.c
+ /bin/ln -s ./../mysys/mf_unixpath.c ./mf_unixpath.c
+ rm -f ./my_fopen.c
+ /bin/ln -s ./../mysys/my_fopen.c ./my_fopen.c
+ rm -f ./my_symlink.c
+ /bin/ln -s ./../mysys/my_symlink.c ./my_symlink.c
+ rm -f ./my_fstream.c
+ /bin/ln -s ./../mysys/my_fstream.c ./my_fstream.c
+ rm -f ./mf_loadpath.c
+ /bin/ln -s ./../mysys/mf_loadpath.c ./mf_loadpath.c
+ rm -f ./my_pthread.c
+ /bin/ln -s ./../mysys/my_pthread.c ./my_pthread.c
+ rm -f ./my_thr_init.c
+ /bin/ln -s ./../mysys/my_thr_init.c ./my_thr_init.c
+ rm -f ./thr_mutex.c
+ /bin/ln -s ./../mysys/thr_mutex.c ./thr_mutex.c
+ rm -f ./mulalloc.c
+ /bin/ln -s ./../mysys/mulalloc.c ./mulalloc.c
+ rm -f ./string.c
+ /bin/ln -s ./../mysys/string.c ./string.c
+ rm -f ./default.c
+ /bin/ln -s ./../mysys/default.c ./default.c
+ rm -f ./my_compress.c
+ /bin/ln -s ./../mysys/my_compress.c ./my_compress.c
+ rm -f ./array.c
+ /bin/ln -s ./../mysys/array.c ./array.c
+ rm -f ./my_once.c
+ /bin/ln -s ./../mysys/my_once.c ./my_once.c
+ rm -f ./list.c
+ /bin/ln -s ./../mysys/list.c ./list.c
+ rm -f ./my_net.c
+ /bin/ln -s ./../mysys/my_net.c ./my_net.c
+ rm -f ./charset.c
+ /bin/ln -s ./../mysys/charset.c ./charset.c
+ rm -f ./hash.c
+ /bin/ln -s ./../mysys/hash.c ./hash.c
+ rm -f ./mf_iocache.c
+ /bin/ln -s ./../mysys/mf_iocache.c ./mf_iocache.c
+ rm -f ./mf_iocache2.c
+ /bin/ln -s ./../mysys/mf_iocache2.c ./mf_iocache2.c
+ rm -f ./my_seek.c
+ /bin/ln -s ./../mysys/my_seek.c ./my_seek.c
+ rm -f ./my_sleep.c
+ /bin/ln -s ./../mysys/my_sleep.c ./my_sleep.c
+ rm -f ./my_pread.c
+ /bin/ln -s ./../mysys/my_pread.c ./my_pread.c
+ rm -f ./mf_cache.c
+ /bin/ln -s ./../mysys/mf_cache.c ./mf_cache.c
+ rm -f ./my_vsnprintf.c
+ /bin/ln -s ./../mysys/my_vsnprintf.c ./my_vsnprintf.c
+ rm -f ./md5.c
+ /bin/ln -s ./../mysys/md5.c ./md5.c
+ rm -f ./my_getopt.c
+ /bin/ln -s ./../mysys/my_getopt.c ./my_getopt.c
+ rm -f ./my_gethostbyname.c
+ /bin/ln -s ./../mysys/my_gethostbyname.c ./my_gethostbyname.c
+ rm -f ./my_port.c
+ /bin/ln -s ./../mysys/my_port.c ./my_port.c
+ rm -f ./my_lib.c
+ /bin/ln -s ./../mysys/my_lib.c ./my_lib.c
+ rm -f ./mysys_priv.h
+ /bin/ln -s ./../mysys/mysys_priv.h ./mysys_priv.h
+ rm -f ./my_static.h
+ /bin/ln -s ./../mysys/my_static.h ./my_static.h
+ rm -f ./net.c
+ /bin/ln -s ./../sql/net_serv.cc ./net.c
+ rm -f ./password.c
+ /bin/ln -s ./../sql/password.c ./password.c
++ cd ../libmysql
++ echo array.c bchange.c bcmp.c bmove.c bmove_upp.c charset.c conf_to_src.c ctype_autoconf.c ctype-big5.c ctype.c ctype-czech.c ctype-euc_kr.c ctype-gb2312.c ctype-gbk.c ctype-latin1_de.c ctype-sjis.c ctype-tis620.c ctype-ujis.c dbug.c default.c errmsg.c errors.c get_password.c hash.c int2str.c is_prefix.c libmysql.c list.c llstr.c longlong2str.c manager.c md5.c mf_cache.c mf_casecnv.c mf_dirname.c mf_fn_ext.c mf_format.c mf_iocache2.c mf_iocache.c mf_loadpath.c mf_pack.c mf_path.c mf_tempfile.c mf_unixpath.c mf_wcomp.c mulalloc.c my_alloc.c my_compress.c my_create.c my_delete.c my_div.c my_error.c my_fopen.c my_fstream.c my_gethostbyname.c my_getopt.c my_getwd.c my_init.c my_lib.c my_malloc.c my_messnc.c my_net.c my_once.c my_open.c my_port.c my_pread.c my_pthread.c my_read.c my_realloc.c my_seek.c my_sleep.c my_static.c my_static.h my_symlink.c mysys_priv.h my_thr_init.c my_vsnprintf.c my_write.c net.c password.c safemalloc.c str2int.c strcend.c strcont.c strend.c strfill.c string.c strinstr.c strmake.c strmov.c strnlen.c strnmov.c strto.c strtoll.c strtoull.c strxmov.c strxnmov.c thr_mutex.c typelib.c vio.c viosocket.c viossl.c viosslfactories.c
+ rm -f ./array.c
+ /bin/ln -s ../libmysql/array.c ./array.c
+ rm -f ./bchange.c
+ /bin/ln -s ../libmysql/bchange.c ./bchange.c
+ rm -f ./bcmp.c
+ /bin/ln -s ../libmysql/bcmp.c ./bcmp.c
+ rm -f ./bmove.c
+ /bin/ln -s ../libmysql/bmove.c ./bmove.c
+ rm -f ./bmove_upp.c
+ /bin/ln -s ../libmysql/bmove_upp.c ./bmove_upp.c
+ rm -f ./charset.c
+ /bin/ln -s ../libmysql/charset.c ./charset.c
+ rm -f ./conf_to_src.c
+ /bin/ln -s ../libmysql/conf_to_src.c ./conf_to_src.c
+ rm -f ./ctype_autoconf.c
+ /bin/ln -s ../libmysql/ctype_autoconf.c ./ctype_autoconf.c
+ rm -f ./ctype-big5.c
+ /bin/ln -s ../libmysql/ctype-big5.c ./ctype-big5.c
+ rm -f ./ctype.c
+ /bin/ln -s ../libmysql/ctype.c ./ctype.c
+ rm -f ./ctype-czech.c
+ /bin/ln -s ../libmysql/ctype-czech.c ./ctype-czech.c
+ rm -f ./ctype-euc_kr.c
+ /bin/ln -s ../libmysql/ctype-euc_kr.c ./ctype-euc_kr.c
+ rm -f ./ctype-gb2312.c
+ /bin/ln -s ../libmysql/ctype-gb2312.c ./ctype-gb2312.c
+ rm -f ./ctype-gbk.c
+ /bin/ln -s ../libmysql/ctype-gbk.c ./ctype-gbk.c
+ rm -f ./ctype-latin1_de.c
+ /bin/ln -s ../libmysql/ctype-latin1_de.c ./ctype-latin1_de.c
+ rm -f ./ctype-sjis.c
+ /bin/ln -s ../libmysql/ctype-sjis.c ./ctype-sjis.c
+ rm -f ./ctype-tis620.c
+ /bin/ln -s ../libmysql/ctype-tis620.c ./ctype-tis620.c
+ rm -f ./ctype-ujis.c
+ /bin/ln -s ../libmysql/ctype-ujis.c ./ctype-ujis.c
+ rm -f ./dbug.c
+ /bin/ln -s ../libmysql/dbug.c ./dbug.c
+ rm -f ./default.c
+ /bin/ln -s ../libmysql/default.c ./default.c
+ rm -f ./errmsg.c
+ /bin/ln -s ../libmysql/errmsg.c ./errmsg.c
+ rm -f ./errors.c
+ /bin/ln -s ../libmysql/errors.c ./errors.c
+ rm -f ./get_password.c
+ /bin/ln -s ../libmysql/get_password.c ./get_password.c
+ rm -f ./hash.c
+ /bin/ln -s ../libmysql/hash.c ./hash.c
+ rm -f ./int2str.c
+ /bin/ln -s ../libmysql/int2str.c ./int2str.c
+ rm -f ./is_prefix.c
+ /bin/ln -s ../libmysql/is_prefix.c ./is_prefix.c
+ rm -f ./libmysql.c
+ /bin/ln -s ../libmysql/libmysql.c ./libmysql.c
+ rm -f ./list.c
+ /bin/ln -s ../libmysql/list.c ./list.c
+ rm -f ./llstr.c
+ /bin/ln -s ../libmysql/llstr.c ./llstr.c
+ rm -f ./longlong2str.c
+ /bin/ln -s ../libmysql/longlong2str.c ./longlong2str.c
+ rm -f ./manager.c
+ /bin/ln -s ../libmysql/manager.c ./manager.c
+ rm -f ./md5.c
+ /bin/ln -s ../libmysql/md5.c ./md5.c
+ rm -f ./mf_cache.c
+ /bin/ln -s ../libmysql/mf_cache.c ./mf_cache.c
+ rm -f ./mf_casecnv.c
+ /bin/ln -s ../libmysql/mf_casecnv.c ./mf_casecnv.c
+ rm -f ./mf_dirname.c
+ /bin/ln -s ../libmysql/mf_dirname.c ./mf_dirname.c
+ rm -f ./mf_fn_ext.c
+ /bin/ln -s ../libmysql/mf_fn_ext.c ./mf_fn_ext.c
+ rm -f ./mf_format.c
+ /bin/ln -s ../libmysql/mf_format.c ./mf_format.c
+ rm -f ./mf_iocache2.c
+ /bin/ln -s ../libmysql/mf_iocache2.c ./mf_iocache2.c
+ rm -f ./mf_iocache.c
+ /bin/ln -s ../libmysql/mf_iocache.c ./mf_iocache.c
+ rm -f ./mf_loadpath.c
+ /bin/ln -s ../libmysql/mf_loadpath.c ./mf_loadpath.c
+ rm -f ./mf_pack.c
+ /bin/ln -s ../libmysql/mf_pack.c ./mf_pack.c
+ rm -f ./mf_path.c
+ /bin/ln -s ../libmysql/mf_path.c ./mf_path.c
+ rm -f ./mf_tempfile.c
+ /bin/ln -s ../libmysql/mf_tempfile.c ./mf_tempfile.c
+ rm -f ./mf_unixpath.c
+ /bin/ln -s ../libmysql/mf_unixpath.c ./mf_unixpath.c
+ rm -f ./mf_wcomp.c
+ /bin/ln -s ../libmysql/mf_wcomp.c ./mf_wcomp.c
+ rm -f ./mulalloc.c
+ /bin/ln -s ../libmysql/mulalloc.c ./mulalloc.c
+ rm -f ./my_alloc.c
+ /bin/ln -s ../libmysql/my_alloc.c ./my_alloc.c
+ rm -f ./my_compress.c
+ /bin/ln -s ../libmysql/my_compress.c ./my_compress.c
+ rm -f ./my_create.c
+ /bin/ln -s ../libmysql/my_create.c ./my_create.c
+ rm -f ./my_delete.c
+ /bin/ln -s ../libmysql/my_delete.c ./my_delete.c
+ rm -f ./my_div.c
+ /bin/ln -s ../libmysql/my_div.c ./my_div.c
+ rm -f ./my_error.c
+ /bin/ln -s ../libmysql/my_error.c ./my_error.c
+ rm -f ./my_fopen.c
+ /bin/ln -s ../libmysql/my_fopen.c ./my_fopen.c
+ rm -f ./my_fstream.c
+ /bin/ln -s ../libmysql/my_fstream.c ./my_fstream.c
+ rm -f ./my_gethostbyname.c
+ /bin/ln -s ../libmysql/my_gethostbyname.c ./my_gethostbyname.c
+ rm -f ./my_getopt.c
+ /bin/ln -s ../libmysql/my_getopt.c ./my_getopt.c
+ rm -f ./my_getwd.c
+ /bin/ln -s ../libmysql/my_getwd.c ./my_getwd.c
+ rm -f ./my_init.c
+ /bin/ln -s ../libmysql/my_init.c ./my_init.c
+ rm -f ./my_lib.c
+ /bin/ln -s ../libmysql/my_lib.c ./my_lib.c
+ rm -f ./my_malloc.c
+ /bin/ln -s ../libmysql/my_malloc.c ./my_malloc.c
+ rm -f ./my_messnc.c
+ /bin/ln -s ../libmysql/my_messnc.c ./my_messnc.c
+ rm -f ./my_net.c
+ /bin/ln -s ../libmysql/my_net.c ./my_net.c
+ rm -f ./my_once.c
+ /bin/ln -s ../libmysql/my_once.c ./my_once.c
+ rm -f ./my_open.c
+ /bin/ln -s ../libmysql/my_open.c ./my_open.c
+ rm -f ./my_port.c
+ /bin/ln -s ../libmysql/my_port.c ./my_port.c
+ rm -f ./my_pread.c
+ /bin/ln -s ../libmysql/my_pread.c ./my_pread.c
+ rm -f ./my_pthread.c
+ /bin/ln -s ../libmysql/my_pthread.c ./my_pthread.c
+ rm -f ./my_read.c
+ /bin/ln -s ../libmysql/my_read.c ./my_read.c
+ rm -f ./my_realloc.c
+ /bin/ln -s ../libmysql/my_realloc.c ./my_realloc.c
+ rm -f ./my_seek.c
+ /bin/ln -s ../libmysql/my_seek.c ./my_seek.c
+ rm -f ./my_sleep.c
+ /bin/ln -s ../libmysql/my_sleep.c ./my_sleep.c
+ rm -f ./my_static.c
+ /bin/ln -s ../libmysql/my_static.c ./my_static.c
+ rm -f ./my_static.h
+ /bin/ln -s ../libmysql/my_static.h ./my_static.h
+ rm -f ./my_symlink.c
+ /bin/ln -s ../libmysql/my_symlink.c ./my_symlink.c
+ rm -f ./mysys_priv.h
+ /bin/ln -s ../libmysql/mysys_priv.h ./mysys_priv.h
+ rm -f ./my_thr_init.c
+ /bin/ln -s ../libmysql/my_thr_init.c ./my_thr_init.c
+ rm -f ./my_vsnprintf.c
+ /bin/ln -s ../libmysql/my_vsnprintf.c ./my_vsnprintf.c
+ rm -f ./my_write.c
+ /bin/ln -s ../libmysql/my_write.c ./my_write.c
+ rm -f ./net.c
+ /bin/ln -s ../libmysql/net.c ./net.c
+ rm -f ./password.c
+ /bin/ln -s ../libmysql/password.c ./password.c
+ rm -f ./safemalloc.c
+ /bin/ln -s ../libmysql/safemalloc.c ./safemalloc.c
+ rm -f ./str2int.c
+ /bin/ln -s ../libmysql/str2int.c ./str2int.c
+ rm -f ./strcend.c
+ /bin/ln -s ../libmysql/strcend.c ./strcend.c
+ rm -f ./strcont.c
+ /bin/ln -s ../libmysql/strcont.c ./strcont.c
+ rm -f ./strend.c
+ /bin/ln -s ../libmysql/strend.c ./strend.c
+ rm -f ./strfill.c
+ /bin/ln -s ../libmysql/strfill.c ./strfill.c
+ rm -f ./string.c
+ /bin/ln -s ../libmysql/string.c ./string.c
+ rm -f ./strinstr.c
+ /bin/ln -s ../libmysql/strinstr.c ./strinstr.c
+ rm -f ./strmake.c
+ /bin/ln -s ../libmysql/strmake.c ./strmake.c
+ rm -f ./strmov.c
+ /bin/ln -s ../libmysql/strmov.c ./strmov.c
+ rm -f ./strnlen.c
+ /bin/ln -s ../libmysql/strnlen.c ./strnlen.c
+ rm -f ./strnmov.c
+ /bin/ln -s ../libmysql/strnmov.c ./strnmov.c
+ rm -f ./strto.c
+ /bin/ln -s ../libmysql/strto.c ./strto.c
+ rm -f ./strtoll.c
+ /bin/ln -s ../libmysql/strtoll.c ./strtoll.c
+ rm -f ./strtoull.c
+ /bin/ln -s ../libmysql/strtoull.c ./strtoull.c
+ rm -f ./strxmov.c
+ /bin/ln -s ../libmysql/strxmov.c ./strxmov.c
+ rm -f ./strxnmov.c
+ /bin/ln -s ../libmysql/strxnmov.c ./strxnmov.c
+ rm -f ./thr_mutex.c
+ /bin/ln -s ../libmysql/thr_mutex.c ./thr_mutex.c
+ rm -f ./typelib.c
+ /bin/ln -s ../libmysql/typelib.c ./typelib.c
+ rm -f ./vio.c
+ /bin/ln -s ../libmysql/vio.c ./vio.c
+ rm -f ./viosocket.c
+ /bin/ln -s ../libmysql/viosocket.c ./viosocket.c
+ rm -f ./viossl.c
+ /bin/ln -s ../libmysql/viossl.c ./viossl.c
+ rm -f ./viosslfactories.c
+ /bin/ln -s ../libmysql/viosslfactories.c ./viosslfactories.c
+ rm -f ./convert.cc
+ /bin/ln -s ./../sql/convert.cc ./convert.cc
+ rm -f ./derror.cc
+ /bin/ln -s ./../sql/derror.cc ./derror.cc
+ rm -f ./field.cc
+ /bin/ln -s ./../sql/field.cc ./field.cc
+ rm -f ./field_conv.cc
+ /bin/ln -s ./../sql/field_conv.cc ./field_conv.cc
+ rm -f ./filesort.cc
+ /bin/ln -s ./../sql/filesort.cc ./filesort.cc
+ rm -f ./ha_innodb.cc
+ /bin/ln -s ./../sql/ha_innodb.cc ./ha_innodb.cc
+ rm -f ./ha_berkeley.cc
+ /bin/ln -s ./../sql/ha_berkeley.cc ./ha_berkeley.cc
+ rm -f ./ha_heap.cc
+ /bin/ln -s ./../sql/ha_heap.cc ./ha_heap.cc
+ rm -f ./ha_isam.cc
+ /bin/ln -s ./../sql/ha_isam.cc ./ha_isam.cc
+ rm -f ./ha_isammrg.cc
+ /bin/ln -s ./../sql/ha_isammrg.cc ./ha_isammrg.cc
+ rm -f ./ha_myisam.cc
+ /bin/ln -s ./../sql/ha_myisam.cc ./ha_myisam.cc
+ rm -f ./ha_myisammrg.cc
+ /bin/ln -s ./../sql/ha_myisammrg.cc ./ha_myisammrg.cc
+ rm -f ./handler.cc
+ /bin/ln -s ./../sql/handler.cc ./handler.cc
+ rm -f ./sql_handler.cc
+ /bin/ln -s ./../sql/sql_handler.cc ./sql_handler.cc
+ rm -f ./hostname.cc
+ /bin/ln -s ./../sql/hostname.cc ./hostname.cc
+ rm -f ./init.cc
+ /bin/ln -s ./../sql/init.cc ./init.cc
+ rm -f ./password.c
+ /bin/ln -s ./../sql/password.c ./password.c
+ rm -f ./item.cc
+ /bin/ln -s ./../sql/item.cc ./item.cc
+ rm -f ./item_buff.cc
+ /bin/ln -s ./../sql/item_buff.cc ./item_buff.cc
+ rm -f ./item_cmpfunc.cc
+ /bin/ln -s ./../sql/item_cmpfunc.cc ./item_cmpfunc.cc
+ rm -f ./item_create.cc
+ /bin/ln -s ./../sql/item_create.cc ./item_create.cc
+ rm -f ./item_func.cc
+ /bin/ln -s ./../sql/item_func.cc ./item_func.cc
+ rm -f ./item_strfunc.cc
+ /bin/ln -s ./../sql/item_strfunc.cc ./item_strfunc.cc
+ rm -f ./item_sum.cc
+ /bin/ln -s ./../sql/item_sum.cc ./item_sum.cc
+ rm -f ./item_timefunc.cc
+ /bin/ln -s ./../sql/item_timefunc.cc ./item_timefunc.cc
+ rm -f ./item_uniq.cc
+ /bin/ln -s ./../sql/item_uniq.cc ./item_uniq.cc
+ rm -f ./key.cc
+ /bin/ln -s ./../sql/key.cc ./key.cc
+ rm -f ./lock.cc
+ /bin/ln -s ./../sql/lock.cc ./lock.cc
+ rm -f ./log.cc
+ /bin/ln -s ./../sql/log.cc ./log.cc
+ rm -f ./log_event.cc
+ /bin/ln -s ./../sql/log_event.cc ./log_event.cc
+ rm -f ./mf_iocache.cc
+ /bin/ln -s ./../sql/mf_iocache.cc ./mf_iocache.cc
+ rm -f ./mini_client.cc
+ /bin/ln -s ./../sql/mini_client.cc ./mini_client.cc
+ rm -f ./net_pkg.cc
+ /bin/ln -s ./../sql/net_pkg.cc ./net_pkg.cc
+ rm -f ./net_serv.cc
+ /bin/ln -s ./../sql/net_serv.cc ./net_serv.cc
+ rm -f ./opt_ft.cc
+ /bin/ln -s ./../sql/opt_ft.cc ./opt_ft.cc
+ rm -f ./opt_range.cc
+ /bin/ln -s ./../sql/opt_range.cc ./opt_range.cc
+ rm -f ./opt_sum.cc
+ /bin/ln -s ./../sql/opt_sum.cc ./opt_sum.cc
+ rm -f ./procedure.cc
+ /bin/ln -s ./../sql/procedure.cc ./procedure.cc
+ rm -f ./records.cc
+ /bin/ln -s ./../sql/records.cc ./records.cc
+ rm -f ./sql_acl.cc
+ /bin/ln -s ./../sql/sql_acl.cc ./sql_acl.cc
+ rm -f ./repl_failsafe.cc
+ /bin/ln -s ./../sql/repl_failsafe.cc ./repl_failsafe.cc
+ rm -f ./slave.cc
+ /bin/ln -s ./../sql/slave.cc ./slave.cc
+ rm -f ./sql_load.cc
+ /bin/ln -s ./../sql/sql_load.cc ./sql_load.cc
+ rm -f ./sql_olap.cc
+ /bin/ln -s ./../sql/sql_olap.cc ./sql_olap.cc
+ rm -f ./sql_analyse.cc
+ /bin/ln -s ./../sql/sql_analyse.cc ./sql_analyse.cc
+ rm -f ./sql_base.cc
+ /bin/ln -s ./../sql/sql_base.cc ./sql_base.cc
+ rm -f ./sql_cache.cc
+ /bin/ln -s ./../sql/sql_cache.cc ./sql_cache.cc
+ rm -f ./sql_class.cc
+ /bin/ln -s ./../sql/sql_class.cc ./sql_class.cc
+ rm -f ./sql_crypt.cc
+ /bin/ln -s ./../sql/sql_crypt.cc ./sql_crypt.cc
+ rm -f ./sql_db.cc
+ /bin/ln -s ./../sql/sql_db.cc ./sql_db.cc
+ rm -f ./sql_delete.cc
+ /bin/ln -s ./../sql/sql_delete.cc ./sql_delete.cc
+ rm -f ./sql_insert.cc
+ /bin/ln -s ./../sql/sql_insert.cc ./sql_insert.cc
+ rm -f ./sql_lex.cc
+ /bin/ln -s ./../sql/sql_lex.cc ./sql_lex.cc
+ rm -f ./sql_list.cc
+ /bin/ln -s ./../sql/sql_list.cc ./sql_list.cc
+ rm -f ./sql_manager.cc
+ /bin/ln -s ./../sql/sql_manager.cc ./sql_manager.cc
+ rm -f ./sql_map.cc
+ /bin/ln -s ./../sql/sql_map.cc ./sql_map.cc
+ rm -f ./set_var.cc
+ /bin/ln -s ./../sql/set_var.cc ./set_var.cc
+ rm -f ./sql_parse.cc
+ /bin/ln -s ./../sql/sql_parse.cc ./sql_parse.cc
+ rm -f ./sql_rename.cc
+ /bin/ln -s ./../sql/sql_rename.cc ./sql_rename.cc
+ rm -f ./sql_repl.cc
+ /bin/ln -s ./../sql/sql_repl.cc ./sql_repl.cc
+ rm -f ./sql_select.cc
+ /bin/ln -s ./../sql/sql_select.cc ./sql_select.cc
+ rm -f ./sql_do.cc
+ /bin/ln -s ./../sql/sql_do.cc ./sql_do.cc
+ rm -f ./sql_show.cc
+ /bin/ln -s ./../sql/sql_show.cc ./sql_show.cc
+ rm -f ./sql_string.cc
+ /bin/ln -s ./../sql/sql_string.cc ./sql_string.cc
+ rm -f ./sql_table.cc
+ /bin/ln -s ./../sql/sql_table.cc ./sql_table.cc
+ rm -f ./sql_test.cc
+ /bin/ln -s ./../sql/sql_test.cc ./sql_test.cc
+ rm -f ./sql_udf.cc
+ /bin/ln -s ./../sql/sql_udf.cc ./sql_udf.cc
+ rm -f ./sql_update.cc
+ /bin/ln -s ./../sql/sql_update.cc ./sql_update.cc
+ rm -f ./sql_yacc.cc
+ /bin/ln -s ./../sql/sql_yacc.cc ./sql_yacc.cc
+ rm -f ./table.cc
+ /bin/ln -s ./../sql/table.cc ./table.cc
+ rm -f ./thr_malloc.cc
+ /bin/ln -s ./../sql/thr_malloc.cc ./thr_malloc.cc
+ rm -f ./time.cc
+ /bin/ln -s ./../sql/time.cc ./time.cc
+ rm -f ./unireg.cc
+ /bin/ln -s ./../sql/unireg.cc ./unireg.cc
+ rm -f ./uniques.cc
+ /bin/ln -s ./../sql/uniques.cc ./uniques.cc
+ rm -f ./stacktrace.c
+ /bin/ln -s ./../sql/stacktrace.c ./stacktrace.c
+ rm -f ./sql_union.cc
+ /bin/ln -s ./../sql/sql_union.cc ./sql_union.cc
+ rm -f ./hash_filo.cc
+ /bin/ln -s ./../sql/hash_filo.cc ./hash_filo.cc
+ rm -f ./errmsg.c
+ /bin/ln -s ./../libmysql/errmsg.c ./errmsg.c
+ rm -f ./get_password.c
+ /bin/ln -s ./../libmysql/get_password.c ./get_password.c
../mysys/libmysys.a(my_tempnam.o)(.text+0x50): In function `my_tempnam':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/my_tempnam.c:128: the use of `tempnam' is dangerous, better use `mkstemp'
../mysys/libmysys.a(my_tempnam.o)(.text+0x50): In function `my_tempnam':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/my_tempnam.c:128: the use of `tempnam' is dangerous, better use `mkstemp'
../mysys/libmysys.a(raid.o)(.text+0x95): In function `my_raid_create':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:119: undefined reference to `operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x11f):/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:130: undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o)(.text+0x175): In function `my_raid_open':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:141: undefined reference to `operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x1fc):/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:152: undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o)(.text+0x715): In function `my_raid_close':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:277: undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
make[2]: *** [isamchk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.63850 (%build)
    user mysqldev does not exist - using root
    user mysqldev does not exist - using root
    user mysqldev does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.63850 (%build)
回复

使用道具 举报

 楼主| 发表于 2003-6-13 07:04:35 | 显示全部楼层
我先前安装了一个 for linux 的最新官方 2 进制包,方法和官方网站上说得一样。后来删掉了用户 mysql:
userdel mysql
然后使用如下脚本编译 src.rpm 包:
./ins MySQL-4.0.13-0.src.rpm
其中脚本 ins 内容为:
#!/bin/sh
rpmbuild --rebuild --target=i686 $1 >/dev/null 2>$1.log &
记录到的错误如上。好像 MySQL-4.0.12-0.src.rpm 也不能通过编译。怪了!痛苦死了!要不请 cjacker 也编译一个 mysql-devel 包提供给我们,否则整个 KDE 根本没法 rebuild !!!
回复

使用道具 举报

发表于 2003-6-13 09:56:47 | 显示全部楼层
我用RH9。0的mysql相关的包,安装上去。OK!那src包是编译不过去,我也试了!
回复

使用道具 举报

发表于 2003-6-13 10:53:14 | 显示全部楼层
一看就知道,缺少用户mysqldev导致的错误,用adduser mysqldev添加就ok了。
回复

使用道具 举报

 楼主| 发表于 2003-6-13 19:56:00 | 显示全部楼层
今晚试试。
回复

使用道具 举报

 楼主| 发表于 2003-6-14 02:34:45 | 显示全部楼层
还是通不过编译。这是何道理:


+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf mysql-4.0.13
+ /bin/gzip -dc /usr/src/redhat/SOURCES/mysql-4.0.13.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mysql-4.0.13
+ exit 0
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd mysql-4.0.13
+ OTHER_LIBC_DIR=/usr/local/mysql-glibc
+ USE_OTHER_LIBC_DIR=
+ test -d /usr/local/mysql-glibc
+ RBR=/var/tmp/MySQL-4.0.13-build
+ MBD=/usr/src/redhat/BUILD/mysql-4.0.13
+ '[' /var/tmp/MySQL-4.0.13-build '!=' / ']'
+ '[' -d /var/tmp/MySQL-4.0.13-build ']'
+ rm -rf /var/tmp/MySQL-4.0.13-build
+ mkdir -p /var/tmp/MySQL-4.0.13-build
+ PATH=/bin:/usr/bin
+ export PATH
+ BuildMySQL '--enable-shared                 --with-berkeley-db                 --with-innodb                 --with-raid                 --with-server-suffix='\''-Max'\'''
+ sh -c 'PATH="/bin:/usr/bin"         CFLAGS="-O2 -g -march=i686"         CXXFLAGS="-O2 -g -march=i686                   -felide-constructors -fno-exceptions -fno-rtti                   "         ./configure              --enable-shared                 --with-berkeley-db                 --with-innodb                 --with-raid                 --with-server-suffix='\''-Max'\''             --enable-assembler             --enable-local-infile             --with-mysqld-user=mysql             --with-unix-socket-path=/var/lib/mysql/mysql.sock             --prefix=/             --with-extra-charsets=complex             --exec-prefix=/usr             --libexecdir=/usr/sbin             --sysconfdir=/etc             --datadir=/usr/share             --localstatedir=/var/lib/mysql             --infodir=/usr/share/info             --includedir=/usr/include             --mandir=/usr/share/man             --with-embedded-server             --enable-thread-safe-client             --with-comment="Official MySQL RPM";
            # Add this for more debugging support
            # --with-debug
            # Add this for MyISAM RAID support:
            # --with-raid
            '
nm: libc-tls.o: no symbols
nm: lc-messages.o: no symbols
nm: lc-monetary.o: no symbols
nm: lc-numeric.o: no symbols
nm: lc-time.o: no symbols
nm: lc-paper.o: no symbols
nm: lc-name.o: no symbols
nm: lc-address.o: no symbols
nm: lc-telephone.o: no symbols
nm: lc-measurement.o: no symbols
nm: lc-identification.o: no symbols
nm: lc-collate.o: no symbols
nm: old_atexit.o: no symbols
nm: udiv_qrnnd.o: no symbols
nm: mp_clz_tab.o: no symbols
nm: getopt_init.o: no symbols
nm: init-posix.o: no symbols
nm: lseek64.o: no symbols
nm: oldgetrlimit64.o: no symbols
nm: getutmpx.o: no symbols
nm: dl-tls.o: no symbols
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
+ make benchdir_root=/var/tmp/MySQL-4.0.13-build/usr/share/
++ echo strmov.lo strxmov.lo strxnmov.lo strnmov.lo strmake.lo strend.lo strnlen.lo strfill.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo strcend.lo bcmp.lo bchange.lo bmove.lo bmove_upp.lo longlong2str.lo strtoull.lo strtoll.lo llstr.lo ctype.lo ctype-big5.lo ctype-czech.lo ctype-euc_kr.lo ctype-gb2312.lo ctype-gbk.lo ctype-latin1_de.lo ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo
++ sed 's;\.lo;.c;g'
+ ss=strmov.c strxmov.c strxnmov.c strnmov.c strmake.c strend.c strnlen.c strfill.c is_prefix.c int2str.c str2int.c strinstr.c strcont.c strcend.c bcmp.c bchange.c bmove.c bmove_upp.c longlong2str.c strtoull.c strtoll.c llstr.c ctype.c ctype-big5.c ctype-czech.c ctype-euc_kr.c ctype-gb2312.c ctype-gbk.c ctype-latin1_de.c ctype-sjis.c ctype-tis620.c ctype-ujis.c
++ echo dbug.lo
++ sed 's;\.lo;.c;g'
+ ds=dbug.c
++ echo my_init.lo my_static.lo my_malloc.lo my_realloc.lo my_create.lo my_delete.lo mf_tempfile.lo my_open.lo mf_casecnv.lo my_read.lo my_write.lo errors.lo my_error.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo my_symlink.lo my_fstream.lo mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo mulalloc.lo string.lo default.lo my_compress.lo array.lo my_once.lo list.lo my_net.lo charset.lo hash.lo mf_iocache.lo mf_iocache2.lo my_seek.lo my_sleep.lo my_pread.lo mf_cache.lo my_vsnprintf.lo md5.lo my_getopt.lo my_gethostbyname.lo my_port.lo my_lib.lo
++ sed 's;\.lo;.c;g'
+ ms=my_init.c my_static.c my_malloc.c my_realloc.c my_create.c my_delete.c mf_tempfile.c my_open.c mf_casecnv.c my_read.c my_write.c errors.c my_error.c my_getwd.c my_div.c mf_pack.c my_messnc.c mf_dirname.c mf_fn_ext.c mf_wcomp.c typelib.c safemalloc.c my_alloc.c mf_format.c mf_path.c mf_unixpath.c my_fopen.c my_symlink.c my_fstream.c mf_loadpath.c my_pthread.c my_thr_init.c thr_mutex.c mulalloc.c string.c default.c my_compress.c array.c my_once.c list.c my_net.c charset.c hash.c mf_iocache.c mf_iocache2.c my_seek.c my_sleep.c my_pread.c mf_cache.c my_vsnprintf.c md5.c my_getopt.c my_gethostbyname.c my_port.c my_lib.c
++ echo vio.lo viosocket.lo viossl.lo viosslfactories.lo
++ sed 's;\.lo;.c;g'
+ vs=vio.c viosocket.c viossl.c viosslfactories.c
+ rm -f ./strmov.c
+ /bin/ln -s ./../strings/strmov.c ./strmov.c
+ rm -f ./strxmov.c
+ /bin/ln -s ./../strings/strxmov.c ./strxmov.c
+ rm -f ./strxnmov.c
+ /bin/ln -s ./../strings/strxnmov.c ./strxnmov.c
+ rm -f ./strnmov.c
+ /bin/ln -s ./../strings/strnmov.c ./strnmov.c
+ rm -f ./strmake.c
+ /bin/ln -s ./../strings/strmake.c ./strmake.c
+ rm -f ./strend.c
+ /bin/ln -s ./../strings/strend.c ./strend.c
+ rm -f ./strnlen.c
+ /bin/ln -s ./../strings/strnlen.c ./strnlen.c
+ rm -f ./strfill.c
+ /bin/ln -s ./../strings/strfill.c ./strfill.c
+ rm -f ./is_prefix.c
+ /bin/ln -s ./../strings/is_prefix.c ./is_prefix.c
+ rm -f ./int2str.c
+ /bin/ln -s ./../strings/int2str.c ./int2str.c
+ rm -f ./str2int.c
+ /bin/ln -s ./../strings/str2int.c ./str2int.c
+ rm -f ./strinstr.c
+ /bin/ln -s ./../strings/strinstr.c ./strinstr.c
+ rm -f ./strcont.c
+ /bin/ln -s ./../strings/strcont.c ./strcont.c
+ rm -f ./strcend.c
+ /bin/ln -s ./../strings/strcend.c ./strcend.c
+ rm -f ./bcmp.c
+ /bin/ln -s ./../strings/bcmp.c ./bcmp.c
+ rm -f ./bchange.c
+ /bin/ln -s ./../strings/bchange.c ./bchange.c
+ rm -f ./bmove.c
+ /bin/ln -s ./../strings/bmove.c ./bmove.c
+ rm -f ./bmove_upp.c
+ /bin/ln -s ./../strings/bmove_upp.c ./bmove_upp.c
+ rm -f ./longlong2str.c
+ /bin/ln -s ./../strings/longlong2str.c ./longlong2str.c
+ rm -f ./strtoull.c
+ /bin/ln -s ./../strings/strtoull.c ./strtoull.c
+ rm -f ./strtoll.c
+ /bin/ln -s ./../strings/strtoll.c ./strtoll.c
+ rm -f ./llstr.c
+ /bin/ln -s ./../strings/llstr.c ./llstr.c
+ rm -f ./ctype.c
+ /bin/ln -s ./../strings/ctype.c ./ctype.c
+ rm -f ./ctype-big5.c
+ /bin/ln -s ./../strings/ctype-big5.c ./ctype-big5.c
+ rm -f ./ctype-czech.c
+ /bin/ln -s ./../strings/ctype-czech.c ./ctype-czech.c
+ rm -f ./ctype-euc_kr.c
+ /bin/ln -s ./../strings/ctype-euc_kr.c ./ctype-euc_kr.c
+ rm -f ./ctype-gb2312.c
+ /bin/ln -s ./../strings/ctype-gb2312.c ./ctype-gb2312.c
+ rm -f ./ctype-gbk.c
+ /bin/ln -s ./../strings/ctype-gbk.c ./ctype-gbk.c
+ rm -f ./ctype-latin1_de.c
+ /bin/ln -s ./../strings/ctype-latin1_de.c ./ctype-latin1_de.c
+ rm -f ./ctype-sjis.c
+ /bin/ln -s ./../strings/ctype-sjis.c ./ctype-sjis.c
+ rm -f ./ctype-tis620.c
+ /bin/ln -s ./../strings/ctype-tis620.c ./ctype-tis620.c
+ rm -f ./ctype-ujis.c
+ /bin/ln -s ./../strings/ctype-ujis.c ./ctype-ujis.c
+ rm -f ./vio.c
+ /bin/ln -s ./../vio/vio.c ./vio.c
+ rm -f ./viosocket.c
+ /bin/ln -s ./../vio/viosocket.c ./viosocket.c
+ rm -f ./viossl.c
+ /bin/ln -s ./../vio/viossl.c ./viossl.c
+ rm -f ./viosslfactories.c
+ /bin/ln -s ./../vio/viosslfactories.c ./viosslfactories.c
+ rm -f ./strto.c
+ /bin/ln -s ./../strings/strto.c ./strto.c
+ rm -f ./ctype_autoconf.c
+ /bin/ln -s ../strings/ctype_autoconf.c ./ctype_autoconf.c
+ rm -f ./dbug.c
+ /bin/ln -s ./../dbug/dbug.c ./dbug.c
+ rm -f ./my_init.c
+ /bin/ln -s ./../mysys/my_init.c ./my_init.c
+ rm -f ./my_static.c
+ /bin/ln -s ./../mysys/my_static.c ./my_static.c
+ rm -f ./my_malloc.c
+ /bin/ln -s ./../mysys/my_malloc.c ./my_malloc.c
+ rm -f ./my_realloc.c
+ /bin/ln -s ./../mysys/my_realloc.c ./my_realloc.c
+ rm -f ./my_create.c
+ /bin/ln -s ./../mysys/my_create.c ./my_create.c
+ rm -f ./my_delete.c
+ /bin/ln -s ./../mysys/my_delete.c ./my_delete.c
+ rm -f ./mf_tempfile.c
+ /bin/ln -s ./../mysys/mf_tempfile.c ./mf_tempfile.c
+ rm -f ./my_open.c
+ /bin/ln -s ./../mysys/my_open.c ./my_open.c
+ rm -f ./mf_casecnv.c
+ /bin/ln -s ./../mysys/mf_casecnv.c ./mf_casecnv.c
+ rm -f ./my_read.c
+ /bin/ln -s ./../mysys/my_read.c ./my_read.c
+ rm -f ./my_write.c
+ /bin/ln -s ./../mysys/my_write.c ./my_write.c
+ rm -f ./errors.c
+ /bin/ln -s ./../mysys/errors.c ./errors.c
+ rm -f ./my_error.c
+ /bin/ln -s ./../mysys/my_error.c ./my_error.c
+ rm -f ./my_getwd.c
+ /bin/ln -s ./../mysys/my_getwd.c ./my_getwd.c
+ rm -f ./my_div.c
+ /bin/ln -s ./../mysys/my_div.c ./my_div.c
+ rm -f ./mf_pack.c
+ /bin/ln -s ./../mysys/mf_pack.c ./mf_pack.c
+ rm -f ./my_messnc.c
+ /bin/ln -s ./../mysys/my_messnc.c ./my_messnc.c
+ rm -f ./mf_dirname.c
+ /bin/ln -s ./../mysys/mf_dirname.c ./mf_dirname.c
+ rm -f ./mf_fn_ext.c
+ /bin/ln -s ./../mysys/mf_fn_ext.c ./mf_fn_ext.c
+ rm -f ./mf_wcomp.c
+ /bin/ln -s ./../mysys/mf_wcomp.c ./mf_wcomp.c
+ rm -f ./typelib.c
+ /bin/ln -s ./../mysys/typelib.c ./typelib.c
+ rm -f ./safemalloc.c
+ /bin/ln -s ./../mysys/safemalloc.c ./safemalloc.c
+ rm -f ./my_alloc.c
+ /bin/ln -s ./../mysys/my_alloc.c ./my_alloc.c
+ rm -f ./mf_format.c
+ /bin/ln -s ./../mysys/mf_format.c ./mf_format.c
+ rm -f ./mf_path.c
+ /bin/ln -s ./../mysys/mf_path.c ./mf_path.c
+ rm -f ./mf_unixpath.c
+ /bin/ln -s ./../mysys/mf_unixpath.c ./mf_unixpath.c
+ rm -f ./my_fopen.c
+ /bin/ln -s ./../mysys/my_fopen.c ./my_fopen.c
+ rm -f ./my_symlink.c
+ /bin/ln -s ./../mysys/my_symlink.c ./my_symlink.c
+ rm -f ./my_fstream.c
+ /bin/ln -s ./../mysys/my_fstream.c ./my_fstream.c
+ rm -f ./mf_loadpath.c
+ /bin/ln -s ./../mysys/mf_loadpath.c ./mf_loadpath.c
+ rm -f ./my_pthread.c
+ /bin/ln -s ./../mysys/my_pthread.c ./my_pthread.c
+ rm -f ./my_thr_init.c
+ /bin/ln -s ./../mysys/my_thr_init.c ./my_thr_init.c
+ rm -f ./thr_mutex.c
+ /bin/ln -s ./../mysys/thr_mutex.c ./thr_mutex.c
+ rm -f ./mulalloc.c
+ /bin/ln -s ./../mysys/mulalloc.c ./mulalloc.c
+ rm -f ./string.c
+ /bin/ln -s ./../mysys/string.c ./string.c
+ rm -f ./default.c
+ /bin/ln -s ./../mysys/default.c ./default.c
+ rm -f ./my_compress.c
+ /bin/ln -s ./../mysys/my_compress.c ./my_compress.c
+ rm -f ./array.c
+ /bin/ln -s ./../mysys/array.c ./array.c
+ rm -f ./my_once.c
+ /bin/ln -s ./../mysys/my_once.c ./my_once.c
+ rm -f ./list.c
+ /bin/ln -s ./../mysys/list.c ./list.c
+ rm -f ./my_net.c
+ /bin/ln -s ./../mysys/my_net.c ./my_net.c
+ rm -f ./charset.c
+ /bin/ln -s ./../mysys/charset.c ./charset.c
+ rm -f ./hash.c
+ /bin/ln -s ./../mysys/hash.c ./hash.c
+ rm -f ./mf_iocache.c
+ /bin/ln -s ./../mysys/mf_iocache.c ./mf_iocache.c
+ rm -f ./mf_iocache2.c
+ /bin/ln -s ./../mysys/mf_iocache2.c ./mf_iocache2.c
+ rm -f ./my_seek.c
+ /bin/ln -s ./../mysys/my_seek.c ./my_seek.c
+ rm -f ./my_sleep.c
+ /bin/ln -s ./../mysys/my_sleep.c ./my_sleep.c
+ rm -f ./my_pread.c
+ /bin/ln -s ./../mysys/my_pread.c ./my_pread.c
+ rm -f ./mf_cache.c
+ /bin/ln -s ./../mysys/mf_cache.c ./mf_cache.c
+ rm -f ./my_vsnprintf.c
+ /bin/ln -s ./../mysys/my_vsnprintf.c ./my_vsnprintf.c
+ rm -f ./md5.c
+ /bin/ln -s ./../mysys/md5.c ./md5.c
+ rm -f ./my_getopt.c
+ /bin/ln -s ./../mysys/my_getopt.c ./my_getopt.c
+ rm -f ./my_gethostbyname.c
+ /bin/ln -s ./../mysys/my_gethostbyname.c ./my_gethostbyname.c
+ rm -f ./my_port.c
+ /bin/ln -s ./../mysys/my_port.c ./my_port.c
+ rm -f ./my_lib.c
+ /bin/ln -s ./../mysys/my_lib.c ./my_lib.c
+ rm -f ./mysys_priv.h
+ /bin/ln -s ./../mysys/mysys_priv.h ./mysys_priv.h
+ rm -f ./my_static.h
+ /bin/ln -s ./../mysys/my_static.h ./my_static.h
+ rm -f ./net.c
+ /bin/ln -s ./../sql/net_serv.cc ./net.c
+ rm -f ./password.c
+ /bin/ln -s ./../sql/password.c ./password.c
++ cd ../libmysql
++ echo array.c bchange.c bcmp.c bmove.c bmove_upp.c charset.c conf_to_src.c ctype_autoconf.c ctype-big5.c ctype.c ctype-czech.c ctype-euc_kr.c ctype-gb2312.c ctype-gbk.c ctype-latin1_de.c ctype-sjis.c ctype-tis620.c ctype-ujis.c dbug.c default.c errmsg.c errors.c get_password.c hash.c int2str.c is_prefix.c libmysql.c list.c llstr.c longlong2str.c manager.c md5.c mf_cache.c mf_casecnv.c mf_dirname.c mf_fn_ext.c mf_format.c mf_iocache2.c mf_iocache.c mf_loadpath.c mf_pack.c mf_path.c mf_tempfile.c mf_unixpath.c mf_wcomp.c mulalloc.c my_alloc.c my_compress.c my_create.c my_delete.c my_div.c my_error.c my_fopen.c my_fstream.c my_gethostbyname.c my_getopt.c my_getwd.c my_init.c my_lib.c my_malloc.c my_messnc.c my_net.c my_once.c my_open.c my_port.c my_pread.c my_pthread.c my_read.c my_realloc.c my_seek.c my_sleep.c my_static.c my_static.h my_symlink.c mysys_priv.h my_thr_init.c my_vsnprintf.c my_write.c net.c password.c safemalloc.c str2int.c strcend.c strcont.c strend.c strfill.c string.c strinstr.c strmake.c strmov.c strnlen.c strnmov.c strto.c strtoll.c strtoull.c strxmov.c strxnmov.c thr_mutex.c typelib.c vio.c viosocket.c viossl.c viosslfactories.c
+ rm -f ./array.c
+ /bin/ln -s ../libmysql/array.c ./array.c
+ rm -f ./bchange.c
+ /bin/ln -s ../libmysql/bchange.c ./bchange.c
+ rm -f ./bcmp.c
+ /bin/ln -s ../libmysql/bcmp.c ./bcmp.c
+ rm -f ./bmove.c
+ /bin/ln -s ../libmysql/bmove.c ./bmove.c
+ rm -f ./bmove_upp.c
+ /bin/ln -s ../libmysql/bmove_upp.c ./bmove_upp.c
+ rm -f ./charset.c
+ /bin/ln -s ../libmysql/charset.c ./charset.c
+ rm -f ./conf_to_src.c
+ /bin/ln -s ../libmysql/conf_to_src.c ./conf_to_src.c
+ rm -f ./ctype_autoconf.c
+ /bin/ln -s ../libmysql/ctype_autoconf.c ./ctype_autoconf.c
+ rm -f ./ctype-big5.c
+ /bin/ln -s ../libmysql/ctype-big5.c ./ctype-big5.c
+ rm -f ./ctype.c
+ /bin/ln -s ../libmysql/ctype.c ./ctype.c
+ rm -f ./ctype-czech.c
+ /bin/ln -s ../libmysql/ctype-czech.c ./ctype-czech.c
+ rm -f ./ctype-euc_kr.c
+ /bin/ln -s ../libmysql/ctype-euc_kr.c ./ctype-euc_kr.c
+ rm -f ./ctype-gb2312.c
+ /bin/ln -s ../libmysql/ctype-gb2312.c ./ctype-gb2312.c
+ rm -f ./ctype-gbk.c
+ /bin/ln -s ../libmysql/ctype-gbk.c ./ctype-gbk.c
+ rm -f ./ctype-latin1_de.c
+ /bin/ln -s ../libmysql/ctype-latin1_de.c ./ctype-latin1_de.c
+ rm -f ./ctype-sjis.c
+ /bin/ln -s ../libmysql/ctype-sjis.c ./ctype-sjis.c
+ rm -f ./ctype-tis620.c
+ /bin/ln -s ../libmysql/ctype-tis620.c ./ctype-tis620.c
+ rm -f ./ctype-ujis.c
+ /bin/ln -s ../libmysql/ctype-ujis.c ./ctype-ujis.c
+ rm -f ./dbug.c
+ /bin/ln -s ../libmysql/dbug.c ./dbug.c
+ rm -f ./default.c
+ /bin/ln -s ../libmysql/default.c ./default.c
+ rm -f ./errmsg.c
+ /bin/ln -s ../libmysql/errmsg.c ./errmsg.c
+ rm -f ./errors.c
+ /bin/ln -s ../libmysql/errors.c ./errors.c
+ rm -f ./get_password.c
+ /bin/ln -s ../libmysql/get_password.c ./get_password.c
+ rm -f ./hash.c
+ /bin/ln -s ../libmysql/hash.c ./hash.c
+ rm -f ./int2str.c
+ /bin/ln -s ../libmysql/int2str.c ./int2str.c
+ rm -f ./is_prefix.c
+ /bin/ln -s ../libmysql/is_prefix.c ./is_prefix.c
+ rm -f ./libmysql.c
+ /bin/ln -s ../libmysql/libmysql.c ./libmysql.c
+ rm -f ./list.c
+ /bin/ln -s ../libmysql/list.c ./list.c
+ rm -f ./llstr.c
+ /bin/ln -s ../libmysql/llstr.c ./llstr.c
+ rm -f ./longlong2str.c
+ /bin/ln -s ../libmysql/longlong2str.c ./longlong2str.c
+ rm -f ./manager.c
+ /bin/ln -s ../libmysql/manager.c ./manager.c
+ rm -f ./md5.c
+ /bin/ln -s ../libmysql/md5.c ./md5.c
+ rm -f ./mf_cache.c
+ /bin/ln -s ../libmysql/mf_cache.c ./mf_cache.c
+ rm -f ./mf_casecnv.c
+ /bin/ln -s ../libmysql/mf_casecnv.c ./mf_casecnv.c
+ rm -f ./mf_dirname.c
+ /bin/ln -s ../libmysql/mf_dirname.c ./mf_dirname.c
+ rm -f ./mf_fn_ext.c
+ /bin/ln -s ../libmysql/mf_fn_ext.c ./mf_fn_ext.c
+ rm -f ./mf_format.c
+ /bin/ln -s ../libmysql/mf_format.c ./mf_format.c
+ rm -f ./mf_iocache2.c
+ /bin/ln -s ../libmysql/mf_iocache2.c ./mf_iocache2.c
+ rm -f ./mf_iocache.c
+ /bin/ln -s ../libmysql/mf_iocache.c ./mf_iocache.c
+ rm -f ./mf_loadpath.c
+ /bin/ln -s ../libmysql/mf_loadpath.c ./mf_loadpath.c
+ rm -f ./mf_pack.c
+ /bin/ln -s ../libmysql/mf_pack.c ./mf_pack.c
+ rm -f ./mf_path.c
+ /bin/ln -s ../libmysql/mf_path.c ./mf_path.c
+ rm -f ./mf_tempfile.c
+ /bin/ln -s ../libmysql/mf_tempfile.c ./mf_tempfile.c
+ rm -f ./mf_unixpath.c
+ /bin/ln -s ../libmysql/mf_unixpath.c ./mf_unixpath.c
+ rm -f ./mf_wcomp.c
+ /bin/ln -s ../libmysql/mf_wcomp.c ./mf_wcomp.c
+ rm -f ./mulalloc.c
+ /bin/ln -s ../libmysql/mulalloc.c ./mulalloc.c
+ rm -f ./my_alloc.c
+ /bin/ln -s ../libmysql/my_alloc.c ./my_alloc.c
+ rm -f ./my_compress.c
+ /bin/ln -s ../libmysql/my_compress.c ./my_compress.c
+ rm -f ./my_create.c
+ /bin/ln -s ../libmysql/my_create.c ./my_create.c
+ rm -f ./my_delete.c
+ /bin/ln -s ../libmysql/my_delete.c ./my_delete.c
+ rm -f ./my_div.c
+ /bin/ln -s ../libmysql/my_div.c ./my_div.c
+ rm -f ./my_error.c
+ /bin/ln -s ../libmysql/my_error.c ./my_error.c
+ rm -f ./my_fopen.c
+ /bin/ln -s ../libmysql/my_fopen.c ./my_fopen.c
+ rm -f ./my_fstream.c
+ /bin/ln -s ../libmysql/my_fstream.c ./my_fstream.c
+ rm -f ./my_gethostbyname.c
+ /bin/ln -s ../libmysql/my_gethostbyname.c ./my_gethostbyname.c
+ rm -f ./my_getopt.c
+ /bin/ln -s ../libmysql/my_getopt.c ./my_getopt.c
+ rm -f ./my_getwd.c
+ /bin/ln -s ../libmysql/my_getwd.c ./my_getwd.c
+ rm -f ./my_init.c
+ /bin/ln -s ../libmysql/my_init.c ./my_init.c
+ rm -f ./my_lib.c
+ /bin/ln -s ../libmysql/my_lib.c ./my_lib.c
+ rm -f ./my_malloc.c
+ /bin/ln -s ../libmysql/my_malloc.c ./my_malloc.c
+ rm -f ./my_messnc.c
+ /bin/ln -s ../libmysql/my_messnc.c ./my_messnc.c
+ rm -f ./my_net.c
+ /bin/ln -s ../libmysql/my_net.c ./my_net.c
+ rm -f ./my_once.c
+ /bin/ln -s ../libmysql/my_once.c ./my_once.c
+ rm -f ./my_open.c
+ /bin/ln -s ../libmysql/my_open.c ./my_open.c
+ rm -f ./my_port.c
+ /bin/ln -s ../libmysql/my_port.c ./my_port.c
+ rm -f ./my_pread.c
+ /bin/ln -s ../libmysql/my_pread.c ./my_pread.c
+ rm -f ./my_pthread.c
+ /bin/ln -s ../libmysql/my_pthread.c ./my_pthread.c
+ rm -f ./my_read.c
+ /bin/ln -s ../libmysql/my_read.c ./my_read.c
+ rm -f ./my_realloc.c
+ /bin/ln -s ../libmysql/my_realloc.c ./my_realloc.c
+ rm -f ./my_seek.c
+ /bin/ln -s ../libmysql/my_seek.c ./my_seek.c
+ rm -f ./my_sleep.c
+ /bin/ln -s ../libmysql/my_sleep.c ./my_sleep.c
+ rm -f ./my_static.c
+ /bin/ln -s ../libmysql/my_static.c ./my_static.c
+ rm -f ./my_static.h
+ /bin/ln -s ../libmysql/my_static.h ./my_static.h
+ rm -f ./my_symlink.c
+ /bin/ln -s ../libmysql/my_symlink.c ./my_symlink.c
+ rm -f ./mysys_priv.h
+ /bin/ln -s ../libmysql/mysys_priv.h ./mysys_priv.h
+ rm -f ./my_thr_init.c
+ /bin/ln -s ../libmysql/my_thr_init.c ./my_thr_init.c
+ rm -f ./my_vsnprintf.c
+ /bin/ln -s ../libmysql/my_vsnprintf.c ./my_vsnprintf.c
+ rm -f ./my_write.c
+ /bin/ln -s ../libmysql/my_write.c ./my_write.c
+ rm -f ./net.c
+ /bin/ln -s ../libmysql/net.c ./net.c
+ rm -f ./password.c
+ /bin/ln -s ../libmysql/password.c ./password.c
+ rm -f ./safemalloc.c
+ /bin/ln -s ../libmysql/safemalloc.c ./safemalloc.c
+ rm -f ./str2int.c
+ /bin/ln -s ../libmysql/str2int.c ./str2int.c
+ rm -f ./strcend.c
+ /bin/ln -s ../libmysql/strcend.c ./strcend.c
+ rm -f ./strcont.c
+ /bin/ln -s ../libmysql/strcont.c ./strcont.c
+ rm -f ./strend.c
+ /bin/ln -s ../libmysql/strend.c ./strend.c
+ rm -f ./strfill.c
+ /bin/ln -s ../libmysql/strfill.c ./strfill.c
+ rm -f ./string.c
+ /bin/ln -s ../libmysql/string.c ./string.c
+ rm -f ./strinstr.c
+ /bin/ln -s ../libmysql/strinstr.c ./strinstr.c
+ rm -f ./strmake.c
+ /bin/ln -s ../libmysql/strmake.c ./strmake.c
+ rm -f ./strmov.c
+ /bin/ln -s ../libmysql/strmov.c ./strmov.c
+ rm -f ./strnlen.c
+ /bin/ln -s ../libmysql/strnlen.c ./strnlen.c
+ rm -f ./strnmov.c
+ /bin/ln -s ../libmysql/strnmov.c ./strnmov.c
+ rm -f ./strto.c
+ /bin/ln -s ../libmysql/strto.c ./strto.c
+ rm -f ./strtoll.c
+ /bin/ln -s ../libmysql/strtoll.c ./strtoll.c
+ rm -f ./strtoull.c
+ /bin/ln -s ../libmysql/strtoull.c ./strtoull.c
+ rm -f ./strxmov.c
+ /bin/ln -s ../libmysql/strxmov.c ./strxmov.c
+ rm -f ./strxnmov.c
+ /bin/ln -s ../libmysql/strxnmov.c ./strxnmov.c
+ rm -f ./thr_mutex.c
+ /bin/ln -s ../libmysql/thr_mutex.c ./thr_mutex.c
+ rm -f ./typelib.c
+ /bin/ln -s ../libmysql/typelib.c ./typelib.c
+ rm -f ./vio.c
+ /bin/ln -s ../libmysql/vio.c ./vio.c
+ rm -f ./viosocket.c
+ /bin/ln -s ../libmysql/viosocket.c ./viosocket.c
+ rm -f ./viossl.c
+ /bin/ln -s ../libmysql/viossl.c ./viossl.c
+ rm -f ./viosslfactories.c
+ /bin/ln -s ../libmysql/viosslfactories.c ./viosslfactories.c
+ rm -f ./convert.cc
+ /bin/ln -s ./../sql/convert.cc ./convert.cc
+ rm -f ./derror.cc
+ /bin/ln -s ./../sql/derror.cc ./derror.cc
+ rm -f ./field.cc
+ /bin/ln -s ./../sql/field.cc ./field.cc
+ rm -f ./field_conv.cc
+ /bin/ln -s ./../sql/field_conv.cc ./field_conv.cc
+ rm -f ./filesort.cc
+ /bin/ln -s ./../sql/filesort.cc ./filesort.cc
+ rm -f ./ha_innodb.cc
+ /bin/ln -s ./../sql/ha_innodb.cc ./ha_innodb.cc
+ rm -f ./ha_berkeley.cc
+ /bin/ln -s ./../sql/ha_berkeley.cc ./ha_berkeley.cc
+ rm -f ./ha_heap.cc
+ /bin/ln -s ./../sql/ha_heap.cc ./ha_heap.cc
+ rm -f ./ha_isam.cc
+ /bin/ln -s ./../sql/ha_isam.cc ./ha_isam.cc
+ rm -f ./ha_isammrg.cc
+ /bin/ln -s ./../sql/ha_isammrg.cc ./ha_isammrg.cc
+ rm -f ./ha_myisam.cc
+ /bin/ln -s ./../sql/ha_myisam.cc ./ha_myisam.cc
+ rm -f ./ha_myisammrg.cc
+ /bin/ln -s ./../sql/ha_myisammrg.cc ./ha_myisammrg.cc
+ rm -f ./handler.cc
+ /bin/ln -s ./../sql/handler.cc ./handler.cc
+ rm -f ./sql_handler.cc
+ /bin/ln -s ./../sql/sql_handler.cc ./sql_handler.cc
+ rm -f ./hostname.cc
+ /bin/ln -s ./../sql/hostname.cc ./hostname.cc
+ rm -f ./init.cc
+ /bin/ln -s ./../sql/init.cc ./init.cc
+ rm -f ./password.c
+ /bin/ln -s ./../sql/password.c ./password.c
+ rm -f ./item.cc
+ /bin/ln -s ./../sql/item.cc ./item.cc
+ rm -f ./item_buff.cc
+ /bin/ln -s ./../sql/item_buff.cc ./item_buff.cc
+ rm -f ./item_cmpfunc.cc
+ /bin/ln -s ./../sql/item_cmpfunc.cc ./item_cmpfunc.cc
+ rm -f ./item_create.cc
+ /bin/ln -s ./../sql/item_create.cc ./item_create.cc
+ rm -f ./item_func.cc
+ /bin/ln -s ./../sql/item_func.cc ./item_func.cc
+ rm -f ./item_strfunc.cc
+ /bin/ln -s ./../sql/item_strfunc.cc ./item_strfunc.cc
+ rm -f ./item_sum.cc
+ /bin/ln -s ./../sql/item_sum.cc ./item_sum.cc
+ rm -f ./item_timefunc.cc
+ /bin/ln -s ./../sql/item_timefunc.cc ./item_timefunc.cc
+ rm -f ./item_uniq.cc
+ /bin/ln -s ./../sql/item_uniq.cc ./item_uniq.cc
+ rm -f ./key.cc
+ /bin/ln -s ./../sql/key.cc ./key.cc
+ rm -f ./lock.cc
+ /bin/ln -s ./../sql/lock.cc ./lock.cc
+ rm -f ./log.cc
+ /bin/ln -s ./../sql/log.cc ./log.cc
+ rm -f ./log_event.cc
+ /bin/ln -s ./../sql/log_event.cc ./log_event.cc
+ rm -f ./mf_iocache.cc
+ /bin/ln -s ./../sql/mf_iocache.cc ./mf_iocache.cc
+ rm -f ./mini_client.cc
+ /bin/ln -s ./../sql/mini_client.cc ./mini_client.cc
+ rm -f ./net_pkg.cc
+ /bin/ln -s ./../sql/net_pkg.cc ./net_pkg.cc
+ rm -f ./net_serv.cc
+ /bin/ln -s ./../sql/net_serv.cc ./net_serv.cc
+ rm -f ./opt_ft.cc
+ /bin/ln -s ./../sql/opt_ft.cc ./opt_ft.cc
+ rm -f ./opt_range.cc
+ /bin/ln -s ./../sql/opt_range.cc ./opt_range.cc
+ rm -f ./opt_sum.cc
+ /bin/ln -s ./../sql/opt_sum.cc ./opt_sum.cc
+ rm -f ./procedure.cc
+ /bin/ln -s ./../sql/procedure.cc ./procedure.cc
+ rm -f ./records.cc
+ /bin/ln -s ./../sql/records.cc ./records.cc
+ rm -f ./sql_acl.cc
+ /bin/ln -s ./../sql/sql_acl.cc ./sql_acl.cc
+ rm -f ./repl_failsafe.cc
+ /bin/ln -s ./../sql/repl_failsafe.cc ./repl_failsafe.cc
+ rm -f ./slave.cc
+ /bin/ln -s ./../sql/slave.cc ./slave.cc
+ rm -f ./sql_load.cc
+ /bin/ln -s ./../sql/sql_load.cc ./sql_load.cc
+ rm -f ./sql_olap.cc
+ /bin/ln -s ./../sql/sql_olap.cc ./sql_olap.cc
+ rm -f ./sql_analyse.cc
+ /bin/ln -s ./../sql/sql_analyse.cc ./sql_analyse.cc
+ rm -f ./sql_base.cc
+ /bin/ln -s ./../sql/sql_base.cc ./sql_base.cc
+ rm -f ./sql_cache.cc
+ /bin/ln -s ./../sql/sql_cache.cc ./sql_cache.cc
+ rm -f ./sql_class.cc
+ /bin/ln -s ./../sql/sql_class.cc ./sql_class.cc
+ rm -f ./sql_crypt.cc
+ /bin/ln -s ./../sql/sql_crypt.cc ./sql_crypt.cc
+ rm -f ./sql_db.cc
+ /bin/ln -s ./../sql/sql_db.cc ./sql_db.cc
+ rm -f ./sql_delete.cc
+ /bin/ln -s ./../sql/sql_delete.cc ./sql_delete.cc
+ rm -f ./sql_insert.cc
+ /bin/ln -s ./../sql/sql_insert.cc ./sql_insert.cc
+ rm -f ./sql_lex.cc
+ /bin/ln -s ./../sql/sql_lex.cc ./sql_lex.cc
+ rm -f ./sql_list.cc
+ /bin/ln -s ./../sql/sql_list.cc ./sql_list.cc
+ rm -f ./sql_manager.cc
+ /bin/ln -s ./../sql/sql_manager.cc ./sql_manager.cc
+ rm -f ./sql_map.cc
+ /bin/ln -s ./../sql/sql_map.cc ./sql_map.cc
+ rm -f ./set_var.cc
+ /bin/ln -s ./../sql/set_var.cc ./set_var.cc
+ rm -f ./sql_parse.cc
+ /bin/ln -s ./../sql/sql_parse.cc ./sql_parse.cc
+ rm -f ./sql_rename.cc
+ /bin/ln -s ./../sql/sql_rename.cc ./sql_rename.cc
+ rm -f ./sql_repl.cc
+ /bin/ln -s ./../sql/sql_repl.cc ./sql_repl.cc
+ rm -f ./sql_select.cc
+ /bin/ln -s ./../sql/sql_select.cc ./sql_select.cc
+ rm -f ./sql_do.cc
+ /bin/ln -s ./../sql/sql_do.cc ./sql_do.cc
+ rm -f ./sql_show.cc
+ /bin/ln -s ./../sql/sql_show.cc ./sql_show.cc
+ rm -f ./sql_string.cc
+ /bin/ln -s ./../sql/sql_string.cc ./sql_string.cc
+ rm -f ./sql_table.cc
+ /bin/ln -s ./../sql/sql_table.cc ./sql_table.cc
+ rm -f ./sql_test.cc
+ /bin/ln -s ./../sql/sql_test.cc ./sql_test.cc
+ rm -f ./sql_udf.cc
+ /bin/ln -s ./../sql/sql_udf.cc ./sql_udf.cc
+ rm -f ./sql_update.cc
+ /bin/ln -s ./../sql/sql_update.cc ./sql_update.cc
+ rm -f ./sql_yacc.cc
+ /bin/ln -s ./../sql/sql_yacc.cc ./sql_yacc.cc
+ rm -f ./table.cc
+ /bin/ln -s ./../sql/table.cc ./table.cc
+ rm -f ./thr_malloc.cc
+ /bin/ln -s ./../sql/thr_malloc.cc ./thr_malloc.cc
+ rm -f ./time.cc
+ /bin/ln -s ./../sql/time.cc ./time.cc
+ rm -f ./unireg.cc
+ /bin/ln -s ./../sql/unireg.cc ./unireg.cc
+ rm -f ./uniques.cc
+ /bin/ln -s ./../sql/uniques.cc ./uniques.cc
+ rm -f ./stacktrace.c
+ /bin/ln -s ./../sql/stacktrace.c ./stacktrace.c
+ rm -f ./sql_union.cc
+ /bin/ln -s ./../sql/sql_union.cc ./sql_union.cc
+ rm -f ./hash_filo.cc
+ /bin/ln -s ./../sql/hash_filo.cc ./hash_filo.cc
+ rm -f ./errmsg.c
+ /bin/ln -s ./../libmysql/errmsg.c ./errmsg.c
+ rm -f ./get_password.c
+ /bin/ln -s ./../libmysql/get_password.c ./get_password.c
../mysys/libmysys.a(my_tempnam.o)(.text+0x50): In function `my_tempnam':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/my_tempnam.c:128: the use of `tempnam' is dangerous, better use `mkstemp'
../mysys/libmysys.a(my_tempnam.o)(.text+0x50): In function `my_tempnam':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/my_tempnam.c:128: the use of `tempnam' is dangerous, better use `mkstemp'
../mysys/libmysys.a(raid.o)(.text+0x95): In function `my_raid_create':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:119: undefined reference to `operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x11f):/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:130: undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o)(.text+0x175): In function `my_raid_open':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:141: undefined reference to `operator new(unsigned)'
../mysys/libmysys.a(raid.o)(.text+0x1fc):/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:152: undefined reference to `operator delete(void*)'
../mysys/libmysys.a(raid.o)(.text+0x715): In function `my_raid_close':
/usr/src/redhat/BUILD/mysql-4.0.13/mysys/raid.cc:277: undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
make[2]: *** [isamchk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.45096 (%build)
    Bad exit status from /var/tmp/rpm-tmp.45096 (%build)
回复

使用道具 举报

发表于 2003-6-14 13:39:03 | 显示全部楼层
……
这回我看不出来错误在哪里了,似乎和raid支持有关?
回复

使用道具 举报

 楼主| 发表于 2003-6-15 19:38:53 | 显示全部楼层
mysql-4.0.13/mysys/raid.cc:119: undefined reference to `operator new(unsigned)'
mysql-4.0.13/mysys/raid.cc:130: undefined reference to `operator delete(void*)'
mysql-4.0.13/mysys/raid.cc:141: undefined reference to `operator new(unsigned)'
mysql-4.0.13/mysys/raid.cc:152: undefined reference to `operator delete(void*)'
mysql-4.0.13/mysys/raid.cc:277: undefined reference to `operator delete(void*)'

问题应该出在那个该死的 raid.cc !
回复

使用道具 举报

 楼主| 发表于 2003-6-15 20:17:20 | 显示全部楼层
已经报告 BUG 了。
回复

使用道具 举报

 楼主| 发表于 2003-6-16 22:44:20 | 显示全部楼层
果然是 BUG!!!不知何时修正,发布新版。我不会修改 spec 文件,然后重新打包。

Hi,

On Mon, 16 Jun 2003, liu jack wrote:

> 1.It require a user "mysqldev"!

Why do you think this is necessary? The MySQL RPM can be rebuilt by any
user. It's just our binary RPMs that are built using a "mysqldev" build
account. However, the file ownerships are being set correctly when the
binary RPMs are being installed.

> 2.There must be a BUG in "raid.cc". Just like these:
> mysql-4.0.13/mysys/raid.cc:119: undefined reference to `operator
> new(unsigned)'
> mysql-4.0.13/mysys/raid.cc:130: undefined reference to `operator
> delete(void*)'
> mysql-4.0.13/mysys/raid.cc:141: undefined reference to `operator
> new(unsigned)'
> mysql-4.0.13/mysys/raid.cc:152: undefined reference to `operator
> delete(void*)'
> mysql-4.0.13/mysys/raid.cc:277: undefined reference to `operator
> delete(void*)'
>
> 3.The same Problem (cannot be rebuilded) can occur on
> MySQL-4.0.12-0.src.rpm. Some people told me that they encountered such a
> BUG too!

This is a bug in the RPM spec file when using GCCv3 and compiling with
RAID. We've already fixed this in our BK tree:

# Build the 4.0 Max binary (includes BDB and UDFs and therefore
# cannot be linked statically against the patched glibc)

[SNIP]
- --- a/support-files/mysql.spec.sh       Mon Jun 16 14:14:19 2003
+++ b/support-files/mysql.spec.sh       Mon Jun 16 14:14:19 2003
@@ -254,6 +254,13 @@
+# If we want to compile with RAID using gcc 3, we need to use
+# gcc instead of g++ to avoid linking problems (RAID code is written in C++)
+if gcc -v 2>&1 | grep 'version 3' > /dev/null 2>&1
+then
+       export CXX="gcc"
+fi
+
BuildMySQL "--enable-shared \
                --with-berkeley-db \
                --with-innodb \
[SNIP]

Alternatively, simple remove the "--with-raid" from the configure line in
the spec file - most people don't need RAID anyway.

Bye,
        LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /      Mr. Lenz Grimmer <[email protected]>
/ /|_/ / // /\ \/ /_/ / /__     MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/     Hamburg, Germany
       <___/   www.mysql.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-1-9 10:33 , Processed in 0.069385 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表