Look at http://gcc.gnu.org/ml/gcc-bugs/2000-11/msg00293.html
(I don't know anything about this, but that page seems very relevant.)
-S
>
> From: Jason Buchanan <[EMAIL PROTECTED]>
> Date: 2003/06/04 Wed AM 08:22:29 CDT
> To: [EMAIL PROTECTED]
> Subject: URGENT: Problems compiling mysql 3 and 4 on IRIX indy 6.5 IP22 mips
>
>
> hi,
>
> I'm having a hard time getting mysql 4 and mysql 3 to compile on IRIX 6.5...
>
> Does anyone have a solution to this?
>
> Below is an example of compiling mysql 4.0.13 (looks practically
> identical for mysql 3.23.56):
>
>
> g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./..
> -I.. -I.. -O -DDBUG_OFF -D_BOOL -c -o mysql.o `test -f mysql.cc ||
> echo './'`mysql.cc
> In file included from
> /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.3/include/curses.h:5,
> from mysql.cc:54:
> /usr/include/curses.h:112: syntax error before `,'
> /usr/include/curses.h:143: syntax error before `;'
> /usr/include/curses.h:285: `__curses_bool_t' was not declared in this scope
> /usr/include/curses.h:285: warning: `_meta' initialized and declared
> `extern'
> /usr/include/curses.h:301: type specifier omitted for parameter
> /usr/include/curses.h:340: syntax error before `('
> /usr/include/curses.h:388: type specifier omitted for parameter
> /usr/include/curses.h:390: type specifier omitted for parameter
> In file included from
> /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.3/include/curses.h:5,
> from mysql.cc:54:
> /usr/include/curses.h:856: type specifier omitted for parameter
> /usr/include/curses.h:859: type specifier omitted for parameter
> /usr/include/curses.h:860: type specifier omitted for parameter
> /usr/include/curses.h:861: type specifier omitted for parameter
> /usr/include/curses.h:862: type specifier omitted for parameter
> /usr/include/curses.h:863: type specifier omitted for parameter
> /usr/include/curses.h:864: type specifier omitted for parameter
> /usr/include/curses.h:1015: type specifier omitted for parameter
> make[2]: *** [mysql.o] Error 1
> make[2]: Leaving directory `/usr/people/jsb/mysql-4.0.13/client'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/people/jsb/mysql-4.0.13'
> make: *** [all] Error 2
>
>
>
> Thanks,
> Jason
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
>
>
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]