Well, using gcc-3.3_branch and UnixWare 7.1.0, I tried the dev release 4.1.1-alpha off the mysql site to see if I would have better luck....


CC="gcc" CFLAGS="-I/usr/local/include" CXX="gcc" CXXFLAGS="-I/usr/local/include
" ./configure --prefix=/usr/local/mysql --with-innodb --with-berkeley-db=./bdb -
-with-openssl --with-extra-charsets=complex


(tried with and without --thread-safe-client)

UX:make: WARNING: No suffix list.
source='sql_lex.cc' object='sql_lex.o' libtool=no \
depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \
depmode=gcc3 /bin/ksh ../depcomp \
gcc -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT
_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAR
EDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../bdb/b
uild_unix -I../innobase/include -I../include -I../regex -I. -I/usr/local/inclu
de -O3 -DDBUG_OFF -I/usr/local/include -DNO_CPLUSPLUS_ALLOCA -fno-implicit-
templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -c
-o sql_lex.o `test -f sql_lex.cc || echo './'`sql_lex.cc
In file included from mysql_priv.h:347,
from sql_lex.cc:20:
sql_class.h:182: error: non-local function `volatile pthread_mutex_t*
MYSQL_LOG::get_log_lock()' uses anonymous type
/usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h
:680: error: `
typedef volatile struct <anonymous> pthread_mutex_t' does not refer to the
unqualified type, so it is not used for linkage
In file included from mysql_priv.h:347,
from sql_lex.cc:20:
sql_class.h:653: error: non-local function `const char*
THD::enter_cond(volatile pthread_cond_t*, volatile pthread_mutex_t*, const
char*)' uses anonymous type
/usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h
:704: error: `
typedef volatile struct <anonymous> pthread_cond_t' does not refer to the
unqualified type, so it is not used for linkage
In file included from sql_class.h:765,
from mysql_priv.h:347,
from sql_lex.cc:20:
log_event.h:354: error: non-local function `static Log_event*
Log_event::read_log_event(IO_CACHE*, volatile pthread_mutex_t*, bool)' uses
anonymous type
/usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h
:680: error: `
typedef volatile struct <anonymous> pthread_mutex_t' does not refer to the
unqualified type, so it is not used for linkage
log_event.h:356: error: non-local function `static int
Log_event::read_log_event(IO_CACHE*, String*, volatile pthread_mutex_t*)'
uses anonymous type
/usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h
:680: error: `
typedef volatile struct <anonymous> pthread_mutex_t' does not refer to the
unqualified type, so it is not used for linkage
In file included from sql_lex.cc:20:
mysql_priv.h:609: error: non-local function `int mysqld_show(THD*, const char*,


show_var_st*, enum_var_type, volatile pthread_mutex_t*)' uses anonymous type
/usr/local/lib/gcc-lib/i686-unknown-sysv5UnixWare7.1.0/3.3.4/include/ sys/types.h
:680: error: `
typedef volatile struct <anonymous> pthread_mutex_t' does not refer to the
unqualified type, so it is not used for linkage
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to