Description:
Same problem with 32 and 64 bit build
13703: xlC_r -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/data\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../zlib -I../innobase/include -I../ndb/include -I../ndb/include/ndbapi -I../include -I../regex -I. -I../include -O3 -DDBUG_OFF -q64 -ma -O2 -qstrict -qoptimize=2 -qmaxmem=8192 -c -o sql_lex.o sql_lex.cc
13704: "/usr/include/alloca.h", line 34.9: 1540-1401 (I) An unknown "pragma __alloca" is specified.
13705: "lex_hash.h", line 6476.7: 1540-0040 (S) The text "unsigned" is unexpected. "tatic" may be undeclared or ambiguous.
13706: "lex_hash.h", line 6477.7: 1540-0040 (S) The text "unsigned" is unexpected. "tatic" may be undeclared or ambiguous.
13707: "mysql_priv.h", line 937.36: 1540-1281 (W) "offsetof" cannot be applied to "struct st_table_list". It is not a POD (plain old data) type.
13708: "mysql_priv.h", line 945.36: 1540-1281 (W) "offsetof" cannot be applied to "struct st_table_list". It is not a POD (plain old data) type.
13709: "lex_hash.h", line 6485.13: 1540-0274 (S) The name lookup for "sql_functions_max_len" did not find a declaration.
13710: "lex_hash.h", line 6516.13: 1540-0274 (S) The name lookup for "symbols_max_len" did not find a declaration.
13711: make[4]: *** [sql_lex.o] Error 1
13712: make[4]: Leaving directory `/home/mysqldev/aix52-64bit/mysql-5.0.6-beta/sql'
13713: make[3]: *** [all-recursive] Error 1
13714: make[3]: Leaving directory `/home/mysqldev/aix52-64bit/mysql-5.0.6-beta/sql'
13715: make[2]: *** [all] Error 2
13716: make[2]: Leaving directory `/home/mysqldev/aix52-64bit/mysql-5.0.6-beta/sql'
13717: make[1]: *** [all-recursive] Error 1
13718: make[1]: Leaving directory `/home/mysqldev/aix52-64bit/mysql-5.0.6-beta'
13719: make: *** [all] Error 2
13720:
13721: error: Couldn't execute command, error: 2
13722: 2005-05-19 08:11:55 ABORT compile + link
How to repeat:
Compile 5.0.6-pre on AIX 5.2