Compiling MOL on Mac OS X

Patricia Troughton-Smith thetroutsatkilbogget at eircom.net
Fri Dec 3 05:33:24 MST 2004


Hey everyone. I've been trying to compile the latest devel branch of 
MOL on Mac OS X and I've encountered a major problem...

In file included from ../../src/shared/kernel_vars.h:35,
                  from init.c:19:
Darwin/locks.h:20:30: No include path in which to find 
kern/simple_lock.h
In file included from ../../src/shared/kernel_vars.h:35,
                  from init.c:19:
Darwin/locks.h:24: error: parse error before '*' token
Darwin/locks.h:24: warning: type defaults to `int' in declaration of 
`mol_mutex_t'
Darwin/locks.h:24: warning: data definition has no type or storage class
Darwin/locks.h:26: error: parse error before '*' token
Darwin/locks.h: In function `init_MUTEX_mol':
Darwin/locks.h:27: error: `mup' undeclared (first use in this function)
Darwin/locks.h:27: error: (Each undeclared identifier is reported only 
once
Darwin/locks.h:27: error: for each function it appears in.)
Darwin/locks.h:27: warning: implicit declaration of function 
`mutex_alloc'
Darwin/locks.h:27: error: `ETAP_NO_TRACE' undeclared (first use in this 
function)
Darwin/locks.h: At top level:
Darwin/locks.h:30: error: parse error before '*' token
Darwin/locks.h: In function `free_MUTEX_mol':

<snip about 50 lines of errors>

make[3]: *** [../../obj-osx/build/src/kmod/init.o] Error 1
make[2]: *** [sub-kmod-all] Error 2
make[1]: *** [sub-src-all] Error 2
make: *** [auto-bootstrap] Error 2

I hope someone can help.



More information about the mol-devel mailing list