Hi, When I install mysql that occur something error on solaris. attachments for you reference: Hardware Spec. Generic_105181-19 sun4u sparc SUNW,Ultra-60 CPU: 450Mhz *2 RAM: Memory: 2048M H.D: 18G *2 Soft Spc. SunOS i2dev 5.6 Mysql 3.23.41 error message as below: -------------------------------------------- /bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T -o mysqlbind gcc -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T -o mysqlbinlog mysqlbinlog.o mini_client.o netd Undefined first referenced symbol in file __cxa_pure_virtual mysqlbinlog.o ld: fatal: Symbol referencing errors. No output written to mysqlbinlog collect2: ld returned 1 exit status make[3]: *** [mysqlbinlog] Error 1 make[3]: Leaving directory `/tmp/mysql-3.23.41/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/mysql-3.23.41/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mysql-3.23.41' make: *** [all-recursive-am] Error 2 -------------------------------------------------- Regards, Aru August 15
loading cache ./config.cache checking host system type... sparc-sun-solaris2.6 checking target system type... sparc-sun-solaris2.6 checking build system type... sparc-sun-solaris2.6 checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... (cached) gawk checking for gcc... (cached) gcc checking whether the C compiler (gcc -O3 ) works... yes checking whether the C compiler (gcc -O3 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) gcc checking whether the C++ compiler (gcc -O3 -felide-constructors -fno-exceptions -fno-rtti ) works... yes checking whether the C++ compiler (gcc -O3 -felide-constructors -fno-exceptions -fno-rtti ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.6 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for bison... (cached) bison -y checking for pdftex... no checking return type of sprintf... int checking for uname... (cached) /usr/bin/uname checking operating system... (cached) SunOS checking if we should use skip-locking as default for solaris2.6... no checking for ln... (cached) /usr/bin/ln checking for ln... (cached) /usr/bin/ln checking for mv... (cached) /usr/bin/mv checking for rm... (cached) /usr/bin/rm checking for cp... (cached) /usr/bin/cp checking for sed... (cached) /usr/bin/sed checking for cmp... (cached) /usr/bin/cmp checking for chmod... (cached) /usr/bin/chmod checking for hostname... (cached) /usr/bin/hostname checking for perl... (cached) /usr/bin/perl checking for ps... (cached) /usr/bin/ps checking how to check if pid exists... /usr/bin/ps -ef | grep mysqld | grep " $$PID " > /dev/null checking for kill... (cached) /usr/bin/kill checking for kill switches... /usr/bin/kill -0 $$PID > /dev/null 2> /dev/null checking for gcc option to accept ANSI C... (cached) checking whether to use RAID... no checking for getconf... (cached) getconf checking for CFLAGS value to request large file support... (cached) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for LDFLAGS value to request large file support... (cached) checking for LIBS value to request large file support... (cached) checking for _FILE_OFFSET_BITS... (cached) 64 checking for _LARGEFILE_SOURCE... (cached) 1 checking for _LARGE_FILES... (cached) no checking for ANSI C header files... (cached) yes checking for size_t... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for float.h... (cached) yes checking for floatingpoint.h... (cached) yes checking for ieeefp.h... (cached) yes checking for limits.h... (cached) yes checking for memory.h... (cached) yes checking for pwd.h... (cached) yes checking for select.h... (cached) no checking for stdlib.h... (cached) yes checking for stddef.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for synch.h... (cached) yes checking for sys/mman.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for sys/timeb.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/un.h... (cached) yes checking for sys/vadvise.h... (cached) no checking for sys/wait.h... (cached) yes checking for term.h... (cached) yes checking for unistd.h... (cached) yes checking for utime.h... (cached) yes checking for sys/utime.h... (cached) yes checking for termio.h... (cached) yes checking for termios.h... (cached) yes checking for sched.h... (cached) yes checking for crypt.h... (cached) yes checking for alloca.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for floor in -lm... (cached) yes checking for gethostbyname_r... (cached) no checking for gethostbyname_r in -lnsl_r... (cached) no checking for gethostbyname_r in -lnsl... (cached) yes checking for setsockopt... (cached) no checking for setsockopt in -lsocket... (cached) yes checking for yp_get_default_domain... (cached) yes checking for p2open... (cached) no checking for p2open in -lgen... (cached) yes checking for bind... (cached) yes checking for crypt in -lcrypt... (cached) yes checking for crypt... (cached) yes checking if libz with compress... (cached) no checking for int8... no checking LinuxThreads... Not found checking DEC threads... no checking DEC 3.2 threads... no checking SCO threads... no checking SCO UnixWare7 native threads... no checking Siemens threads... no checking Solaris threads... yes checking named thread libs:... -lpthread -lthread checking for strtok_r in -lpthread... (cached) yes checking for strtok_r... (cached) yes checking for dlopen in -ldl... (cached) yes checking for restartable system calls... (cached) no checking need of special linking flags... none checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for st_rdev in struct stat... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking size of char... (cached) 1 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking size of off_t... (cached) 8 checking whether byte ordering is bigendian... (cached) yes checking base type of last arg to accept... (cached) int checking stack direction for C alloca... (cached) -1 checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking if struct timespec has a ts_sec member... (cached) no checking if we have tzname variable... (cached) yes checking for type ulong... (cached) yes checking for type uchar... (cached) no checking for type uint... (cached) yes checking for type fp_except... (cached) yes checking if gcc supports bool types... (cached) yes checking if conversion of longlong to float works... (cached) yes checking if pthread_yield takes zero arguments... (cached) yeso checking if pthread_yield takes 1 argument... (cached) no checking for varargs.h... (cached) yes checking for stdarg.h... (cached) yes checking for dirent.h... (cached) yes checking for locale.h... (cached) yes checking for ndir.h... (cached) no checking for sys/dir.h... (cached) no checking for sys/file.h... (cached) yes checking for sys/ndir.h... (cached) no checking for sys/ptem.h... (cached) yes checking for sys/pte.h... (cached) no checking for sys/select.h... (cached) yes checking for sys/stream.h... (cached) yes checking for sys/mman.h... (cached) yes checking for curses.h... (cached) yes checking for termcap.h... (cached) no checking for termio.h... (cached) yes checking for termbits.h... (cached) no checking for asm/termbits.h... (cached) no checking for grp.h... (cached) yes checking for paths.h... (cached) no checking for lstat... (cached) yes checking for putenv... (cached) yes checking for select... (cached) yes checking for setenv... (cached) no checking for setlocale... (cached) yes checking for strcoll... (cached) yes checking for tcgetattr... (cached) yes checking whether stat file-mode macros are broken... (cached) no checking return type of signal handlers... (cached) void checking for type of signal functions... (cached) posix checking whether programs are able to redeclare getpw functions... (cached) yes checking for TIOCGWINSZ in sys/ioctl.h... (cached) no checking for FIONREAD in sys/ioctl.h... (cached) no checking for TIOCSTAT in sys/ioctl.h... (cached) no checking if struct dirent has a d_ino member... (cached) yes checking whether signal handlers are of type void... (cached) yes (cached) checking for termcap functions library... -lcurses checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking return type of signal handlers... (cached) void checking return type of qsort... (cached) void checking whether utime accepts a null argument... (cached) yes checking for vprintf... (cached) yes checking for alarm... (cached) yes checking for bmove... (cached) no checking for chsize... (cached) no checking for ftruncate... (cached) yes checking for rint... (cached) yes checking for finite... (cached) yes checking for fpsetmask... (cached) yes checking for fpresetsticky... (cached) no checking for cuserid... (cached) yes checking for fcntl... (cached) yes checking for fconvert... (cached) yes checking for poll... (cached) yes checking for getrusage... (cached) yes checking for getpwuid... (cached) yes checking for getcwd... (cached) yes checking for getrlimit... (cached) yes checking for getwd... (cached) yes checking for index... (cached) yes checking for stpcpy... (cached) no checking for locking... (cached) no checking for longjmp... (cached) yes checking for perror... (cached) yes checking for pread... (cached) yes checking for realpath... (cached) yes checking for readlink... (cached) yes checking for rename... (cached) yes checking for socket... (cached) yes checking for strnlen... (cached) no checking for madvise... (cached) yes checking for mkstemp... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for strtoull... (cached) yes checking for snprintf... (cached) yes checking for tempnam... (cached) yes checking for thr_setconcurrency... (cached) yes checking for gethostbyaddr_r... (cached) yes checking for gethostbyname_r... (cached) no checking for getpwnam... (cached) yes checking for bfill... (cached) no checking for bzero... (cached) yes checking for bcmp... (cached) yes checking for strstr... (cached) yes checking for strpbrk... (cached) yes checking for strerror... (cached) yes checking for tell... (cached) yes checking for atod... (cached) no checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for setupterm... (cached) no checking for strcasecmp... (cached) yes checking for sighold... (cached) yes checking for vidattr... (cached) no checking for lrand48... (cached) yes checking for localtime_r... (cached) yes checking for sigset... (cached) yes checking for sigthreadmask... (cached) no checking for pthread_sigmask... (cached) yes checking for pthread_setprio... (cached) no checking for pthread_setprio_np... (cached) no checking for pthread_setschedparam... (cached) yes checking for pthread_attr_setprio... (cached) no checking for pthread_attr_setschedparam... (cached) yes checking for pthread_attr_create... (cached) no checking for pthread_getsequence_np... (cached) no checking for pthread_attr_setstacksize... (cached) yes checking for pthread_condattr_create... (cached) no checking for rwlock_init... (cached) yes checking for pthread_rwlock_rdlock... (cached) no checking for fchmod... (cached) yes checking for getpass... (cached) yes checking for getpassphrase... (cached) yes checking for initgroups... (cached) yes checking for mlockall... (cached) yes checking for fseeko... (cached) yes checking for dlopen... (cached) yes checking for dlerror... (cached) yes checking style of gethost* routines... (cached) solaris checking style of gethostname_r routines... (cached) other checking 3 argument to gethostname_r routines... (cached) char checking args to pthread_getspecific... (cached) POSIX checking args to pthread_mutex_init... (cached) POSIX checking args to readdir_r... (cached) POSIX checking style of sigwait... (cached) POSIX checking for pthread_attr_setscope... (cached) yes checking can netinet files be included... yes checking character sets... default: latin1; compiled in: latin1 checking for BerkeleyDB... no Not using Berkeley DB checking for Innodb... Not using Innodb checking for Gemini DB... Not using Gemini DB creating ./config.status creating Makefile creating extra/Makefile creating mysys/Makefile creating isam/Makefile creating strings/Makefile creating regex/Makefile creating heap/Makefile creating bdb/Makefile creating myisam/Makefile creating myisammrg/Makefile creating man/Makefile creating readline/Makefile creating libmysql_r/Makefile creating libmysql/Makefile creating client/Makefile creating sql/Makefile creating sql/share/Makefile creating merge/Makefile creating dbug/Makefile creating scripts/Makefile creating include/Makefile creating sql-bench/Makefile creating tests/Makefile creating Docs/Makefile creating support-files/Makefile creating mysql-test/Makefile creating include/mysql_version.h creating config.h config.h is unchanged MySQL has a Web site at http://www.mysql.com/ which carries details on the latest release, upcoming features, and other information to make your work or play with MySQL more productive. There you can also find information about mailing lists for MySQL discussion. Remember to check the platform specific part in the reference manual for hints about installing on your platfrom. See the Docs directory. Thank you for choosing MySQL!
$ make make all-recursive make[1]: Entering directory `/tmp/mysql-3.23.41' Making all in include make[2]: Entering directory `/tmp/mysql-3.23.41/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/include' Making all in Docs make[2]: Entering directory `/tmp/mysql-3.23.41/Docs' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/Docs' Making all in readline make[2]: Entering directory `/tmp/mysql-3.23.41/readline' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/readline' Making all in libmysql make[2]: Entering directory `/tmp/mysql-3.23.41/libmysql' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/libmysql' Making all in client make[2]: Entering directory `/tmp/mysql-3.23.41/client' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/client' Making all in strings make[2]: Entering directory `/tmp/mysql-3.23.41/strings' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/strings' Making all in dbug make[2]: Entering directory `/tmp/mysql-3.23.41/dbug' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/dbug' Making all in mysys make[2]: Entering directory `/tmp/mysql-3.23.41/mysys' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/mysys' Making all in extra make[2]: Entering directory `/tmp/mysql-3.23.41/extra' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/extra' Making all in regex make[2]: Entering directory `/tmp/mysql-3.23.41/regex' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/regex' Making all in isam make[2]: Entering directory `/tmp/mysql-3.23.41/isam' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/isam' Making all in merge make[2]: Entering directory `/tmp/mysql-3.23.41/merge' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/merge' Making all in myisam make[2]: Entering directory `/tmp/mysql-3.23.41/myisam' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/myisam' Making all in myisammrg make[2]: Entering directory `/tmp/mysql-3.23.41/myisammrg' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/myisammrg' Making all in heap make[2]: Entering directory `/tmp/mysql-3.23.41/heap' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mysql-3.23.41/heap' Making all in sql make[2]: Entering directory `/tmp/mysql-3.23.41/sql' Making all in share make[3]: Entering directory `/tmp/mysql-3.23.41/sql/share' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/mysql-3.23.41/sql/share' make[3]: Entering directory `/tmp/mysql-3.23.41/sql' /bin/sh ../libtool --mode=link gcc -g -O -DSAFE_MUTEX -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates d gcc -g -O -DSAFE_MUTEX -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_d Undefined first referenced symbol in file __cxa_pure_virtual mysqlbinlog.o ld: fatal: Symbol referencing errors. No output written to mysqlbinlog collect2: ld returned 1 exit status make[3]: *** [mysqlbinlog] Error 1 make[3]: Leaving directory `/tmp/mysql-3.23.41/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/mysql-3.23.41/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mysql-3.23.41' make: *** [all-recursive-am] Error 2
--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php