I guess _SYS_LINKER_SET_H_ is not defined (should it be?), cause if code in libkern/libkern/kernel_mach_header.h is changed to :
//#ifndef _SYS_LINKER_SET_H_
void *getsectdatafromheader(kernel_mach_header_t *, const char *, const char *, unsigned long *);
//#endif
the compile errors in linker_set.h regarding getsectdatafromheader disappear.
Cant seem to find though where this error:
MIG task_access_server.h
Missing }.
make[4]: *** [/Users/Pet/Desktop/xnu-1456.1.26/BUILD/obj//RELEASE_I386/osfmk/RELEASE/Makefile] Error 1
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_osfmk] Error 2
make[1]: *** Waiting for unfinished jobs....
CC WKdmCompress.o
is caused...
Quote:
Originally Posted by never_mind
Should the "Missing }." that is mentioned in RMB post also be caused by a missing inclusion of the libkern/kernel_mach_header.h?
Where should it be included, as perisman mentions it seems to be (conditionally) included in bsd/sys/linker_set.h?
To me its unclear what is is causing this error were.
Could you shed a light on it a bit further Andy?
Cheers!
|