> 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=
../kernel/linux/userfs_types.ty
> /usr/include/linux/types.h:24:parse error, expecting `NUM' or `'(''Bad=
input file
> make[1]: *** [userfs_types.cc] 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 ).
regards,
-- =
---------------------------------------------------------
G=F6ran Thyni goran@norrsken.bildbasen.se
System development, Bildbasen i Kiruna AB, Ruotsi/Lappi.
#include <stddiscl.h>
El=E4m=E4 on mukava Lapissa.