I am hitting a problem compiling mysql on aix 4.3

configure works ok and picks the CC compiler.  However the compile fails
as shown in the attachment.

Even following the advise under the IBM - AIX section of the
doccumentation and setting the following
enviromental variables gives the same result.  Can anyone assist?  Any
help will be much appreciated.
variables
-----------

export CC="xlc_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192 "
export CXX="xlC_r -ma -O3 -qstrict -qoptimize=3 -qmaxmem=8192"
export CFLAGS="-I /usr/local/include"
export LDFLAGS="-L /usr/local/lib"
export CPPFLAGS=$CFLAGS
export CXXFLAGS=$CFLAGS





TIA


Making all in pstack
Making all in aout
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in libmysql
        source='libmysql.c' object='libmysql.lo' libtool=yes  
depfile='.deps/libmysql.Plo' tmpdepfile='.deps/libmysql.TPlo'  depmode=aix /bin/sh 
../depcomp  /bin/sh ../libtool --mode=compile cc -qlanglvl=ansi 
-DDEFAULT_CHARSET_HOME="\"/nfs/s2.c1/php/mysql/production\""  
-DDATADIR="\"/nfs/s2.c1/php/mysql/production/var\""  
-DSHAREDIR="\"/nfs/s2.c1/php/mysql/production/share/mysql\"" -DUNDEF_THREADS_HACK 
-DDONT_USE_RAID
-DMYSQL_CLIENT -I. -I. -I..  -I./../include -I../include  -I./.. -I.. -I..     -O 
-DDBUG_OFF   -Wa,-many -DUNDEF_HAVE_INITGROUPS -DSIGNALS_DONT_BREAK_READ -c -o 
libmysql.lo `test -f libmysql.c || echo './'`libmysql.c
cc -qlanglvl=ansi -DDEFAULT_CHARSET_HOME=\"/nfs/s2.c1/php/mysql/production\" 
-DDATADIR=\"/nfs/s2.c1/php/mysql/production/var\" 
-DSHAREDIR=\"/nfs/s2.c1/php/mysql/production/share/mysql\" -DUNDEF_THREADS_HACK 
-DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. 
-I.. -O -DDBUG_OFF -Wa,-many -DUNDEF_HAVE_INITGROUPS -DSIGNALS_DONT_BREAK_READ -c -M 
libmysql.c  -DPIC -o libmysql.lo
"./../include/violite.h", line 41.1: 1506-166 (S) Definition of function Vio requires 
parentheses.
"./../include/violite.h", line 41.4: 1506-276 (S) Syntax error: possible missing '{'?
"./../include/violite.h", line 198.3: 1506-045 (S) Undeclared identifier 
SSL_TYPE_NOT_SPECIFIED.
"./../include/violite.h", line 199.3: 1506-045 (S) Undeclared identifier SSL_TYPE_NONE.
"./../include/violite.h", line 200.3: 1506-045 (S) Undeclared identifier SSL_TYPE_ANY.
"./../include/violite.h", line 201.3: 1506-045 (S) Undeclared identifier SSL_TYPE_X509.
"./../include/violite.h", line 202.3: 1506-045 (S) Undeclared identifier 
SSL_TYPE_SPECIFIED.
"./../include/violite.h", line 203.1: 1506-277 (S) Syntax error: possible missing ';' 
or ','?
"libmysql.c", line 96.51: 1506-277 (S) Syntax error: possible missing ',' or ')'?
"libmysql.c", line 96.14: 1506-282 (S) The type of the parameters must be specified in 
a prototype.
"libmysql.c", line 127.14: 1506-343 (S) Redeclaration of mysql_thread_end differs from 
previous declaration on line 115 of "libmysql.c".
"libmysql.c", line 127.14: 1506-050 (I) Return type "void" in redeclaration is not 
compatible with the previous return type "int".
"libmysql.c", line 389.3: 1506-045 (S) Undeclared identifier CLIENT_IGNORE_SIGPIPE.
"libmysql.c", line 390.7: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 400.22: 1506-045 (S) Undeclared identifier CR_NET_PACKET_TOO_LARGE.
"libmysql.c", line 497.27: 1506-099 (S) Unexpected argument.
"libmysql.c", line 512.3: 1506-045 (S) Undeclared identifier CLIENT_IGNORE_SIGPIPE.
"libmysql.c", line 513.12: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 539.23: 1506-045 (S) Undeclared identifier CR_NET_PACKET_TOO_LARGE.
"libmysql.c", line 568.35: 1506-099 (S) Unexpected argument.
"libmysql.c", line 569.44: 1506-099 (S) Unexpected argument.
"libmysql.c", line 723.12: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 727.5: 1506-045 (S) Undeclared identifier CLIENT_IGNORE_SIGPIPE.
"libmysql.c", line 728.21: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 730.10: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 760.38: 1506-099 (S) Unexpected argument.
"libmysql.c", line 786.40: 1506-196 (E) Initialization between types "char**" and 
"const char**" is not allowed.
"libmysql.c", line 908.19: 1506-022 (S) "charset_dir" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 909.11: 1506-022 (S) "charset_dir" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 912.19: 1506-022 (S) "charset_name" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 913.11: 1506-022 (S) "charset_name" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 916.34: 1506-045 (S) Undeclared identifier CLIENT_INTERACTIVE.
"libmysql.c", line 928.11: 1506-022 (S) "rpl_probe" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 931.11: 1506-022 (S) "no_master_reads" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 934.11: 1506-022 (S) "rpl_parse" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 937.11: 1506-022 (S) "max_allowed_packet" is not a member of 
"struct st_mysql_options".
"libmysql.c", line 969.5: 1506-022 (S) "org_table" is not a member of "struct 
st_mysql_field".
"libmysql.c", line 984.22: 1506-045 (S) Undeclared identifier NUM_FLAG.
"libmysql.c", line 1020.39: 1506-099 (S) Unexpected argument.
"libmysql.c", line 1056.27: 1506-045 (S) Undeclared identifier CR_MALFORMED_PACKET.
"libmysql.c", line 1144.19: 1506-022 (S) "master" is not a member of "struct st_mysql".
"libmysql.c", line 1146.14: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 1148.3: 1506-022 (S) "last_used_con" is not a member of "struct 
st_mysql".
"libmysql.c", line 1169.26: 1506-022 (S) "last_used_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1170.20: 1506-022 (S) "next_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1172.20: 1506-022 (S) "next_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1177.3: 1506-022 (S) "last_used_con" is not a member of "struct 
st_mysql".
"libmysql.c", line 1177.26: 1506-022 (S) "last_used_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1178.20: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 1189.8: 1506-022 (S) "rpl_parse" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 1194.8: 1506-022 (S) "rpl_parse" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 1200.15: 1506-022 (S) "rpl_parse" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 1206.8: 1506-022 (S) "no_master_reads" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 1211.8: 1506-022 (S) "no_master_reads" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 1217.17: 1506-022 (S) "no_master_reads" is not a member of "struct 
st_mysql_options".
"libmysql.c", line 1254.3: 1506-022 (S) "master" is not a member of "struct st_mysql".
"libmysql.c", line 1273.13: 1506-022 (S) "vio" is not a member of "struct st_net".
"libmysql.c", line 1275.25: 1506-045 (S) Undeclared identifier CR_PROBE_MASTER_CONNECT.
"libmysql.c", line 1282.25: 1506-045 (S) Undeclared identifier CR_PROBE_SLAVE_HOSTS.
"libmysql.c", line 1320.5: 1506-022 (S) "next_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1320.25: 1506-022 (S) "next_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1321.5: 1506-022 (S) "next_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1349.25: 1506-045 (S) Undeclared identifier CR_PROBE_SLAVE_STATUS.
"libmysql.c", line 1366.5: 1506-022 (S) "master" is not a member of "struct st_mysql".
"libmysql.c", line 1391.6: 1506-007 (S) "enum mysql_rpl_type" is undefined.
"libmysql.c", line 1406.16: 1506-045 (S) Undeclared identifier MYSQL_RPL_MASTER.
"libmysql.c", line 1408.39: 1506-045 (S) Undeclared identifier MYSQL_RPL_ADMIN.
"libmysql.c", line 1410.57: 1506-045 (S) Undeclared identifier MYSQL_RPL_SLAVE.
"libmysql.c", line 1441.3: 1506-022 (S) "last_used_con" is not a member of "struct 
st_mysql".
"libmysql.c", line 1441.26: 1506-022 (S) "next_slave" is not a member of "struct 
st_mysql".
"libmysql.c", line 1441.46: 1506-022 (S) "master" is not a member of "struct st_mysql".
"libmysql.c", line 1447.3: 1506-022 (S) "rpl_pivot" is not a member of "struct 
st_mysql".
"libmysql.c", line 1477.6: 1506-343 (S) Redeclaration of mysql_once_init differs from 
previous declaration on line 1431 of "libmysql.c".
"libmysql.c", line 1477.6: 1506-050 (I) Return type "void" in redeclaration is not 
compatible with the previous return type "int".
"libmysql.c", line 1482.22: 1506-045 (S) Undeclared identifier my_init_done.
"libmysql.c", line 1643.3: 1506-045 (S) Undeclared identifier CLIENT_IGNORE_SIGPIPE.
"libmysql.c", line 1644.3: 1506-022 (S) "vio" is not a member of "struct st_net".
"libm
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to