![]() |
|
#1
|
||||
|
||||
Quote:
Also is early day for me tomorrow but I'll continue a little bit longer ![]() |
#2
|
|||
|
|||
Quote:
![]() 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’ Any thoughts? |
#3
|
|||
|
|||
teamveiwer!! cross platform lol
Computer: Gateway 838GM | 9.5.0 Vodoo Kernel |2.0 RC4 Chameleon Bootloader | Processor:Intel Pentium 4 630 / 3 GHz | RAM: 512MB | OS: Windows 7 32BIT, OSx86 iPC 10.5.6 | Mainboard Chipset: Intel 915G Express | Graphics Card:Integrated Intel GMA 900 | Video Memory: Dynamic Video Memory Technology 3.0 | Audio:ALC 860 |Card Reader:8 in 1 Integrated| Hard Drives:1x 200GB SATA(Win 7), 1x 320GB SATA(OS X) Both Internal
|
#4
|
||||
|
||||
what is sysproto.h use for?
Intel Core2Quad Q8400 Gigabyte GA-EP43-UD3L 4 GB kit DDR2 PC 6400 G-Skill BlackEdition 500 Gb Seagate Baracuda SATA GeForce 9600 GT 512 MB GDDR3 256Bit Mac OS X 10.6.2 || Leopard 10.5.8 || Windows 7 Visit my OSX86 Blog : http://osx86.boeaja.info |
#5
|
||||
|
||||
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 ![]() Mac Inspiron 531 » 10.6.8 • 10.8.0 Legacy Kernel • AMD Athlon 64 X2 5000+ (2.60GHz) Dell M2N61-AX/nForce 430/MCP61 • 4GB Dual Channel DDR2 667MHz ALC888 • nVidia GeForce 8600 GT 256 MB 2 x WDC WD5000AAKS 500 GB SATA HDD Last edited by pαuℓzurrr.; 09-30-2009 at 08:45 AM. |
#6
|
|||
|
|||
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:
Last edited by never_mind; 09-30-2009 at 09:21 AM. |
#7
|
||||
|
||||
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... Mac Inspiron 531 » 10.6.8 • 10.8.0 Legacy Kernel • AMD Athlon 64 X2 5000+ (2.60GHz) Dell M2N61-AX/nForce 430/MCP61 • 4GB Dual Channel DDR2 667MHz ALC888 • nVidia GeForce 8600 GT 256 MB 2 x WDC WD5000AAKS 500 GB SATA HDD Last edited by pαuℓzurrr.; 09-30-2009 at 09:49 AM. |
#8
|
|||
|
|||
Sorry, I meant after the patch.. I don't know, that generated one didn't work right?
|
#9
|
||||
|
||||
Yes it did
![]() 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 Mac Inspiron 531 » 10.6.8 • 10.8.0 Legacy Kernel • AMD Athlon 64 X2 5000+ (2.60GHz) Dell M2N61-AX/nForce 430/MCP61 • 4GB Dual Channel DDR2 667MHz ALC888 • nVidia GeForce 8600 GT 256 MB 2 x WDC WD5000AAKS 500 GB SATA HDD Last edited by pαuℓzurrr.; 09-30-2009 at 10:56 AM. |
#10
|
|||
|
|||
Mmm, i didn't get any errors in pexpert... Did you see my PM?
Quote:
|