InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Snow Leopard xnu kernel test patch (http://infinitemac.com/showthread.php?t=4227)

never_mind 09-30-2009 08:08 AM

Quote:

Originally Posted by never_mind (Post 36358)
wait, now i get it, slave_tsc_init moved, so i guess those declarations need to go somplace else..

ok for now i just chucked those static definitions it needs into the file :)

Now, I ended up at an important bit!! SSE3 emulator start! :)

Code:

/xnu-1456.1.26/osfmk/i386/start.s:202:junk `(_sse3emu_size)' after expression
/xnu-1456.1.26/osfmk/i386/start.s:207:4294967296 shortened to 0
/xnu-1456.1.26/osfmk/i386/start.s:209:junk `(_master_idt)' after expression
make[6]: *** [start.o] Error 1

Arrgh. Now why does it say that? An(d)y ideas? :)

pαuℓzurrr. 09-30-2009 08:40 AM

never_mind, did you figured out the problem with PADL_ and PADR_?
Cause i think this needs to be added to vfs_attrlist.c

#include <osfmk/mach/mach_traps.h>

But im not sure if that the correct way. mach_traps.h is in osfmk/mach/
And vfs_attrlist.c is in bsd/vfs/

Do you know how to change the path so it looks in the right directory?
Thanks!

And Andy, are you from belgium? Cause im dutch :)

never_mind 09-30-2009 09:10 AM

Not sure if this was "right", but what i did is put the sysproto.h from the 10.6 SDK in bsd/sys/ and included the bit in there that was in the original bsd/sys/sysproto.h

That takes me past that error..



Quote:

Originally Posted by pαuℓzurrr. (Post 36369)
never_mind, did you figured out the problem with PADL_ and PADR_?
Cause i think this needs to be added to vfs_attrlist.c

#include <osfmk/mach/mach_traps.h>

But im not sure if that the correct way. mach_traps.h is in osfmk/mach/
And vfs_attrlist.c is in bsd/vfs/

Do you know how to change the path so it looks in the right directory?
Thanks!

And Andy, are you from belgium? Cause im dutch :)


pαuℓzurrr. 09-30-2009 09:36 AM

What do you mean with original? Cause i dont have sysproto.h. Only when i apply andy's patch...
Edit:
When deleted its generated from syscalls.master...

never_mind 09-30-2009 10:00 AM

Quote:

Originally Posted by pαuℓzurrr. (Post 36371)
What do you mean with original? Cause i dont have sysproto.h. Only when i apply andy's patch...
Edit:
When deleted its generated from syscalls.master...

Sorry, I meant after the patch.. I don't know, that generated one didn't work right?

pαuℓzurrr. 09-30-2009 10:06 AM

Yes it did ;) No errors when it generated...

Generating bsd/sys/sysproto.h from /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/bsd/kern/syscalls.master

Here is the generated sysproto.h
http://pastebin.com/m18b29e92

This are the errors i'm having now...

Code:

CC bootargs.o
LDFILELIST pexpert
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/bsd/kern/kern_mib.c: In function ‘sysctl_mib_init’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/bsd/kern/kern_mib.c:715: error: break statement not within loop or switch
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/bsd/kern/kern_mib.c:717: error: ‘default’ label not within a switch statement
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/bsd/kern/kern_mib.c:764: error: expected declaration or statement at end of input
make[6]: *** [kern_mib.o] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_bsd] Error 2
make[1]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/libkern/kernel_mach_header.c: In function ‘get_cs_cmd_from_header’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/libkern/kernel_mach_header.c:183: warning: implicit declaration of function ‘ASSERT’
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/libkern/kernel_mach_header.c:183: warning: nested extern declaration of ‘ASSERT’
make[6]: *** [kernel_mach_header.o] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_libkern] Error 2
In file included from /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/cpuid.c:38:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/cpuid_legacy.h:32:1: error: "KB" redefined
In file included from /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/mach/machine/vm_param.h:35,
                from /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/mach/vm_param.h:70,
                from /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/vm/vm_page.h:73,
                from /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/cpuid.c:33:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/mach/i386/vm_param.h:160:1: error: this is the location of the previous definition
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/cpuid.c: In function ‘cpuid_set_info’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/cpuid.c:830: error: too few arguments to function ‘PE_parse_boot_argn’
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/cpuid.c:834: error: too few arguments to function ‘PE_parse_boot_argn’
make[6]: *** [cpuid.o] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_osfmk] Error 2
cc1plus: warnings being treated as errors
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp: In function ‘void iokit_post_constructor_init()’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
make[6]: *** [IOStartIOKit.cpo] Error 1
make[6]: *** Waiting for unfinished jobs....
C++ IOMapper.cpo
C++ IOMemoryCursor.cpo
C++ IOCopyMapper.cpo
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_iokit] Error 2
make: *** [all] Error 2


never_mind 09-30-2009 10:43 AM

Mmm, i didn't get any errors in pexpert... Did you see my PM?

Quote:

Originally Posted by pαuℓzurrr. (Post 36374)
Yes it did ;) No errors when it generated...

Generating bsd/sys/sysproto.h from /Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/bsd/kern/syscalls.master

Here is the generated sysproto.h
http://pastebin.com/m18b29e92


Still got a lot of errors with PE_parse_boot_arg...


aryajuanda 09-30-2009 11:44 AM

this i my err

Code:

MIG UNDReplyServer.c
cc1plus: warnings being treated as errors
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/iokit/Kernel/IOStartIOKit.cpp: In function ‘void iokit_post_constructor_init()’:
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
make[6]: *** [IOStartIOKit.cpo] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_iokit] Error 2
make[1]: *** Waiting for unfinished jobs....

pastebin : http://pastebin.com/m77caee23

added : pass the pexpert by editing the /pexpert/pexpert/pexpert.h:

#if !defined(__LP64__) && !defined(__arm__)
extern boolean_t PE_parse_boot_arg(
const char *arg_string,
void *arg_ptr) __deprecated;
#endif

to :

#if !defined(__LP64__) && !defined(__arm__)
extern boolean_t PE_parse_boot_arg(
const char *arg_string,
void *arg_ptr);
#endif

i dont know if i m doing the right thing or not.. :D

aryajuanda 09-30-2009 12:21 PM

i get pass the ASERT thing by add

#include <kern/voodoo_assert.h> in /bsd/kern/mach_header.c

xXrkidXx 09-30-2009 12:51 PM

anybody got it fully patched yet? and in kernel form lol?

pαuℓzurrr. 09-30-2009 01:40 PM

Quote:

Originally Posted by xXrkidXx (Post 36382)
anybody got it fully patched yet? and in kernel form lol?

Not yet ;) I think we might be talking days... Getting close :)

Quote:

Originally Posted by never_mind (Post 36353)
Morning ;)

I get these errors now:

Code:

xnu-1456.1.26/osfmk/i386/i386_init.c: In function ‘slave_tsc_init’:
/xnu-1456.1.26/osfmk/i386/i386_init.c:679: warning: implicit declaration of function ‘abs’
/xnu-1456.1.26/osfmk/i386/i386_init.c:679: warning: nested extern declaration of ‘abs’
/xnu-1456.1.26/osfmk/i386/i386_init.c: In function ‘slave_tsc_run_trials’:
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: ‘TSCSYNC_NUM_TRIALS’ undeclared (first use in this function)
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: (Each undeclared identifier is reported only once
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: for each function it appears in.)
/xnu-1456.1.26/osfmk/i386/i386_init.c:706: error: called object ‘tscsync’ is not a function
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: warning: unused variable ‘deltas’

That stuff it errors on is defined in osfmk/i386/mp.c, but I don't get how this should be available in osfmk/i386/i386_init.c. Does it need to be compiled before i386_init.c (i guess its a global define or so??)

Any thoughts?

Got the same error now. Can you tell me how you solved it? :)

Also have a error in cpuid_legacy.h32:1 error: "KB" redefined...

aryajuanda 09-30-2009 02:31 PM

my latest try :

http://pastebin.com/mdd2a7ad

Code:

CC phys.o
cc1: warnings being treated as errors
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c: In function ‘_absolutetime_to_microtime’:
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c:143: warning: ‘return’ with no value, in function returning non-void
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c:163: warning: this function may return with or without a value
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c: In function ‘rtc_clock_stepping’:
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c:523: warning: implicit conversion shortens 64-bit value into a 32-bit value
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c: In function ‘rtc_clock_stepped’:
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c:554: warning: implicit conversion shortens 64-bit value into a 32-bit value
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c: In function ‘rtc_set_timescale’:CC ip6_forward.o

/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c:642: warning: implicit conversion shortens 64-bit value into a 32-bit value
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/rtclock.c:643: warning: implicit conversion shortens 64-bit value into a 32-bit value
make[6]: *** [rtclock.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c: In function ‘kernel_trap’:
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:829: error: ‘kmod_lock’ undeclared (first use in this function)
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:829: error: (Each undeclared identifier is reported only once
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:829: error: for each function it appears in.)
cc1: warnings being treated as errors
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:831: warning: implicit declaration of function ‘mutex_lock’
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:831: warning: nested extern declaration of ‘mutex_lock’
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:832: warning: implicit declaration of function ‘kmod_lookupbyaddress’
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:832: warning: nested extern declaration of ‘kmod_lookupbyaddress’
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:832: warning: assignment makes pointer from integer without a cast
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:837: warning: implicit declaration of function ‘mutex_unlock’
/Users/arya/Downloads/Kernels/xnu-1456.1.26-Test/osfmk/i386/trap.c:837: warning: nested extern declaration of ‘mutex_unlock’
make[6]: *** [trap.o] Error 1


xXrkidXx 09-30-2009 08:11 PM

yesss were gettting closer!! I CAN FEEL IT lol! God, i need a copy of OS X, windows is SO slow... that or more RAM :P so are all these messages just errors people are encountering? or is this just a log?

pαuℓzurrr. 10-01-2009 03:38 PM

Code:

/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/start.s:202:junk `(_sse3emu_size)' after expression
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/start.s:207:4294967296 shortened to 0
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/start.s:209:junk `(_master_idt)' after expression
make[6]: *** [start.o] Error 1
make[6]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c: In function ‘_absolutetime_to_microtime’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c:143: warning: ‘return’ with no value, in function returning non-void
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c:163: warning: this function may return with or without a value
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c: In function ‘rtc_clock_stepping’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c:523: warning: implicit conversion shortens 64-bit value into a 32-bit value
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c: In function ‘rtc_clock_stepped’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c:554: warning: implicit conversion shortens 64-bit value into a 32-bit value
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c: In function ‘rtc_set_timescale’:
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c:642: warning: implicit conversion shortens 64-bit value into a 32-bit value
/Users/paulzurrr/Desktop/XNU/xnu-1456.1.26/osfmk/i386/rtclock.c:643: warning: implicit conversion shortens 64-bit value into a 32-bit value
make[6]: *** [rtclock.o] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
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....
make: *** [all] Error 2

Not sure what to do now? Anyone knows how the fix it? :p

xXrkidXx 10-02-2009 12:40 PM

Anything yet guys? It'd be such a shame to not see a kernel soon... I'm missing the good 'ol days of OS X... Windows is failing miserably

pαuℓzurrr. 10-02-2009 03:53 PM

lol no not yet :p im sure when its ready youll see it everywhere :p

direlime 10-02-2009 04:27 PM

By the looks of it, you guys are getting close. Good luck! :D

maya77 10-03-2009 01:57 AM

Andy,

I'm sure this all will go faster if you have working SL installation.

Please use these instructions and necessary files to install it:
http://rapidshare.com/files/287963888/SL_Stuff.zip
Several solutions failed for me, but this one worked.

Lykich 10-03-2009 06:31 AM

These tools the patch too is necessary ?

bootstrap_cmds-72.tar.gz
dtrace-78.tar.gz
kext_tools-177.tar.gz
cxxfilt-9.tar.gz

My result:
Code:

my-Mac:~ slava$ cd xnu-1456.1.26
my-Mac:xnu-1456.1.26 slava$ make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE"
MIG clock.h
Generating libkern/version.h from /Users/slava/xnu-1456.1.26/libkern/libkern/version.h.template
MIG clock_priv.h
MIG default_pager_object.h
MIG host_priv.h
MIG host_security.h
MIG ledger.h
MIG lock_set.h
MIG mach_host.h
Generating bsd/sys/syscall.h from /Users/slava/xnu-1456.1.26/bsd/kern/syscalls.master
MIG mach_port.h
MIG mach_vm.h
MIG memory_object_control.h
MIG memory_object_name.h
MIG kextd_mach.h
MIG processor.h
MIG gssd_mach.h
MIG processor_set.h
MIG lockd_mach.h
MIG security.h
MIG task.h
MIG task_access.h
MIG thread_act.h
MIG upl.h
MIG vm_map.h
MIG audit_triggers_server.h
MIG clock_reply_server.h
MIG exc_server.h
MIG mach_exc_server.h
MIG memory_object_server.h
MIG memory_object_default_server.h
MIG notify_server.h
MIG task_access_server.h
Missing }.
make[4]: *** [/Users/slava/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
CC WKdmDecompress.o
CC bootargs.o
CC device_tree.o
CC pe_gen.o
CC randomdev.o
CC pe_init.o
CC pe_bootargs.o
CC IOHibernateRestoreKernel.o
CC pe_identify_machine.o
CC smf.o
CC pe_kprintf.o
CC pe_interrupt.o
CC fips_sha1.o
CC comp.o
CC pe_serial.o
LDFILELIST pexpert
CC prng.o
In file included from /Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/sysctl.h:92,
                from /Users/slava/xnu-1456.1.26/iokit/Kernel/IOLib.cpp:55:
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h: In function ‘void** __linker_set_object_begin(kernel_mach_header_t*, const char*)’:
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h:195: error: ‘getsectdatafromheader’ was not declared in this scope
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h: In function ‘void** __linker_set_object_limit(kernel_mach_header_t*, const char*)’:
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h:208: error: ‘getsectdatafromheader’ was not declared in this scope
make[6]: *** [IOLib.cpo] Error 1
make[6]: *** Waiting for unfinished jobs....
CC yarrowUtils.o
In file included from /Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/sysctl.h:92,
                from /Users/slava/xnu-1456.1.26/iokit/Kernel/IOHibernateIO.cpp:160:
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h: In function ‘void** __linker_set_object_begin(kernel_mach_header_t*, const char*)’:
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h:195: error: ‘getsectdatafromheader’ was not declared in this scope
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h: In function ‘void** __linker_set_object_limit(kernel_mach_header_t*, const char*)’:
/Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/bsd/sys/linker_set.h:208: error: ‘getsectdatafromheader’ was not declared in this scope
CC sha1mod.o
C++ IOLocks.cpo
make[6]: *** [IOHibernateIO.cpo] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_iokit] Error 2
In file included from /Users/slava/xnu-1456.1.26/bsd/sys/sysctl.h:92,
                from /Users/slava/xnu-1456.1.26/bsd/dev/unix_startup.c:49:
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h: In function ‘__linker_set_object_begin’:
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:195: warning: implicit declaration of function ‘getsectdatafromheader’
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:195: warning: nested extern declaration of ‘getsectdatafromheader’
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:195: warning: assignment makes pointer from integer without a cast
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h: In function ‘__linker_set_object_limit’:
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:208: warning: assignment makes pointer from integer without a cast
cc1: warnings being treated as errors
In file included from /Users/slava/xnu-1456.1.26/bsd/sys/sysctl.h:92,
                from /Users/slava/xnu-1456.1.26/bsd/sys/user.h:81,
                from /Users/slava/xnu-1456.1.26/bsd/sys/vfs_context.h:8,
                from /Users/slava/xnu-1456.1.26/bsd/sys/vnode_internal.h:87,
                from /Users/slava/xnu-1456.1.26/bsd/dev/vn/vn.c:104:
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h: In function ‘__linker_set_object_begin’:
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:195: warning: implicit declaration of function ‘getsectdatafromheader’
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:195: warning: nested extern declaration of ‘getsectdatafromheader’
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:195: warning: assignment makes pointer from integer without a cast
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h: In function ‘__linker_set_object_limit’:
/Users/slava/xnu-1456.1.26/bsd/sys/linker_set.h:208: warning: assignment makes pointer from integer without a cast
make[6]: *** [vn.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC unix_startup.o
CC memdev.o
CC shadow.o
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_bsd] Error 2
make: *** [all] Error 2
my-Mac:xnu-1456.1.26 slava$

Code build :
http://www.applesana.es/foro/77/2217...-mac-os-x.html

xXrkidXx 10-03-2009 08:29 PM

woohoo, keep working hard guys! were so close i can taste Snow Kitty! lol

Lykich 10-04-2009 07:46 PM

Andy,where to find the errors?

Lykich 10-05-2009 12:30 PM

Has added:
#include <i386/mach_traps.h>
Has corrected:
//#ifndef _SYS_LINKER_SET_H_
void *getsectdatafromheader(kernel_mach_header_t *, const char *, const char *, unsigned long *);
//#endif
Result:
Code:

my-Mac:xnu-1456.1.26 slava$ make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE"
MIG clock.h
Generating libkern/version.h from /Users/slava/xnu-1456.1.26/libkern/libkern/version.h.template
MIG clock_priv.h
MIG host_priv.h
MIG host_security.h
Generating bsd/sys/syscall.h from /Users/slava/xnu-1456.1.26/bsd/kern/syscalls.master
MIG ledger.h
MIG lock_set.h
MIG mach_host.h
MIG mach_port.h
MIG mach_vm.h
MIG default_pager_object.h
MIG memory_object_control.h
MIG memory_object_name.h
MIG gssd_mach.h
MIG kextd_mach.h
MIG lockd_mach.h
MIG processor.h
MIG processor_set.h
MIG security.h
MIG task.h
MIG task_access.h
MIG thread_act.h
MIG upl.h
MIG vm_map.h
MIG audit_triggers_server.h
MIG clock_reply_server.h
MIG exc_server.h
MIG mach_exc_server.h
MIG memory_object_server.h
MIG memory_object_default_server.h
MIG notify_server.h
MIG task_access_server.h
MIG default_pager_alerts_user.c
CC WKdmCompress.o
MIG default_pager_object_server.c
CC device_tree.o
MIG device_server.h
MIG device_server.c
CC randomdev.o
MIG audit_triggers_user.c
MIG clock_reply_user.c
MIG exc_user.c
MIG host_notify_reply_user.c
MIG mach_exc_user.c
MIG mach_notify_user.c
MIG memory_object_user.c
MIG memory_object_control_user.c
CC WKdmDecompress.o
MIG memory_object_default_user.c
CC bootargs.o
MIG task_access_user.c
CC pe_gen.o
MIG upl_user.c
MIG vm_map_user.c
MIG clock_server.c
MIG clock_priv_server.c
CC pe_init.o
MIG exc_server.c
CC pe_bootargs.o
CC pe_identify_machine.o
MIG host_priv_server.c
CC fips_sha1.o
CC pe_kprintf.o
MIG host_security_server.c
CC smf.o
CC comp.o
MIG ledger_server.c
CC pe_interrupt.o
MIG lock_set_server.c
CC pe_serial.o
LDFILELIST pexpert
CC prng.o
MIG mach_exc_server.c
MIG UNDRequest.c
MIG mach_host_server.c
MIG UNDReplyServer.c
MIG mach_notify_server.c
MIG gssd_mach.c
MIG mach_port_server.c
MIG gssd_mach.h
MIG mach_vm_server.c
MIG memory_object_server.c
CC sha1mod.o
CC yarrowUtils.o
MIG memory_object_control_server.c
MIG memory_object_default_server.c
MIG memory_object_name_server.c
MIG processor_server.c
CC memdev.o
CC OSAtomicOperations.o
MIG processor_set_server.c
MIG security_server.c
C++ OSDebug.cpo
MIG task_server.c
CC unix_startup.o
MIG thread_act_server.c
MIG upl_server.c
MIG vm_map_server.c
MIG vm32_map_server.c
MIG kextd_mach.c
MIG kextd_mach.h
C++ IOHibernateIO.cpo
CC vn.o
MIG lockd_mach.c
MIG lockd_mach.h
CC shadow.o
CC crc32.o
C++ OSMetaClass.cpo
CC IOHibernateRestoreKernel.o
CC random.o
CC scanc.o
CC skpc.o
CC default_pager.o
CC strsep.o
CC inet_ntop.o
CC bcd.o
cc1: warnings being treated as errors
In file included from /Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:47:
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:2: warning: implicit declaration of function ‘PADL_’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: expected expression before ‘int’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: variably modified ‘fd_l_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:2: warning: implicit declaration of function ‘PADR_’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: expected expression before ‘int’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: variably modified ‘fd_r_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: expected expression before ‘uint32_t’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: variably modified ‘arch_offset_l_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: expected expression before ‘uint32_t’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: variably modified ‘arch_offset_r_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: expected expression before ‘uint32_t’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: variably modified ‘arch_size_l_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: expected expression before ‘uint32_t’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: variably modified ‘arch_size_r_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: expected expression before ‘user_addr_t’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: variably modified ‘map_addr_l_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: expected expression before ‘user_addr_t’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: variably modified ‘map_addr_r_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: expected expression before ‘u_int’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: variably modified ‘mode_l_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: expected expression before ‘u_int’
/Users/slava/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: variably modified ‘mode_r_’ at file scope
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:619: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:619: warning: its scope is only this definition or declaration, which is probably not what you want
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getvolattrlist’:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:641: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:848: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1143: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1155: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1174: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getattrlist_internal’:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1204: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1232: warning: passing argument 2 of ‘getvolattrlist’ from incompatible pointer type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1238: error: dereferencing pointer to incomplete type
C++ OSObject.cpo
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1854: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1869: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1869: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1888: warning: ‘struct fgetattrlist_args’ declared inside parameter list
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1889: warning: no previous prototype for ‘fgetattrlist’
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘fgetattrlist’:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1893: error: storage size of ‘ap’ isn’t known
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1898: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1902: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1907: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1908: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1909: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1910: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1914: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1893: warning: unused variable ‘ap’
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1922: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1923: warning: no previous prototype for ‘getattrlist’
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getattrlist’:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1937: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1939: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1946: warning: passing argument 2 of ‘getattrlist_internal’ from incompatible pointer type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1987: warning: ‘struct setattrlist_args’ declared inside parameter list
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘setattrlist_internal’:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2008: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2048: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2053: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2059: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2059: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2075: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2311: warning: ‘struct setattrlist_args’ declared inside parameter list
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2312: warning: no previous prototype for ‘setattrlist’
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘setattrlist’:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2325: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2327: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2333: warning: passing argument 2 of ‘setattrlist_internal’ from incompatible pointer type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2341: warning: ‘struct fsetattrlist_args’ declared inside parameter list
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2342: warning: no previous prototype for ‘fsetattrlist’
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘fsetattrlist’:
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2346: error: storage size of ‘ap’ isn’t known
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2350: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2354: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2359: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2360: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2361: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2362: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2365: error: dereferencing pointer to incomplete type
/Users/slava/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2346: warning: unused variable ‘ap’
make[6]: *** [vfs_attrlist.o] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_bsd] Error 2
make[1]: *** Waiting for unfinished jobs....
CC c_start.o
CC c_stop.o
CC cplus_start.o
CC cplus_stop.o
C++ IOLib.cpo
LIBTOOL libkmod.a
C++ OSArray.cpo
C++ IOLocks.cpo
LIBTOOL libkmodc++.a
C++ OSBoolean.cpo
ERROR: OSBoolean.cpp: failed to get mapping for tid 10562
CC dp_backing_store.o
C++ IOConditionLock.cpo
C++ OSCollection.cpo
CC dp_memory_object.o
CC default_pager_alerts_user.o
C++ IOSyncer.cpo
C++ OSCollectionIterator.cpo
CC gssd_mach.o
cc1plus: warnings being treated as errors
/Users/slava/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp: In function ‘void iokit_post_constructor_init()’:
/Users/slava/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
/Users/slava/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/slava/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
make[6]: *** [IOStartIOKit.cpo] Error 1
make[6]: *** Waiting for unfinished jobs....
CC default_pager_object_server.o
CC lockd_mach.o
CC kextd_mach.o
C++ OSData.cpo
UserNotification/UNDRequest.c: In function ‘UNDDisplayCustomFromDictionary_rpc’:
UserNotification/UNDRequest.c:656: warning: cast discards qualifiers from pointer target type
CC UNDReplyServer.o
CC UNDRequest.o
CC db_ext_symtab.o
CC KUNCUserNotifications.o
C++ OSDictionary.cpo
C++ OSIterator.cpo
C++ IODeviceTreeSupport.cpo
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_iokit] Error 2
CC kdp_serial.o
CC kdp.o
C++ OSNumber.cpo
CC kdp_udp.o
C++ OSOrderedSet.cpo
CC OSRuntimeSupport.o
CC ipc_entry.o
C++ OSRuntime.cpo
CC ipc_hash.o
C++ OSSerialize.cpo
CC ipc_init.o
C++ OSSet.cpo
CC ipc_notify.o
CC ipc_mqueue.o
C++ OSString.cpo
CC ipc_kmsg.o
CC ipc_object.o
C++ OSSymbol.cpo
CC ipc_port.o
C++ OSUnserialize.cpo
CC ipc_pset.o
C++ OSUnserializeXML.cpo
CC ipc_space.o
CC mkext.o
CC ipc_right.o
CC OSKextVersion.o
CC ipc_splay.o
C++ OSKextLib.cpo
CC ipc_table.o
CC scanf.o
CC ipc_labelh.o
cc1: warnings being treated as errors
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:151: warning: no previous prototype for ‘getsectbynamefromheader_64’
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c: In function ‘getsectbynamefromheader_64’:
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:151: warning: implicit declaration of function ‘getsegbynamefromheader_64’
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:151: warning: nested extern declaration of ‘getsegbynamefromheader_64’
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:151: warning: assignment makes pointer from integer without a cast
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c: At top level:
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:175: warning: no previous prototype for ‘getsegbynamefromheader_64’
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:175: error: conflicting types for ‘getsegbynamefromheader_64’
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:151: error: previous implicit declaration of ‘getsegbynamefromheader_64’ was here
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:178: warning: no previous prototype for ‘get_cs_cmd_from_header’
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c: In function ‘get_cs_cmd_from_header’:
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:183: warning: implicit declaration of function ‘ASSERT’
/Users/slava/xnu-1456.1.26/libkern/kernel_mach_header.c:183: warning: nested extern declaration of ‘ASSERT’
make[6]: *** [kernel_mach_header.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC uuid.o
CC mach_debug.o
CC mach_msg.o
CC ast.o
C++ OSKext.cpo
CC affinity.o
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_libkern] Error 2
CC audit_sessionport.o
CC counters.o
CC mach_port.o
CC clock.o
CC clock_oldops.o
CC exception.o
CC debug.o
CC host_notify.o
CC ipc_clock.o
CC host.o
CC ipc_host.o
CC ipc_kobject.o
CC ipc_sync.o
CC ipc_mig.o
CC ledger.o
CC kalloc.o
CC mach_clock.o
CC locks.o
CC machine.o
CC mk_sp.o
CC page_decrypt.o
CC ipc_tt.o
CC mk_timer.o
CC priority.o
CC processor_data.o
CC queue.o
CC sched_average.o
CC printf.o
CC processor.o
CC security.o
CC startup.o
CC stack.o
CC syscall_emulation.o
CC sync_lock.o
CC sync_sema.o
CC syscall_sw.o
CC syscall_subr.o
CC task_swap.o
CC task_policy.o
CC sched_prim.o
CC thread_act.o
CC task.o
CC thread_call.o
CC timer.o
CC thread.o
CC thread_policy.o
CC timer_call.o
CC hibernate.o
CC bsd_kern.o
CC wait_queue.o
CC clock_server.o
CC clock_reply_user.o
CC clock_priv_server.o
CC zalloc.o
CC exc_user.o
CC exc_server.o
CC pmc.o
CC host_security_server.o
CC ledger_server.o
CC lock_set_server.o
CC mach_exc_user.o
CC mach_notify_user.o
CC mach_exc_server.o
CC host_priv_server.o
CC mach_host_server.o
CC memory_object_server.o
CC memory_object_default_server.o
CC mach_port_server.o
CC mach_vm_server.o
CC memory_object_control_server.o
CC memory_object_name_server.o
CC audit_triggers_user.o
CC task_access_user.o
CC upl_server.o
CC processor_server.o
CC processor_set_server.o
CC thread_act_server.o
CC security_server.o
CC task_server.o
CC vm32_map_server.o
CC device_vm.o
CC vm_external.o
CC vm_debug.o
CC bsd_vm.o
CC vm_init.o
CC vm_kern.o
CC memory_object.o
CC vm_fault.o
CC vm_purgeable.o
CC vm_object.o
CC vm_shared_region.o
CC vm_pageout.o
CC vm_swapfile_pager.o
CC vm_resident.o
CC vm32_user.o
CC iokit_rpc.o
CC device_init.o
CC kext_alloc.o
CC vm_map.o
CC vm_user.o
CC kmod.o
CC chud_glue.o
CC subrs.o
CC chud_cpu.o
CC chud_memory.o
CC chud_osfmk_callback.o
CC serial_general.o
CC chud_thread.o
CC pmap_x86_common.o
CC vm_apple_protect.o
CC machdep_call.o
CC bsd_i386.o
CC cpu.o
CC cpuid.o
CC device_server.o
CC cpu_threads.o
CC cpu_topology.o
CC etimer.o
CC pmap.o
CC gdt.o
CC fpu.o
CC idle_pt.o
CC i386_init.o
CC ktss.o
CC io_map.o
CC ldt.o
CC i386_vm_init.o
CC machine_routines.o
CC loose_ends.o
CC machine_check.o
CC machine_task.o
CC locks_i386.o
CC phys.o
CC rtclock.o
CC mp_desc.o
CC user_ldt.o
CC Diagnostics.o
CC trap.o
CC tsc.o
CC commpage_sigs.o
CC pmCPU.o
CC conf.o
CC pcb.o
CC commpage.o
CC acpi.o
CC lapic.o
CC model_dep.o
CC mtrr.o
CC mp.o
CC video_scroll.o
CC serial_console.o
CC kdp_vm.o
CC kdp_machdep.o
CC panic_dialog.o
CC hibernate_i386.o
CC kdp_x86_common.o
CC hibernate_restore.o
CC chud_cpu_i386.o
CC chud_osfmk_callback_i386.o
CC vmx_cpu.o
CC chud_thread_i386.o
CC video_console.o
CC vmx_shims.o
AS bcopy.o
AS _setjmp.o
CC startup64.o
AS bzero.o
AS idt.o
AS i386_lock.o
AS locore.o
AS start.o
AS lowmem_vectors.o
AS machine_routines_asm.o
AS cswitch.o
AS commpage_asm.o
AS atomic.o
AS commpage_mach_absolute_time.o
AS cpu_number.o
AS spinlocks.o
AS pthreads.o
AS cacheflush.o
AS commpage_gettimeofday.o
AS bcopy_scalar.o
AS bcopy_sse2.o
AS bcopy_sse3x.o
AS bcopy_sse3x_64.o
AS bcopy_sse42.o
AS bcopy_sse42_64.o
AS bzero_scalar.o
AS bzero_sse2_64.o
AS bzero_sse2.o
AS bzero_sse42.o
AS bzero_sse42_64.o
AS memset_pattern_sse2_64.o
AS memset_pattern_sse2.o
AS longcopy_sse3x_64.o
AS longcopy_sse3x.o
AS acpi_wakeup.o
AS start64.o
AS fifo_queues.o
AS idt64.o
LDFILELIST osfmk
make: *** [all] Error 2
my-Mac:xnu-1456.1.26 slava$

How to correct other errors?

Lykich 10-05-2009 06:21 PM

And all are silent as guerrillas....(

xXrkidXx 10-05-2009 07:54 PM

yea... i waqs kinda hoping to have more progress sooner... I'm missing OS X, c'mon guys! keep working hard for the other people of the world! lmao

pαuℓzurrr. 10-05-2009 09:22 PM

I think were kinda stuck and waitin for Andy to help us ;)

Lykich 10-05-2009 10:12 PM

= did you figured out the problem with PADL_ and PADR_?
Cause i think this needs to be added to vfs_attrlist.c
#include <osfmk/mach/mach_traps.h>
But im not sure if that the correct way. mach_traps.h is in osfmk/mach/
And vfs_attrlist.c is in bsd/vfs/ =
--------------------------------------------------------------------
how correctly and where to change and add it ?
Show how you repaired the ...

aryajuanda 10-06-2009 12:41 AM

Quote:

Originally Posted by Lykich (Post 36776)
= did you figured out the problem with PADL_ and PADR_?
Cause i think this needs to be added to vfs_attrlist.c
#include <osfmk/mach/mach_traps.h>
But im not sure if that the correct way. mach_traps.h is in osfmk/mach/
And vfs_attrlist.c is in bsd/vfs/ =
--------------------------------------------------------------------
how correctly and where to change and add it ?
Show how you repaired the ...

you can read the older post, try to read from page 1.. you might found the sollution for that..

xXrkidXx 10-12-2009 01:35 AM

anything yet guys?

pαuℓzurrr. 10-12-2009 12:57 PM

Kernel is made by qoopz, http://www.infinitemac.com/f36/sse2-...z-intel-t4398/

xXrkidXx 10-13-2009 04:08 AM

YES! WOO Thanks for telling me!

val88chan 11-25-2009 07:56 AM

Quote:

Originally Posted by aryajuanda (Post 36149)
i have an AMD machine running SL in 32 bit mode with this metode : http://www.infinitemac.com/f57/amd-s...install-t3727/ , will try to compile it tonight... hope i can help creating 64 bit XNU kernel..

waiting for this kernel so much....hope somebody would create it for non vanilla user