>Description: -- trying to compile source dist 3.23.44 from tarball -- OS: SuSe 7.0 with gcc 2.95.2 -- configure went fine, with the below specified options -- I appended the configure output -- make interrupts with the following error
sql_base.cc: In function `int setup_fields(THD *, TABLE_LIST *, List<Item> &, bool, List<Item> *)': sql_base.cc:1776: parse error at null character sql_base.cc:1783: confused by earlier errors, bailing out make[3]: *** [sql_base.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 >How-To-Repeat: >Fix: >Submitter-Id: jan griebsch [EMAIL PROTECTED] >Originator: root >Organization: PennState University >MySQL support: none >Synopsis: source compilation ends with error in sql_base.cc, gcc 2.95.2 >Severity: non-critical >Priority: medium >Category: mysql >Class: sw-bug >Release: mysql-3.23.44 (Source distribution) >Environment: Athlon 768MB RAM, SuSe 7.0, gcc 2.95.2 System: Linux depcla8 2.2.16 i686 Architecture: i686 Some paths: /usr/local/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs gcc version 2.95.2 19991024 (release) Compilation info: CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti" LIBC: lrwxrwxrwx 1 root root 13 Jun 21 13:55 /lib/libc.so.4 -> libc.so.4.7.6 -rwxr-xr-x 1 root root 634880 Apr 29 1996 /lib/libc.so.4.7.6 -rwxr-xr-x 1 root root 4070406 Jul 30 2000 /lib/libc.so.6 -rw-r--r-- 1 root root 19185232 Jul 30 2000 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Jul 30 2000 /usr/lib/libc.so -rw-r--r-- 1 root root 2032004 Jul 29 2000 /usr/lib/libc-client.a lrwxrwxrwx 1 root root 20 Jun 19 20:46 /usr/lib/libc-client.so -> ./libc-client.so.4.7 -rwxr-xr-x 1 root root 668784 Jul 29 2000 /usr/lib/libc-client.so.4.7 Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charset=complex --with-raid -- configure output: creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... 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... gawk checking for gcc... gcc checking whether the C compiler (gcc -O3 -mpentiumpro ) works... yes checking whether the C compiler (gcc -O3 -mpentiumpro ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... gcc checking whether the C++ compiler (gcc -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti ) works... yes checking whether the C++ compiler (gcc -O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for ld used by GCC... /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... 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/i486-suse-linux/bin/ld) is GNU ld... yes checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking for a BSD compatible install... /usr/bin/ginstall -c checking for bison... bison -y checking for pdftex... no checking return type of sprintf... int checking for uname... /bin/uname checking operating system... Linux checking if we should use skip-locking as default for linux-gnu... yes checking for ln... /bin/ln checking for ln... /bin/ln checking for mv... /bin/mv checking for rm... /bin/rm checking for cp... /bin/cp checking for sed... /usr/bin/sed checking for cmp... /usr/bin/cmp checking for chmod... /bin/chmod checking for hostname... /bin/hostname checking for perl... /usr/local/bin/perl checking for ps... /bin/ps checking how to check if pid exists... /bin/ps p $$PID | grep mysqld > /dev/null checking for kill... /bin/kill checking for kill switches... /bin/kill -0 $$PID > /dev/null 2> /dev/null checking for gcc option to accept ANSI C... checking whether to use RAID... yes checking for getconf... getconf checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=64 checking for LDFLAGS value to request large file support... checking for LIBS value to request large file support... checking for _FILE_OFFSET_BITS... 64 checking for _LARGEFILE_SOURCE... no checking for _LARGE_FILES... no checking for ANSI C header files... yes checking for size_t... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for float.h... yes checking for floatingpoint.h... no checking for ieeefp.h... no checking for limits.h... yes checking for memory.h... yes checking for pwd.h... yes checking for select.h... no checking for stdlib.h... yes checking for stddef.h... yes checking for strings.h... yes checking for string.h... yes checking for synch.h... no checking for sys/mman.h... yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for sys/timeb.h... yes checking for sys/types.h... yes checking for sys/un.h... yes checking for sys/vadvise.h... no checking for sys/wait.h... (cached) yes checking for term.h... yes checking for unistd.h... yes checking for utime.h... yes checking for sys/utime.h... no checking for termio.h... yes checking for termios.h... yes checking for sched.h... yes checking for crypt.h... yes checking for alloca.h... yes checking for sys/ioctl.h... yes checking for floor in -lm... yes checking for gethostbyname_r... yes checking for setsockopt... yes checking for yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes checking for p2open... no checking for p2open in -lgen... no checking for bind... yes checking for crypt in -lcrypt... yes checking for crypt... yes checking if libz with compress... yes checking for atomic operations... atomic_add atomic_sub checking for int8... no checking LinuxThreads... Found checking named thread libs:... -lpthread checking for strtok_r in -lpthread... yes checking for strtok_r... yes checking for dlopen in -ldl... yes checking for restartable system calls... yes checking need of special linking flags... -rdynamic checking for working const... yes checking for inline... inline checking for off_t... yes checking for st_rdev in struct stat... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of char... 1 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of off_t... 8 checking whether byte ordering is bigendian... no checking base type of last arg to accept... socklen_t checking stack direction for C alloca... -1 checking for working alloca.h... (cached) yes checking for alloca... yes checking if struct timespec has a ts_sec member... no checking if we have tzname variable... yes checking for type ulong... yes checking for type uchar... no checking for type uint... yes checking for type fp_except... no checking if gcc supports bool types... yes checking if conversion of longlong to float works... yes checking if pthread_yield takes zero arguments... yeso checking if pthread_yield takes 1 argument... no checking for varargs.h... yes checking for stdarg.h... yes checking for dirent.h... yes checking for locale.h... yes checking for ndir.h... no checking for sys/dir.h... yes checking for sys/file.h... yes checking for sys/ndir.h... no checking for sys/ptem.h... no checking for sys/pte.h... no checking for sys/select.h... yes checking for sys/stream.h... no checking for sys/mman.h... (cached) yes checking for curses.h... yes checking for termcap.h... yes checking for termio.h... (cached) yes checking for termbits.h... no checking for asm/termbits.h... yes checking for grp.h... yes checking for paths.h... yes checking for lstat... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcoll... yes checking for tcgetattr... yes checking whether stat file-mode macros are broken... no checking return type of signal handlers... void checking for type of signal functions... posix checking whether programs are able to redeclare getpw functions... yes checking for TIOCGWINSZ in sys/ioctl.h... yes checking for FIONREAD in sys/ioctl.h... yes checking for TIOCSTAT in sys/ioctl.h... no checking if struct dirent has a d_ino member... yes checking whether signal handlers are of type void... yes checking for tgetent in -lncurses... yes checking for termcap functions library... -lncurses checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... (cached) void checking return type of qsort... void checking whether utime accepts a null argument... yes checking for vprintf... yes checking for alarm... yes checking for bmove... no checking for chsize... no checking for ftruncate... yes checking for rint... yes checking for finite... yes checking for fpsetmask... no checking for fpresetsticky... no checking for cuserid... yes checking for fcntl... yes checking for fconvert... no checking for poll... yes checking for getrusage... yes checking for getpwuid... yes checking for getcwd... yes checking for getrlimit... yes checking for getwd... yes checking for index... yes checking for stpcpy... yes checking for locking... no checking for longjmp... yes checking for perror... yes checking for pread... yes checking for realpath... yes checking for readlink... yes checking for rename... yes checking for socket... yes checking for strnlen... yes checking for madvise... no checking for mkstemp... yes checking for strtol... yes checking for strtoul... yes checking for strtoll... yes checking for strtoull... yes checking for snprintf... yes checking for tempnam... yes checking for thr_setconcurrency... no checking for gethostbyaddr_r... yes checking for gethostbyname_r... (cached) yes checking for getpwnam... yes checking for bfill... no checking for bzero... yes checking for bcmp... yes checking for strstr... yes checking for strpbrk... yes checking for strerror... yes checking for tell... no checking for atod... no checking for memcpy... yes checking for memmove... yes checking for setupterm... no checking for strcasecmp... yes checking for sighold... yes checking for vidattr... no checking for lrand48... yes checking for localtime_r... yes checking for sigset... yes checking for sigthreadmask... no checking for pthread_sigmask... yes checking for pthread_setprio... no checking for pthread_setprio_np... no checking for pthread_setschedparam... yes checking for pthread_attr_setprio... no checking for pthread_attr_setschedparam... yes checking for pthread_attr_create... no checking for pthread_getsequence_np... no checking for pthread_attr_setstacksize... yes checking for pthread_condattr_create... no checking for rwlock_init... no checking for pthread_rwlock_rdlock... yes checking for fchmod... yes checking for getpass... yes checking for getpassphrase... no checking for initgroups... yes checking for mlockall... yes checking for fseeko... yes checking for dlopen... yes checking for dlerror... yes checking style of gethost* routines... other checking style of gethostname_r routines... glibc2 checking 3 argument to gethostname_r routines... char checking args to pthread_getspecific... POSIX checking args to pthread_mutex_init... POSIX checking args to readdir_r... POSIX checking style of sigwait... POSIX checking for pthread_attr_setscope... 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 updating cache ./config.cache 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 .. hope that wasn't too long --------------------------------------------------------------------- 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