Error on Compiling MySQL for AIX 4.1.4 - please help

Error on Compiling MySQL for AIX 4.1.4 - please help

Post by John L. Stei » Wed, 11 Jun 1997 04:00:00



Upon attempting to install MySQL version 3.20.20 I got the following error message.
My system is AIX 4.1.4 r6-6000.
Does anyone have any clues?

Thanks
-js

make[2]: Entering directory `/w/staff.3/cs/stein/risc/MySQL/mysql-3.20.20/FAQs'
/usr/bin/rm -f texi2html texi2html-t
/usr/bin/sed \

/usr/bin/chmod +x texi2html-t
/usr/bin/mv texi2html-t texi2html
make[2]: Leaving directory `/w/staff.3/cs/stein/risc/MySQL/mysql-3.20.20/FAQs'
making all in readline
make[2]: Entering directory `/w/staff.3/cs/stein/risc/MySQL/mysql-3.20.20/readline'
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./.. -I..  -O3 -DDBUG_OFF readline.c
In file included from /usr/include/sys/lockl.h:24,
                 from /usr/include/sys/cred.h:30,
                 from /usr/include/sys/stream.h:25,
                 from rldefs.h:49,
                 from readline.c:55:
/usr/include/sys/lock_def.h:226: parse error before `simple_lock_try'
/usr/include/sys/lock_def.h:226: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:234: parse error before `boolean_t'
/usr/include/sys/lock_def.h:240: parse error before `lock_read_to_write'
/usr/include/sys/lock_def.h:240: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:244: parse error before `lock_try_write'
/usr/include/sys/lock_def.h:244: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:245: parse error before `lock_try_read'
/usr/include/sys/lock_def.h:245: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:246: parse error before `lock_try_read_to_write'
/usr/include/sys/lock_def.h:246: warning: data definition has no type or storage class
/usr/include/sys/lock_def.h:256: parse error before `lockl_mine'
/usr/include/sys/lock_def.h:256: warning: data definition has no type or storage class
In file included from rldefs.h:49,
                 from readline.c:55:
/usr/include/sys/stream.h:406: warning: `struct uio' declared inside parameter list
/usr/include/sys/stream.h:406: warning: its scope is only this definition or declaration,
/usr/include/sys/stream.h:406: warning: which is probably not what you want.
/usr/include/sys/stream.h:407: warning: `struct uio' declared inside parameter list
make[2]: *** [readline.o] Error 1
make[2]: Leaving directory `/w/staff.3/cs/stein/risc/MySQL/mysql-3.20.20/readline'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/w/staff.3/cs/stein/risc/MySQL/mysql-3.20.20'
make: *** [all-recursive-hack] Error 1
{leconte} 29>