InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 09-29-2009, 09:58 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by pαuℓzurrr. View Post
Hmm tried that, said it couldn't find the directory/file
I used a VNC server for remote control. Should work with any VNC Viewer for windows too
But its 23:00 here now and i need to get up at 6:45.
So maybe we can remote control tomorrow...
Yeah... same time here... 22:58...
Also is early day for me tomorrow but I'll continue a little bit longer
Reply With Quote
  #2  
Old 09-30-2009, 06:21 AM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
Quote:
Originally Posted by andyvand View Post
Yeah... same time here... 22:58...
Also is early day for me tomorrow but I'll continue a little bit longer
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?
Reply With Quote
  #3  
Old 09-29-2009, 09:48 PM
xXrkidXx xXrkidXx is offline
Leopard
 
Join Date: Apr 2009
Posts: 478
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
Reply With Quote
  #4  
Old 09-30-2009, 06:34 AM
aryajuanda's Avatar
aryajuanda aryajuanda is offline
 
Join Date: May 2008
Location: Indonesia
Posts: 72
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
Reply With Quote
  #5  
Old 09-30-2009, 08:40 AM
pαuℓzurrr.'s Avatar
pαuℓzurrr. pαuℓzurrr. is offline
 
Join Date: Jan 2008
Location: The Netherlands
Posts: 280
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.
Reply With Quote
  #6  
Old 09-30-2009, 09:10 AM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
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. View Post
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

Last edited by never_mind; 09-30-2009 at 09:21 AM.
Reply With Quote
  #7  
Old 09-30-2009, 09:36 AM
pαuℓzurrr.'s Avatar
pαuℓzurrr. pαuℓzurrr. is offline
 
Join Date: Jan 2008
Location: The Netherlands
Posts: 280
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.
Reply With Quote
  #8  
Old 09-30-2009, 10:00 AM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
Quote:
Originally Posted by pαuℓzurrr. View Post
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?
Reply With Quote
  #9  
Old 09-30-2009, 10:06 AM
pαuℓzurrr.'s Avatar
pαuℓzurrr. pαuℓzurrr. is offline
 
Join Date: Jan 2008
Location: The Netherlands
Posts: 280
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

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.
Reply With Quote
  #10  
Old 09-30-2009, 10:43 AM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
Mmm, i didn't get any errors in pexpert... Did you see my PM?

Quote:
Originally Posted by pαuℓzurrr. View Post
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...
Reply With Quote
Reply