In message a message from Scott Henry:
> >>>>> "M" == Michael McCormack <[EMAIL PROTECTED]> writes:
>
> M> http://www.ozemail.com.au/~mccormack/userfs.html
>
> Looks pretty good. I still can't get to that bit, I still keep dying at:
>
> % make
> ...
> ../genser/gencode -I. -I../lwp -I../kernel -I../genser -Csed -l types ../ker
> nel/linux/userfs_types.ty
> /usr/include/linux/posix_types.h:50:parse error, expecting `IDENT' or `'*''
> Bad input file
> make[1]: *** [userfs_types.cc] Error 1
> %
>
> the line in question in posix_types.h (and the one before it) is:
>
> /* Type of a signal handler. */
> typedef void (*__kernel_sighandler_t)(int);
>
> Since that is in the 2.2.5 (and I presume 2.2.6) kernel sources, how
> are you working around it? Am I just configuring something wrong
> (though there are no obvious configurables...).
>
> I guess I need to learn YACC to fix genser...
The easy fix is to comment out that one line (that typedef) - thats what
Mike and I have done. However, I run into problems later on in the make
process (in utils/) that the userfs_types.h is (a) missing some
typedefs (like 'typedef __kernel_suseconds_t suseconds_t;' from linux/types.h)
and I'm not sure why, and also it has some wierdness with errnos.h's
#define errno (*__errno_location((void)));
or something like that (i messed with it for f'ing ever last night (this
morning??) and learned more about cccp than i wanted to know, but still
havn't figured out exactly why its redefining errno to a function pointer)
anyways - if this helps, or if you can answer - i'm out of town for the
weekend, so i'll pick up on monday.
--------------------------------------------------------------
Andy McCoy ([EMAIL PROTECTED]) <http://donut.tho.org>
* Linotech Systems LLC <http://www.linotech.com>
"And its only the giving that makes you what you are"
-- Jethro Tull - Wond'ring Aloud