InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #31  
Old 09-29-2009, 01:39 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
What does the kernel panic say andy? Did you tried the test7 kernel?
I haven't had the time too check on the error while compiling yet...
Hope you can figure it out
It crashes after basic initialization with reason : unknown...
Seems my CPU isn't supported on that kernel (Intel Celeron M 420)
Reply With Quote
  #32  
Old 09-29-2009, 01:40 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by never_mind View Post
Me neither! ;-)

Need custom kernel with SSE3 emulator, or no go

Forward we go!

p.s. why are you not able to install it on external hd??
Since the installer can't load up due to the not working kernel...
I tried installing from USB HD
Reply With Quote
  #33  
Old 09-29-2009, 02:10 PM
never_mind never_mind is offline
Puma
 
Join Date: Jul 2009
Location: Melbourne
Posts: 23
Quote:
Originally Posted by andyvand View Post
Since the installer can't load up due to the not working kernel...
I tried installing from USB HD
Oh hehe, i thought you tried to install via OSinstall.mpkg...

Need that kernel too

BTW, I am compiling the SL kernel on LEO. That of course doesn't really work, but what I can do is compile most, so I can at least check for compile errors. I've installed 10.6 SDK headers manually in Leo. I even managed to compile one kernel at some point, but it gave my a brick due to linker errors. I know I need 10.6 compiler/linker/tools etc to really make it, but in Leo i've been able to compile to check for syntax errors etc using some tricks.

Are you also compiling this way now Andy? I understand you are not running SL so far either..

Last edited by never_mind; 09-29-2009 at 02:13 PM.
Reply With Quote
  #34  
Old 09-29-2009, 05:59 PM
pαuℓzurrr.'s Avatar
pαuℓzurrr. pαuℓzurrr. is offline
 
Join Date: Jan 2008
Location: The Netherlands
Posts: 280
Code:
MIG clock.h
MIG clock_priv.h
MIG host_priv.h
Generating libkern/version.h from /Users/Paul/desktop/xnu/xnu-1456.1.26/libkern/libkern/version.h.template
MIG host_security.h
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 processor.h
MIG processor_set.h
MIG security.h
MIG task.h
MIG task_access.h
Generating bsd/sys/syscall.h from /Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/kern/syscalls.master
MIG thread_act.h
MIG gssd_mach.h
MIG upl.h
MIG kextd_mach.h
MIG vm_map.h
MIG lockd_mach.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 WKdmDecompress.o
MIG device_server.h
CC device_tree.o
MIG device_server.c
CC bootargs.o
CC randomdev.o
CC pe_gen.o
MIG audit_triggers_user.c
MIG clock_reply_user.c
CC pe_init.o
CC pe_bootargs.o
MIG exc_user.c
CC pe_identify_machine.o
CC fips_sha1.o
CC pe_kprintf.o
MIG host_notify_reply_user.c
CC smf.o
CC pe_interrupt.o
CC comp.o
MIG mach_exc_user.c
CC pe_serial.o
LDFILELIST pexpert
MIG mach_notify_user.c
CC prng.o
MIG memory_object_user.c
MIG memory_object_control_user.c
CC IOHibernateRestoreKernel.o
MIG memory_object_default_user.c
MIG task_access_user.c
CC sha1mod.o
CC yarrowUtils.o
MIG upl_user.c
MIG vm_map_user.c
CC memdev.o
MIG clock_server.c
CC unix_startup.o
MIG clock_priv_server.c
MIG exc_server.c
C++ IOHibernateIO.cpo
C++ IOLib.cpo
MIG host_priv_server.c
MIG UNDRequest.c
MIG host_security_server.c
MIG UNDReplyServer.c
MIG ledger_server.c
MIG gssd_mach.c
MIG lock_set_server.c
MIG gssd_mach.h
MIG mach_exc_server.c
CC vn.o
C++ IOLocks.cpo
MIG mach_host_server.c
CC crc32.o
MIG mach_notify_server.c
CC random.o
MIG mach_port_server.c
CC shadow.o
CC scanc.o
CC skpc.o
MIG mach_vm_server.c
CC strsep.o
MIG memory_object_server.c
C++ IOConditionLock.cpo
MIG memory_object_control_server.c
CC inet_ntop.o
MIG kextd_mach.c
CC bcd.o
C++ IOSyncer.cpo
MIG memory_object_default_server.c
MIG kextd_mach.h
cc1: warnings being treated as errors
In file included from /Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:47:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: warning: implicit declaration of function ‘PADL_’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: expected expression before ‘int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: variably modified ‘fd_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: warning: implicit declaration of function ‘PADR_’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: expected expression before ‘int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: variably modified ‘fd_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: variably modified ‘arch_offset_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: variably modified ‘arch_offset_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: variably modified ‘arch_size_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: variably modified ‘arch_size_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: expected expression before ‘user_addr_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: variably modified ‘map_addr_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: expected expression before ‘user_addr_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: variably modified ‘map_addr_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: expected expression before ‘u_int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: variably modified ‘mode_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: expected expression before ‘u_int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: variably modified ‘mode_r_’ at file scope
MIG memory_object_name_server.c
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:619: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/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/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getvolattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:641: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:848: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1143: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1155: error: dereferencing pointer to incomplete type
MIG lockd_mach.c
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1174: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getattrlist_internal’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1204: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1232: warning: passing argument 2 of ‘getvolattrlist’ from incompatible pointer type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1238: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1854: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1869: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1869: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1888: warning: ‘struct fgetattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1889: warning: no previous prototype for ‘fgetattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘fgetattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1893: error: storage size of ‘ap’ isn’t known
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1898: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1902: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1907: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1908: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1909: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1910: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1914: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1893: warning: unused variable ‘ap’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1922: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1923: warning: no previous prototype for ‘getattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1937: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1939: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1946: warning: passing argument 2 of ‘getattrlist_internal’ from incompatible pointer type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1987: warning: ‘struct setattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘setattrlist_internal’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2008: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2048: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2053: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2059: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2059: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2075: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2311: warning: ‘struct setattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2312: warning: no previous prototype for ‘setattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘setattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2325: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2327: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2333: warning: passing argument 2 of ‘setattrlist_internal’ from incompatible pointer type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2341: warning: ‘struct fsetattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2342: warning: no previous prototype for ‘fsetattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘fsetattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2346: error: storage size of ‘ap’ isn’t known
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2350: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2354: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2359: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2360: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2361: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2362: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2365: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/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....
MIG processor_server.c
MIG lockd_mach.h
MIG processor_set_server.c
MIG security_server.c
cc1plus: warnings being treated as errors
/Users/Paul/desktop/xnu/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp: In function ‘void iokit_post_constructor_init()’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/desktop/xnu/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
/Users/Paul/desktop/xnu/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/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....
MIG task_server.c
MIG thread_act_server.c
MIG upl_server.c
MIG vm_map_server.c
MIG vm32_map_server.c
CC default_pager.o
C++ IODeviceTreeSupport.cpo
CC default_pager_alerts_user.o
CC dp_memory_object.o
CC gssd_mach.o
CC default_pager_object_server.o
CC lockd_mach.o
CC kextd_mach.o
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 KUNCUserNotifications.o
CC db_ext_symtab.o
CC dp_backing_store.o
CC kdp_serial.o
C++ IORegistryEntry.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 ipc_hash.o
CC ipc_entry.o
CC kdp.o
CC ipc_init.o
CC ipc_notify.o
CC ipc_mqueue.o
CC ipc_object.o
CC kdp_udp.o
CC ipc_pset.o
CC ipc_port.o
CC ipc_space.o
CC ipc_table.o
CC ipc_splay.o
CC ipc_labelh.o
CC ipc_kmsg.o
CC ipc_right.o
CC mach_debug.o
CC ast.o
CC mach_msg.o
CC affinity.o
CC audit_sessionport.o
CC counters.o
CC clock.o
CC mach_port.o
CC clock_oldops.o
CC debug.o
CC exception.o
CC host_notify.o
CC ipc_clock.o
CC host.o
CC ipc_host.o
CC ipc_sync.o
CC ipc_kobject.o
CC ipc_mig.o
CC ledger.o
CC kalloc.o
CC mach_clock.o
CC machine.o
CC mk_sp.o
CC locks.o
CC page_decrypt.o
CC ipc_tt.o
CC mk_timer.o
CC processor_data.o
CC priority.o
CC queue.o
CC sched_average.o
CC printf.o
CC security.o
CC processor.o
CC stack.o
CC startup.o
CC syscall_emulation.o
CC sync_lock.o
CC syscall_subr.o
CC sync_sema.o
CC syscall_sw.o
CC task_swap.o
CC task_policy.o
CC sched_prim.o
CC thread_act.o
CC task.o
CC timer.o
CC thread.o
CC thread_call.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 exc_user.o
CC zalloc.o
CC pmc.o
CC exc_server.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_vm_server.o
CC memory_object_name_server.o
CC memory_object_control_server.o
CC mach_port_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 security_server.o
CC thread_act_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 kmod.o
CC vm_map.o
CC chud_cpu.o
CC subrs.o
CC chud_glue.o
CC vm_user.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
In file included from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:38:
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid_legacy.h:32:1: error: "KB" redefined
In file included from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/mach/machine/vm_param.h:35,
                 from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/mach/vm_param.h:70,
                 from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/vm/vm_page.h:73,
                 from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:33:
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/mach/i386/vm_param.h:160:1: error: this is the location of the previous definition
CC cpu.o
cc1: warnings being treated as errors
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c: In function ‘cpuid_set_info’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:830: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/desktop/xnu/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:834: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/desktop/xnu/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
make[6]: *** [cpuid.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC cpu_threads.o
CC pmap.o
CC device_server.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_osfmk] Error 2
make: *** [all] Error 2
Got a lil further, still allot of errors...

Also on pastebin: http://pastebin.com/m24986ef1

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-29-2009 at 06:04 PM.
Reply With Quote
  #35  
Old 09-29-2009, 06:32 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
Code:
MIG clock.h
MIG clock_priv.h
MIG host_priv.h
Generating libkern/version.h from /Users/Paul/desktop/xnu/xnu-1456.1.26/libkern/libkern/version.h.template
MIG host_security.h
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 processor.h
MIG processor_set.h
MIG security.h
MIG task.h
MIG task_access.h
Generating bsd/sys/syscall.h from /Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/kern/syscalls.master
MIG thread_act.h
MIG gssd_mach.h
MIG upl.h
MIG kextd_mach.h
MIG vm_map.h
MIG lockd_mach.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 WKdmDecompress.o
MIG device_server.h
CC device_tree.o
MIG device_server.c
CC bootargs.o
CC randomdev.o
CC pe_gen.o
MIG audit_triggers_user.c
MIG clock_reply_user.c
CC pe_init.o
CC pe_bootargs.o
MIG exc_user.c
CC pe_identify_machine.o
CC fips_sha1.o
CC pe_kprintf.o
MIG host_notify_reply_user.c
CC smf.o
CC pe_interrupt.o
CC comp.o
MIG mach_exc_user.c
CC pe_serial.o
LDFILELIST pexpert
MIG mach_notify_user.c
CC prng.o
MIG memory_object_user.c
MIG memory_object_control_user.c
CC IOHibernateRestoreKernel.o
MIG memory_object_default_user.c
MIG task_access_user.c
CC sha1mod.o
CC yarrowUtils.o
MIG upl_user.c
MIG vm_map_user.c
CC memdev.o
MIG clock_server.c
CC unix_startup.o
MIG clock_priv_server.c
MIG exc_server.c
C++ IOHibernateIO.cpo
C++ IOLib.cpo
MIG host_priv_server.c
MIG UNDRequest.c
MIG host_security_server.c
MIG UNDReplyServer.c
MIG ledger_server.c
MIG gssd_mach.c
MIG lock_set_server.c
MIG gssd_mach.h
MIG mach_exc_server.c
CC vn.o
C++ IOLocks.cpo
MIG mach_host_server.c
CC crc32.o
MIG mach_notify_server.c
CC random.o
MIG mach_port_server.c
CC shadow.o
CC scanc.o
CC skpc.o
MIG mach_vm_server.c
CC strsep.o
MIG memory_object_server.c
C++ IOConditionLock.cpo
MIG memory_object_control_server.c
CC inet_ntop.o
MIG kextd_mach.c
CC bcd.o
C++ IOSyncer.cpo
MIG memory_object_default_server.c
MIG kextd_mach.h
cc1: warnings being treated as errors
In file included from /Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:47:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: warning: implicit declaration of function ‘PADL_’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: expected expression before ‘int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: variably modified ‘fd_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: warning: implicit declaration of function ‘PADR_’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: expected expression before ‘int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:2: error: variably modified ‘fd_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: variably modified ‘arch_offset_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:3: error: variably modified ‘arch_offset_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: variably modified ‘arch_size_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: expected expression before ‘uint32_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:4: error: variably modified ‘arch_size_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: expected expression before ‘user_addr_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: variably modified ‘map_addr_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: expected expression before ‘user_addr_t’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:5: error: variably modified ‘map_addr_r_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: expected expression before ‘u_int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: variably modified ‘mode_l_’ at file scope
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: expected expression before ‘u_int’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/sys/sysproto.h:6: error: variably modified ‘mode_r_’ at file scope
MIG memory_object_name_server.c
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:619: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/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/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getvolattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:641: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:848: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1143: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1155: error: dereferencing pointer to incomplete type
MIG lockd_mach.c
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1174: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getattrlist_internal’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1204: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1232: warning: passing argument 2 of ‘getvolattrlist’ from incompatible pointer type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1238: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1854: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1869: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1869: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1888: warning: ‘struct fgetattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1889: warning: no previous prototype for ‘fgetattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘fgetattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1893: error: storage size of ‘ap’ isn’t known
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1898: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1902: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1907: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1908: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1909: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1910: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1914: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1893: warning: unused variable ‘ap’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1922: warning: ‘struct getattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1923: warning: no previous prototype for ‘getattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘getattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1937: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1939: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1946: warning: passing argument 2 of ‘getattrlist_internal’ from incompatible pointer type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:1987: warning: ‘struct setattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘setattrlist_internal’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2008: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2048: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2053: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2059: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2059: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2075: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2311: warning: ‘struct setattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2312: warning: no previous prototype for ‘setattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘setattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2325: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2327: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2333: warning: passing argument 2 of ‘setattrlist_internal’ from incompatible pointer type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: At top level:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2341: warning: ‘struct fsetattrlist_args’ declared inside parameter list
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2342: warning: no previous prototype for ‘fsetattrlist’
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c: In function ‘fsetattrlist’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2346: error: storage size of ‘ap’ isn’t known
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2350: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2354: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2359: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2360: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2361: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2362: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/xnu-1456.1.26/bsd/vfs/vfs_attrlist.c:2365: error: dereferencing pointer to incomplete type
/Users/Paul/desktop/xnu/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....
MIG processor_server.c
MIG lockd_mach.h
MIG processor_set_server.c
MIG security_server.c
cc1plus: warnings being treated as errors
/Users/Paul/desktop/xnu/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp: In function ‘void iokit_post_constructor_init()’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/desktop/xnu/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
/Users/Paul/desktop/xnu/xnu-1456.1.26/iokit/Kernel/IOStartIOKit.cpp:100: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/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....
MIG task_server.c
MIG thread_act_server.c
MIG upl_server.c
MIG vm_map_server.c
MIG vm32_map_server.c
CC default_pager.o
C++ IODeviceTreeSupport.cpo
CC default_pager_alerts_user.o
CC dp_memory_object.o
CC gssd_mach.o
CC default_pager_object_server.o
CC lockd_mach.o
CC kextd_mach.o
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 KUNCUserNotifications.o
CC db_ext_symtab.o
CC dp_backing_store.o
CC kdp_serial.o
C++ IORegistryEntry.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 ipc_hash.o
CC ipc_entry.o
CC kdp.o
CC ipc_init.o
CC ipc_notify.o
CC ipc_mqueue.o
CC ipc_object.o
CC kdp_udp.o
CC ipc_pset.o
CC ipc_port.o
CC ipc_space.o
CC ipc_table.o
CC ipc_splay.o
CC ipc_labelh.o
CC ipc_kmsg.o
CC ipc_right.o
CC mach_debug.o
CC ast.o
CC mach_msg.o
CC affinity.o
CC audit_sessionport.o
CC counters.o
CC clock.o
CC mach_port.o
CC clock_oldops.o
CC debug.o
CC exception.o
CC host_notify.o
CC ipc_clock.o
CC host.o
CC ipc_host.o
CC ipc_sync.o
CC ipc_kobject.o
CC ipc_mig.o
CC ledger.o
CC kalloc.o
CC mach_clock.o
CC machine.o
CC mk_sp.o
CC locks.o
CC page_decrypt.o
CC ipc_tt.o
CC mk_timer.o
CC processor_data.o
CC priority.o
CC queue.o
CC sched_average.o
CC printf.o
CC security.o
CC processor.o
CC stack.o
CC startup.o
CC syscall_emulation.o
CC sync_lock.o
CC syscall_subr.o
CC sync_sema.o
CC syscall_sw.o
CC task_swap.o
CC task_policy.o
CC sched_prim.o
CC thread_act.o
CC task.o
CC timer.o
CC thread.o
CC thread_call.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 exc_user.o
CC zalloc.o
CC pmc.o
CC exc_server.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_vm_server.o
CC memory_object_name_server.o
CC memory_object_control_server.o
CC mach_port_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 security_server.o
CC thread_act_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 kmod.o
CC vm_map.o
CC chud_cpu.o
CC subrs.o
CC chud_glue.o
CC vm_user.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
In file included from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:38:
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid_legacy.h:32:1: error: "KB" redefined
In file included from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/mach/machine/vm_param.h:35,
                 from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/mach/vm_param.h:70,
                 from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/vm/vm_page.h:73,
                 from /Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:33:
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/mach/i386/vm_param.h:160:1: error: this is the location of the previous definition
CC cpu.o
cc1: warnings being treated as errors
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c: In function ‘cpuid_set_info’:
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:830: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/desktop/xnu/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
/Users/Paul/desktop/xnu/xnu-1456.1.26/osfmk/i386/cpuid.c:834: warning: ‘PE_parse_boot_arg’ is deprecated (declared at /Users/Paul/desktop/xnu/xnu-1456.1.26/BUILD/obj//EXPORT_HDRS/pexpert/pexpert/pexpert.h:239)
make[6]: *** [cpuid.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC cpu_threads.o
CC pmap.o
CC device_server.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_osfmk] Error 2
make: *** [all] Error 2
Got a lil further, still allot of errors...

Also on pastebin: http://pastebin.com/m24986ef1
PE_parse_boot_arg should be replaced with PE_parse_boot_argn
example: PE_parse_boot_arg("argument", &var) -> PE_parse_boot_argn("argument", &var, sizeof(var))
PADL_ and PADR_ you should look up and make sure bsd/vfs/vfs_attrlist.c has the header included before bsd/sys/sysproto.h
Reply With Quote
  #36  
Old 09-29-2009, 06:36 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by never_mind View Post
Oh hehe, i thought you tried to install via OSinstall.mpkg...

Need that kernel too

BTW, I am compiling the SL kernel on LEO. That of course doesn't really work, but what I can do is compile most, so I can at least check for compile errors. I've installed 10.6 SDK headers manually in Leo. I even managed to compile one kernel at some point, but it gave my a brick due to linker errors. I know I need 10.6 compiler/linker/tools etc to really make it, but in Leo i've been able to compile to check for syntax errors etc using some tricks.

Are you also compiling this way now Andy? I understand you are not running SL so far either..
I also found a way to do it by removing -Werror and making sure it doesn't use xcrun for the tools in makedefs/makeinc.cmd + various Makefiles
I've been thinking of writing a little xcrun tool which does the same without changing it (just printing the tools statically e.g. xcrun -find mig should return /usr/bin/mig)
Reply With Quote
  #37  
Old 09-29-2009, 07:13 PM
pαuℓzurrr.'s Avatar
pαuℓzurrr. pαuℓzurrr. is offline
 
Join Date: Jan 2008
Location: The Netherlands
Posts: 280
Quote:
Originally Posted by andyvand View Post
PE_parse_boot_arg should be replaced with PE_parse_boot_argn
example: PE_parse_boot_arg("argument", &var) -> PE_parse_boot_argn("argument", &var, sizeof(var))
PADL_ and PADR_ you should look up and make sure bsd/vfs/vfs_attrlist.c has the header included before bsd/sys/sysproto.h
Yes it worked when i added the the right PE_parse line, but i dont think i have the knowledge/time to go any further with it...

One question, what do i need to get rid of this;
Code:
xcodebuild: 'ctfconvert' not found
/Developer/usr/bin/xcodebuild fails with 512 - Unknown error: 512
Thanks!

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-29-2009 at 07:20 PM.
Reply With Quote
  #38  
Old 09-29-2009, 08:11 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
Yes it worked when i added the the right PE_parse line, but i dont think i have the knowledge/time to go any further with it...

One question, what do i need to get rid of this;
Code:
xcodebuild: 'ctfconvert' not found
/Developer/usr/bin/xcodebuild fails with 512 - Unknown error: 512
Thanks!
Add to makedefs/MakeInc.def on top:
export BUILD_STABS = 1
Reply With Quote
  #39  
Old 09-29-2009, 08:47 PM
pαuℓzurrr.'s Avatar
pαuℓzurrr. pαuℓzurrr. is offline
 
Join Date: Jan 2008
Location: The Netherlands
Posts: 280
Thanks man Was kinda annoying when compiling

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
Reply With Quote
  #40  
Old 09-29-2009, 09:09 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
Thanks man Was kinda annoying when compiling
No problem



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

Reply With Quote
Reply