[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(mgp-users 00292) Compilation trouble on DEC alpha



Hello everybody.

I try to compile magicpoint -1.07a on a Digital alpha (OSF1 V4.0 878
alpha) and I got the following errors:

-----------------------------
> make
rm -f scanner.o
cc  -c -O2 -std1    -I/usr/include  -DLONG_BIT=64  -DNO_MESSAGE_CATALOG      -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_VARARGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_MEMCMP=1  -DMGPLIBDIR=\"/usr/lib/X11/mgp\" -DUUDECODE=\" scanner.c
cc: Error: ./scanner.l, line 62: Missing ";".
static inline int xdtoi __P((int));
--------------^
cc: Error: ./scanner.l, line 196: Invalid declarator.
yywrap()
^
cc: Error: ./scanner.l, line 226: Declaration has no type or storage class.
        sign = 1;
----------------^
cc: Error: ./scanner.l, line 227: Invalid declarator.
        if (*s == '0') {
--------^
-----------------------------

Does anyone know what is the problem ?
Thanks in advance for any answer.

Regards.