help-hurd
[Top][All Lists]
Advanced

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

Mach 4


From: Charles Barry
Subject: Mach 4
Date: Sun, 15 May 2005 22:03:18 +0100

Hi,
Firstly this problem is about Mach 4 not GNU mach, but i thought they
must be pretty similar and this seems to be the only active mailing
list on Mach. When running make i encounter a problem in mig:
In file included from /home/charles/mach4/mig/lexxer.l:45:
/home/charles/mach4/mig/statement.h:65:8: warning: extra tokens at end
of #endif directive
/home/charles/mach4/mig/lexxer.l:59:7: warning: extra tokens at end of
#else directive
/home/charles/mach4/mig/lexxer.l:61:8: warning: extra tokens at end of
#endif directive
/home/charles/mach4/mig/lexxer.l: In function 'yylex':
/home/charles/mach4/mig/lexxer.l:150: error:
'MACH_MSG_TYPE_POLYMORPHIC' undeclared (first use in  this function)
/home/charles/mach4/mig/lexxer.l:150: error: (Each undeclared
identifier is reported only once
/home/charles/mach4/mig/lexxer.l:150: error: for each function it appears in.)
/home/charles/mach4/mig/lexxer.l:150: error: 'word_size_in_bits'
undeclared (first use in this function)
/home/charles/mach4/mig/lexxer.l:152: error:
'MACH_MSG_TYPE_UNSTRUCTURED' undeclared (first use i n this function)
/home/charles/mach4/mig/lexxer.l:153: error: 'MACH_MSG_TYPE_BIT'
undeclared (first use in this fu nction)
/home/charles/mach4/mig/lexxer.l:154: error: 'MACH_MSG_TYPE_BOOLEAN'
undeclared (first use in thi s function)
/home/charles/mach4/mig/lexxer.l:155: error:
'MACH_MSG_TYPE_INTEGER_16' undeclared (first use in this function)
/home/charles/mach4/mig/lexxer.l:156: error:
'MACH_MSG_TYPE_INTEGER_32' undeclared (first use in this function)
/home/charles/mach4/mig/lexxer.l:157: error:
'MACH_MSG_TYPE_INTEGER_64' undeclared (first use in this function)
/home/charles/mach4/mig/lexxer.l:158: error: 'MACH_MSG_TYPE_CHAR'
undeclared (first use in this f unction)
/home/charles/mach4/mig/lexxer.l:159: error: 'MACH_MSG_TYPE_BYTE'
undeclared (first use in this f unction)
/home/charles/mach4/mig/lexxer.l:160: error: 'MACH_MSG_TYPE_INTEGER_8'
undeclared (first use in t his function)
/home/charles/mach4/mig/lexxer.l:161: error: 'MACH_MSG_TYPE_REAL'
undeclared (first use in this f unction)
/home/charles/mach4/mig/lexxer.l:162: error: 'MACH_MSG_TYPE_STRING'
undeclared (first use in this  function)
/home/charles/mach4/mig/lexxer.l:163: error: 'MACH_MSG_TYPE_STRING_C'
undeclared (first use in th is function)
/home/charles/mach4/mig/lexxer.l:165: error:
'MACH_MSG_TYPE_MOVE_RECEIVE' undeclared (first use i n this function)
/home/charles/mach4/mig/lexxer.l:165: error:
'MACH_MSG_TYPE_PORT_RECEIVE' undeclared (first use i n this function)
/home/charles/mach4/mig/lexxer.l:166: error: 'MACH_MSG_TYPE_COPY_SEND'
undeclared (first use in t his function)
/home/charles/mach4/mig/lexxer.l:166: error: 'MACH_MSG_TYPE_PORT_SEND'
undeclared (first use in t his function)
/home/charles/mach4/mig/lexxer.l:167: error: 'MACH_MSG_TYPE_MAKE_SEND'
undeclared (first use in t his function)
/home/charles/mach4/mig/lexxer.l:168: error: 'MACH_MSG_TYPE_MOVE_SEND'
undeclared (first use in t his function)
/home/charles/mach4/mig/lexxer.l:169: error:
'MACH_MSG_TYPE_MAKE_SEND_ONCE' undeclared (first use  in this
function)
/home/charles/mach4/mig/lexxer.l:169: error:
'MACH_MSG_TYPE_PORT_SEND_ONCE' undeclared (first use  in this
function)
/home/charles/mach4/mig/lexxer.l:170: error:
'MACH_MSG_TYPE_MOVE_SEND_ONCE' undeclared (first use  in this
function)
/home/charles/mach4/mig/lexxer.l:172: error: 'MACH_MSG_TYPE_PORT_NAME'
undeclared (first use in t his function)
make[1]: *** [lexxer.o] Error 1
make[1]: Leaving directory `/home/charles/obj/mig'
There seems to be a problem with this file variables in that they
aren't declared ( the full code is attached). This would be a pretty
basic mistake for the mach developers. I am wondering whether or not
they were meant to be like this. I also don't want to have to declare
them all as i might make a mistake and really ruin the code.
N.B. This is exactly the same file (lexxer.l) that is included in gnu-mig-1.3.
Any suggestions greatly appreciated.
Charles Barry

Attachment: lexxer.l
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]