List:Bugs« Previous MessageNext Message »
From:sasha Date:August 2 2000 4:40pm
Subject:Re: MySQL-3.23.22 will not compile on UnixWare 7.1.1
View as plain text  
Boyd Lynn Gerber wrote:
> 
> Monty,
> 
> /usr/local/bin/make  all-recursive
> ...
> make[3]: Entering directory `/usr/zenez/build/uw7/mysql-3.23.22-beta/sql'
> /bin/sh ../libtool --mode=link CC -I/usr/local/include -lcudk70 -DNO_CPLUSPLUS_ALLOCA
> -Kthread -DUNIXWARE_7  -O3 -DDBUG_OFF    -o mysqlbinlog  mysqlbinlog.o mini_client.o
> net_serv.o mini_client_errors.o violite.o password.o ../isam/libnisam.a                   
>   ../merge/libmerge.a                     ../myisam/libmyisam.a                  
> ../myisammrg/libmyisammrg.a                     ../heap/libheap.a                      
> ../mysys/libmysys.a                     ../dbug/libdbug.a                      
> ../regex/libregex.a                     ../strings/libmystrings.a  -ldl -lm -lsocket -lnsl
>  -lz -lcrypt -lgen  -Kthread -lsocket -lnsl
> CC -I/usr/local/include -lcudk70 -DNO_CPLUSPLUS_ALLOCA -Kthread -DUNIXWARE_7 -O3
> -DDBUG_OFF -o mysqlbinlog mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o
> violite.o password.o ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a
> ../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a
> ../regex/libregex.a ../strings/libmystrings.a -ldl -lm -lsocket -lnsl -lz -lcrypt -lgen
> -Kthread -lsocket -lnsl
> CC -I/usr/local/include -lcudk70 -DNO_CPLUSPLUS_ALLOCA -Kthread -DUNIXWARE_7
> -DMYSQL_SERVER                     -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""            
>         -DDATADIR="\"/usr/local/mysql/var\""                   
> -DSHAREDIR="\"/usr/local/mysql/share/mysql\""                   -DHAVE_CONFIG_H
> -I'../'db-3.1.14/build_unix -I./../include                      -I./../regex              
>      -I. -I../include -I.. -I.    -O3 -DDBUG_OFF   -c mysqld.cc
> "ha_berkeley.h", line 54: error: duplicate parameter name
>     DBT *pack_key(DBT *key, uint keynr, char *buff, const byte *key,
>                                                                 ^
> 
> "ha_berkeley.h", line 116: warning: qualified name is not allowed in member
> declaration
>     void ha_berkeley::position(byte *record);
>          ^
> 
> "ha_berkeley.h", line 123: warning: qualified name is not allowed in member
> declaration
>     int ha_berkeley::create(const char *name, register TABLE *form,
>         ^
> 
> "ha_berkeley.h", line 125: warning: qualified name is not allowed in member
> declaration
>     int ha_berkeley::delete_table(const char *name);
>         ^
> 
> "mysqld.cc", line 1104: warning: variable "error" was set but never used
>       int error;                                        // Used when debugging
>           ^
> 
> "mysqld.cc", line 1153: warning: statement is unreachable
>     return(0);                                  /* purecov: deadcode */
>     ^
> 
> "mysqld.cc", line 145: warning: variable "flush_thread" was set but never used
>   static pthread_t flush_thread;                        // Used when debugging
>                    ^
> 
> make[3]: *** [mysqld.o] Error 1
> make[3]: Leaving directory `/usr/zenez/build/uw7/mysql-3.23.22-beta/sql'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/zenez/build/uw7/mysql-3.23.22-beta/sql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/zenez/build/uw7/mysql-3.23.22-beta'
> make: *** [all-recursive-am] Error 2

Thanks for reporting the problem. Our compiler was not as pedantic as yours :-)
Just change one occurrence of "key" to "key1" in ha_berkeley.h on line 54 for
now, we will have a more permanent fix later...
 
-- 
Sasha Pachev

+------------------------------------------------------------------+
|      ____  __     _____   _____  ___     http://www.mysql.com    |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sasha Pachev            |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     sasha@stripped         |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Provo, Utah, USA        |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                         |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                        |
|             /*/             \*\ Developers Team                  |
+------------------------------------------------------------------+
Thread
MySQL-3.23.22 will not compile on UnixWare 7.1.1Boyd Lynn Gerber2 Aug
  • Re: MySQL-3.23.22 will not compile on UnixWare 7.1.1sasha2 Aug
  • Re: MySQL-3.23.22 will not run on OpenServer 5.0.XBoyd Lynn Gerber2 Aug
    • Re: MySQL-3.23.22 safe_mysqld error on both OpenServer and UnixWareBoyd Lynn Gerber2 Aug
      • Re: MySQL-3.23.22 safe_mysqld error on both OpenServer and UnixWareThimble Smith2 Aug
        • Re: MySQL-3.23.22 safe_mysqld error on both OpenServer and UnixWareBoyd Lynn Gerber3 Aug
          • Re: MySQL-3.23.22 safe_mysqld error on both OpenServer and UnixWareThimble Smith3 Aug
            • Re: MySQL-3.23.22 safe_mysqld error on both OpenServer and UnixWareBoyd Lynn Gerber3 Aug
  • Re: MySQL-3.23.22 will not compile on UnixWare 7.1.1Thimble Smith2 Aug