>Description:
        I am attempting to compile 3.23.42 for testing the innodb and
        gemini tables.  I'm also going to test the RAID tables.  The 
        configure works fine.  However, when the compiler enters the
        sql directory there is an error in field.cc, this is shown below
        with nice spacing added and the error emphasized.

gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""  
    -DDATADIR="\"/usr/local/mysql/var\"" 
    -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" 
    -DHAVE_CONFIG_H 
    -I../innobase/include -I../gemini/incl -I../gemini -I./../include
    -I./../regex -I. -I../include -I.. -I.    -O3 -DDBUG_OFF -O3 
    -mpentiumpro -felide-constructors -fno-exceptions 
    -fno-rtti -fno-implicit-templates -fno-exceptions 
    -fno-rtti 
    -c field.cc

--> field.cc:4125:34: macro "uint8korr" passed 2 arguments, but takes just 1

make[3]: *** [field.o] Error 1
make[3]: Leaving directory `/home/shane/mysql-3.23.42/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shane/mysql-3.23.42/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shane/mysql-3.23.42'
make: *** [all-recursive-am] Error 2

>How-To-Repeat:
        First, run configure as follows (new-lines added):
        CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3
        -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti"
        ./configure --prefix=/usr/local/mysql --enable-assembler
        --with-mysqld-ldflags=-all-static --disable-shared
        --with-extra-charset=complex
        --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock
        --with-raid --with-gemini --with-innodb

        Then, do a make
>Fix:
       I don't know, probably just make the call to uint8korr in field.cc
       just pass one argument, but since I don't know what was intended
       or what the purpose of the call is, I don't want to go messing
       around.

>Submitter-Id:  Shane
>Originator:    
>Organization:  ICServ
>MySQL support: none
>Synopsis:      Can't compile due to an error in field.cc with uint8korr
>Severity:      serious
>Priority:      medium
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.42 (Source distribution)

>Environment:
        <machine, os, target, libraries (multiple lines)>
System: Linux homer 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)

-- NOTE -- This doesn't match the compiler flags that I used.
Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
LIBC: 
lrwxrwxrwx    1 root     root           13 Sep 12 06:40 /lib/libc.so.6 -> libc-2.2.2.so
-rwxr-xr-x    2 root     root      1236396 Apr  6 15:58 /lib/libc-2.2.2.so
-rw-r--r--    1 root     root     26350254 Apr  6 13:27 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Apr  6 13:27 /usr/lib/libc.so

-- NOTE --  This doesn't match the configure line that I used and doesn't 
correspond with my make file.
Configure command: ./configure  --with-unix-socket-path=/var/tmp/mysql.sock 
--with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client 
--with-berkeley-db --with-innodb

---------------------------------------------------------------------
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

Reply via email to