#52 ./machine/m_macosx.c:67:17: error: kvm.h: No such file or di

v3.8beta
open
nobody
5
2011-04-16
2011-04-16
Greg Coats
No

Unable to make top 3.8beta1, with gcc 4.2.1, under Mac OS X 10.6.6, apparently because of the error
./machine/m_macosx.c:67:17: error: kvm.h: No such file or directory
Any sugestions would be greatly appreciated.
gregcoats@mac.com

$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
$ sw_vers
ProductName: Mac OS X, ProductVersion: 10.6.6, BuildVersion: 10J567
$ ./configure --with-module=macosx
$ make
./machine/m_macosx.c:67:17: error: kvm.h: No such file or directory
./machine/m_macosx.c:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
./machine/m_macosx.c: In function ‘kread’:
./machine/m_macosx.c:258: error: ‘kd’ undeclared (first use in this function)
./machine/m_macosx.c:258: error: (Each undeclared identifier is reported only once
./machine/m_macosx.c:258: error: for each function it appears in.)
./machine/m_macosx.c: At top level:
./machine/m_macosx.c:284: error: array type has incomplete element type
./machine/m_macosx.c: In function ‘get_process_info’:
./machine/m_macosx.c:507: error: ‘kd’ undeclared (first use in this function)
./machine/m_macosx.c: In function ‘get_system_info’:
./machine/m_macosx.c:670: error: ‘kd’ undeclared (first use in this function)
./machine/m_macosx.c: In function ‘machine_init’:
./machine/m_macosx.c:776: error: ‘kd’ undeclared (first use in this function)
make: *** [m_macosx.o] Error 1

Discussion