Howdy, all.
The following error came up when compiling under OS X release.
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I../bdb/build_unix
-I../innobase/include
-I./../include -I./../regex -I.
-I../include -I.. -I. -O3 -DDBUG_OFF -O3 -fomit-frame-pointer
-fno-implicit-templates -traditional-cpp -DHAVE_DARWIN_THREADS
-traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c
ha_innobase.cc
In file included from ../innobase/include/ut0ut.h:13,
from ../innobase/include/univ.i:178,
from ha_innobase.cc:48:
/usr/include/ctype.h:71: warning: `_C' redefined
../include/m_ctype.h:78: warning: this is the location of the previous
definition
/usr/include/ctype.h:74: warning: `_L' redefined
../include/m_ctype.h:74: warning: this is the location of the previous
definition
/usr/include/ctype.h:75: warning: `_P' redefined
../include/m_ctype.h:77: warning: this is the location of the previous
definition
/usr/include/ctype.h:76: warning: `_S' redefined
../include/m_ctype.h:76: warning: this is the location of the previous
definition
/usr/include/ctype.h:77: warning: `_U' redefined
../include/m_ctype.h:73: warning: this is the location of the previous
definition
/usr/include/ctype.h:78: warning: `_X' redefined
../include/m_ctype.h:80: warning: this is the location of the previous
definition
/usr/include/ctype.h:79: warning: `_B' redefined
../include/m_ctype.h:79: warning: this is the location of the previous
definition
/usr/include/ctype.h:85: warning: `isalnum' redefined
../include/m_ctype.h:98: warning: this is the location of the previous
definition
/usr/include/ctype.h:86: warning: `isalpha' redefined
../include/m_ctype.h:93: warning: this is the location of the previous
definition
/usr/include/ctype.h:87: warning: `iscntrl' redefined
../include/m_ctype.h:103: warning: this is the location of the previous
definition
/usr/include/ctype.h:88: warning: `isdigit' redefined
../include/m_ctype.h:96: warning: this is the location of the previous
definition
/usr/include/ctype.h:89: warning: `isgraph' redefined
../include/m_ctype.h:102: warning: this is the location of the previous
definition
/usr/include/ctype.h:90: warning: `islower' redefined
../include/m_ctype.h:95: warning: this is the location of the previous
definition
/usr/include/ctype.h:91: warning: `isprint' redefined
../include/m_ctype.h:101: warning: this is the location of the previous
definition
/usr/include/ctype.h:92: warning: `ispunct' redefined
../include/m_ctype.h:100: warning: this is the location of the previous
definition
/usr/include/ctype.h:93: warning: `isspace' redefined
../include/m_ctype.h:99: warning: this is the location of the previous
definition
/usr/include/ctype.h:94: warning: `isupper' redefined
../include/m_ctype.h:94: warning: this is the location of the previous
definition
/usr/include/ctype.h:95: warning: `isxdigit' redefined
../include/m_ctype.h:97: warning: this is the location of the previous
definition
/usr/include/ctype.h:98: warning: `isascii' redefined
../include/m_ctype.h:104: warning: this is the location of the previous
definition
/usr/include/ctype.h:99: warning: `toascii' redefined
../include/m_ctype.h:105: warning: this is the location of the previous
definition
In file included from ../innobase/include/ut0ut.h:13,
from ../innobase/include/univ.i:178,
from ha_innobase.cc:48:
/usr/include/ctype.h:144: parse error before `char'
/usr/include/ctype.h:151: parse error before `char'
ha_innobase.cc:63: parse error before `}'
make[3]: *** [ha_innobase.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
My configure line was:
CFLAGS="-O3 -fomit-frame-pointer" CXXFLAGS="-O3 -fomit-frame-pointer"
./configure --prefix=/usr/local/mysql --with-extra-charsets=complex
--with-berkeley-db --with-innobase
Scott
-------
[EMAIL PROTECTED] http://www.iceweasel.com/~scott/
"You die, she dies, EVERYbody dies" - Heavy Metal
"When a great many people are unable to find work, unemployment
results" - Calvin Coolidge, attrib. by Stanley Walker, City Editor, p.
131 (1934)
---------------------------------------------------------------------
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