[...] > [EMAIL PROTECTED]:~/hurd/mig/objdir# make prefix=/usr/local/ > > .. > > gcc -DPACKAGE=\"mig\" -DVERSION=\"1.3\" -DYYTEXT_POINTER=1 > -DSTDC_HEADERS=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_VPRINTF=1 -I. > -I../mig-1.3 -g -O2 -c > lexxer.c > ./mig-1.3/lexxer.l: In function `yylex': > ./mig-1.3/lexxer.l:151: `MACH_MSG_TYPE_POLYMORPHIC' undeclared (first use > in this function) > ./mig-1.3/lexxer.l:151: (Each undeclared identifier is reported only once > ./mig-1.3/lexxer.l:151: for each function it appears in.) > ./mig-1.3/lexxer.l:151: `word_size_in_bits' undeclared (first use in this > function) > ./mig-1.3/lexxer.l:153: `MACH_MSG_TYPE_UNSTRUCTURED' undeclared (first > use in this function) > ./mig-1.3/lexxer.l:154: `MACH_MSG_TYPE_BIT' undeclared (first use in this > function) > ./mig-1.3/lexxer.l:155: `MACH_MSG_TYPE_BOOLEAN' undeclared (first use in > this function) > > .. > > ./mig-1.3/lexxer.l:169: `MACH_MSG_TYPE_MOVE_SEND' undeclared (first use > in this function) > ./mig-1.3/lexxer.l:170: `MACH_MSG_TYPE_MAKE_SEND_ONCE' undeclared (first > use in this function) > ./mig-1.3/lexxer.l:170: `MACH_MSG_TYPE_PORT_SEND_ONCE' undeclared (first > use in this function) > ./mig-1.3/lexxer.l:171: `MACH_MSG_TYPE_MOVE_SEND_ONCE' undeclared (first > use in this function) > ./mig-1.3/lexxer.l:173: `MACH_MSG_TYPE_PORT_NAME' undeclared (first use > in this function) > make: *** [lexxer.o] Error 1 > [EMAIL PROTECTED]:~/hurd/mig/objdir# > > i dont know if the error is a incorret compile of lexxer.l(flex) or a > consequence of the alteration made by me in the gensym.awk?? if not, how can > > i fix this???
This is not a lex problem, lexxer.c sounds like a lex output file to me. I think the problem is one or more missing header files. Mach header files are required if you want to compile mig. Just download GNUMach, the headerfiles are in there. I always run: "make -k install" (in the GNUMach build dir) to install the headerfiles. Perhaps there is also a install_headers target. -- Marco