I just downloaded the 2.6.10 source tree,
applied the freeBSD mntent patch, had to:
- remove HAVE_MNTENT_ detection in configure.in,
because, despite the mntent patch, configure
was not finding mntent.h, laying in the same directory.
- run "autoconf"
- run ./configure
- got rid of the "util" subdirectory in the top Makefile,
because it has no target and makes compilation fails.
After all this, the compilation process began, and stopped
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\" -g -O2 -c -o
IMon.o `test -f 'IMon.c++' || echo './'`IMon.c++
IMon.c++:38:29: sys/sysmacros.h: No such file or directory
make: *** [IMon.o] Error 1
make: *** [all-recursive] Error 1
make: *** [all] Error 2
Something is weird, as ./configure detected that I don't
have no imon inside the kernel, but compilation is done anyway...