Userfs 0.8(.1) with kernel 1.2.9? (fwd)

G|ran Thyni (
Tue, 27 Jun 1995 10:27:40 GMT writes:
> I've been trying to get your userfs-0.8.1 to work, but genser and genh=
> don't seem to be able to handle the kernel include files anymore:
> =

> for i in genser lib lwp kernel clients; do make CXX=3D"g++" PROF=3D"" =
-C $i; done
> make[1]: Entering directory `/usr/src/userfs-0.8/genser'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/src/userfs-0.8/genser'
> make[1]: Entering directory `/usr/src/userfs-0.8/lib'
> make -C ../genser gencode
> make[2]: Entering directory `/usr/src/userfs-0.8/genser'
> make[2]: `gencode' is up to date.
> make[2]: Leaving directory `/usr/src/userfs-0.8/genser'
> rm -rf types
> mkdir types
> ../genser/gencode -I. -I../lwp -I../kernel -I../genser -Csed -l types=
> /usr/include/linux/types.h:24:parse error, expecting `NUM' or `'(''Bad=
input file
> make[1]: *** [] Error 1
> =

linux/types.h line 24 looks like this:
--- snip ----------------------
typedef unsigned long ino_t;
--- snip ----------------------

the problem is that the parser can't handle all combinations of
unsigned and other types.
A small hack in the bison-parser is needed.
I did this once (quiet trivial changes), but - Sorry, I do not
have it on any machine I can access for the moment (ever heard
of burning power supplies ;-0 ).

-- =

G=F6ran Thyni
System development, Bildbasen i Kiruna AB, Ruotsi/Lappi.
#include <stddiscl.h>
El=E4m=E4 on mukava Lapissa.