Alexander, I don't know if you ever explicity described how you got around the glibc_major and glibc_minor symbols not being defined. The fun error that I get is below.
Harold Building Release 6.6 of the X Window System. I hope you checked the configuration parameters in ./config/cf to see if you need to pass BOOTSTRAPCFLAGS. Thu Jul 11 20:59:52 EDT 2002 cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean make[1]: Entering directory `/home/harold/x-devel/build/newhostdef/config/imake' rm -f ccimake imake.o imake rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#* rm -f -r Makefile.proto Makefile Makefile.dep bootstrap rm -f imakemdep_cpp.h make[1]: Leaving directory `/home/harold/x-devel/build/newhostdef/config/imake' make Makefile.boot make[1]: Entering directory `/home/harold/x-devel/build/newhostdef' cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" make[2]: Entering directory `/home/harold/x-devel/build/newhostdef/config/imake' making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="/cygwin/bin" in config/imake cc -o ccimake -DCROSSCOMPILEDIR=\"/cygwin/bin\" -O -I../../include -I../../import s/x11/include/X11 ccimake.c if [ -n "/cygwin/bin" ] ; then \ /cygwin/bin/cc -E `./ccimake` \ -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \ else touch imakemdep_cpp.h; fi cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c imake.c: In function `define_os_defaults': imake.c:1503: `glibc_major' undeclared (first use in this function) imake.c:1503: (Each undeclared identifier is reported only once imake.c:1503: for each function it appears in.) imake.c:1505: `glibc_minor' undeclared (first use in this function) make[2]: *** [imake.o] Error 1 make[2]: Leaving directory `/home/harold/x-devel/build/newhostdef/config/imake' make[1]: *** [imake.proto] Error 2 make[1]: Leaving directory `/home/harold/x-devel/build/newhostdef' make: *** [World] Error 2