InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #11  
Old 09-27-2009, 10:17 PM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
Quote:
Originally Posted by andyvand View Post
getsectdatafromheader is declared in <libkern/kernel_mach_header.h>
you should put #include <libkern/kernel_mach_header.h> into the failing header
That should fix this up
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!
Reply With Quote
  #12  
Old 09-28-2009, 10:09 AM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
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 View Post
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!
Reply With Quote
  #13  
Old 09-28-2009, 10:13 AM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
btw, "why is the rum gone?" :-)

sse3emu.c:

/////////////////////
#include <stdint.h>

/* kaitek: the SSE3 emulator is automatically disabled if sse3emu_size is zero. */

const uint8_t sse3emu_data[] = { 0x00 };
const uint32_t sse3emu_size = 0;
/////////////////////



Ohno! No SSE3 emulator in 32bit after all? | -)
Reply With Quote
  #14  
Old 09-28-2009, 11:56 AM
dashboard's Avatar
dashboard dashboard is offline
Cheetah
 
Join Date: Sep 2009
Posts: 7
Somebody compiled this yet? Can't wait
Reply With Quote
  #15  
Old 09-28-2009, 11:56 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by maya77 View Post
As I understood you in another posts, this will never work in 64-bit mode on AMD. True?
Sure it will...
But not on SSE2 only machines
Reply With Quote
  #16  
Old 09-28-2009, 11:57 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by never_mind View Post
btw, "why is the rum gone?" :-)

sse3emu.c:

/////////////////////
#include <stdint.h>

/* kaitek: the SSE3 emulator is automatically disabled if sse3emu_size is zero. */

const uint8_t sse3emu_data[] = { 0x00 };
const uint32_t sse3emu_size = 0;
/////////////////////



Ohno! No SSE3 emulator in 32bit after all? | -)
I could add that afterwards but lets first get this fixed up and working...
Reply With Quote
  #17  
Old 09-28-2009, 11:59 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by never_mind View Post
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...
Check task_access_server.mig...
Try manually migging it and check for errors, then let me know...
Reply With Quote
  #18  
Old 09-28-2009, 12:31 PM
aryajuanda's Avatar
aryajuanda aryajuanda is offline
 
Join Date: May 2008
Location: Indonesia
Posts: 72
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..

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
  #19  
Old 09-28-2009, 04:14 PM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
Quote:
Originally Posted by andyvand View Post
Check task_access_server.mig...
Try manually migging it and check for errors, then let me know...
Could you give me some hints on howto do that please?
Reply With Quote
  #20  
Old 09-28-2009, 07:57 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by never_mind View Post
Could you give me some hints on howto do that please?
look for the file in spotlight
use /usr/bin/mig <file.mig> to try to mig it...
Check the returned info + files + line



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply