Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Error Build xnu-792.24.17
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error Build xnu-792.24.17



Hello,

I encountered a similar problem when I build intel xnu of 10.4.11.
I wrote a memorandum to solve it on
http://tsuyoshi-momose.blogspot.com/2008/02/xnu-7922520-for-10411.html
The patch linked from the page wouldn't be applicable to the ppc xnu because the patch is for intel xnu.
it just add #endif at the end of each .c that occurs error.


--
Tsuyoshi Momose


On 2008/05/31, at 0:42, Dmitriy Prokhorenko wrote:

Thanks for reply.

The config kernel by default. The kernel xnu-792.21.3 is built without problems.

> uname -v
Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC


> make all
.......
In file included from /Users/electronicrain/Desktop/xnu/ xnu-792.24.17/bsd/net/kext_net.h:37,
from /Users/electronicrain/Desktop/xnu/xnu-792.24.17/ bsd/sys/socketvar.h:66,
from /Users/electronicrain/Desktop/xnu/xnu-792.24.17/ bsd/miscfs/fdesc/fdesc_vnops.c:83:
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/sys/ kpi_socketfilter.h:46:1: unterminated #ifndef
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c: In function `fdesc_lookup':
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:265: warning: assignment discards qualifiers from pointer target type
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:271: warning: assignment discards qualifiers from pointer target type
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:275: warning: assignment discards qualifiers from pointer target type
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c: In function `fdesc_open':
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:360: warning: enumeration value `Froot' not handled in switch
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:360: warning: enumeration value `Fdevfd' not handled in switch
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:360: warning: enumeration value `Flink' not handled in switch
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c: In function `fdesc_attr':
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:377: warning: suggest parentheses around assignment used as truth value
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:400: warning: implicit declaration of function `soo_stat'
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:402: warning: passing arg 1 of `pipe_stat' from incompatible pointer type
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c: At top level:
/Users/electronicrain/Desktop/xnu/xnu-792.24.17/bsd/miscfs/fdesc/ fdesc_vnops.c:803: warning: no previous prototype for `fdesc_vfree'
make[6]: *** [fdesc_vnops.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] Error 2
make[1]: *** [build_all] Error 2
make: *** [all] Error 2


On May 30, 2008, at 7:23 PM, mm w wrote:

Hi Dmitriy,

platform options ?
I think the error is before this

On Fri, May 30, 2008 at 7:05 AM, Dmitriy Prokhorenko
<email@hidden> wrote:
Hi,

When compiling the kernel error:

make all
.......
make[6]: *** [fdesc_vnops.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] Error 2
make[1]: *** [build_all] Error 2
make: *** [all] Error 2

Help me! Thx.

-------
Best Regards,
Dmitriy Prokhorenko
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




-- -mmw

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Error Build xnu-792.24.17 (From: Dmitriy Prokhorenko <email@hidden>)
 >Re: Error Build xnu-792.24.17 (From: "mm w" <email@hidden>)
 >Re: Error Build xnu-792.24.17 (From: Dmitriy Prokhorenko <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.