$ uname -a
HP-UX mnemosyn B.11.00 U 9000/800 122901567 unlimited-user license
$ cc -V /tmp/none.c
cpp.ansi: HP92453-01 A.11.01.00 HP C Preprocessor (ANSI)
ccom: HP92453-01 A.11.01.00 HP C Compiler
$ aCC -V
aCC: HP ANSI C++ B3910B A.03.13
$ LDFLAGS="+DA2.0W" CFLAGS="+DA2.0W -D_REENTRANT" CXXFLAGS="+DA2.0W
-D_REENTRANT" CPPFLAGS="-D_REENTRANT" CC=cc CXX=aCC ./configure
--with-pthread --with-named-thread-libs=-lpthread --with-charset=koi8_ru
--with-extra-charsets=cp1251,latin1 --prefix=/usr/local/mysql
--without-debug --disable-shared
$ make
[skip]
Error 19: "mysqld.cc", line 2480 # Unexpected ','.
OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC,
^
*** Error exit code 2
Stop.
*** Error exit code 1
Stop.
Here is the diff which solves this problem
*** mysqld.cc.orig Tue May 8 15:43:23 2001
--- mysqld.cc Tue May 8 15:43:33 2001
***************
*** 2477,2483 ****
OPT_GEMINI_SKIP, OPT_INNODB_SKIP,
OPT_TEMP_POOL, OPT_TX_ISOLATION,
OPT_GEMINI_FLUSH_LOG, OPT_GEMINI_RECOVER,
! OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC,
};
static struct option long_options[] = {
--- 2477,2483 ----
OPT_GEMINI_SKIP, OPT_INNODB_SKIP,
OPT_TEMP_POOL, OPT_TX_ISOLATION,
OPT_GEMINI_FLUSH_LOG, OPT_GEMINI_RECOVER,
! OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC
};
static struct option long_options[] = {
Regards,
Maxim
---------------------------------------------------------------------
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