A. Brandic writes:
> Hi,
> I'm trying to compile MySql version 3.2.2.21 on a DEC Alpha 800 running
> Digital Unix 4.0e.
>
> I've tried compiling against both DEC cc (version 5.8-009)and gcc (2.8.1)
> both
> of which throw up on the following. Not being a C guru I welcome any
> suggestions on how to fix the problem.....
>
> (Output from 'make')
> ..............................
> Making all in strings
> make[2]: Entering directory `/usr/local/src/MYSql/mysql-3.22.21/strings'
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O6
> -DDBUG_OFF
> -
> c bfill.c
> In file included from
> /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/include
> /pthread.h:333,
> from ../include/global.h:50,
> from bfill.c:15:
>
> /usr/include/c_asm.h:193: parse error before `asm'
> make[2]: *** [bfill.o] Error 1
> make[2]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.21/strings'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/MYSql/mysql-3.22.21'
> make: *** [all-recursive-am] Error 2
>
> thanks in advance,
>
> (as I am not a member of the list at present can any responses be sent
> directly
>
> to me please, with cc's to the list as appropriate - thanks).
>
> regards,
> Ajdin.
>
Dear Adjin,
Please try;
cd mysql-distribution
touch include/c_asm.h
And compile again.
Regards,
Jani
--
+---------------------------------------------------------------------+
| TcX ____ __ _____ _____ ___ == mysql@stripped |
| /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Jani Tolonen |
| /*/ /*/ /*/ \*\_ |*| |*||*| mailto: jani@stripped |
| /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Helsinki |
| /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|_____ Finland |
| ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
| /*/ \*\ Developers Team |
+---------------------------------------------------------------------+