Re: Error Build xnu-792.24.17
Re: Error Build xnu-792.24.17
- Subject: Re: Error Build xnu-792.24.17
- From: Dmitriy Prokhorenko <email@hidden>
- Date: Sat, 31 May 2008 00:00:36 +0400
Big thanks for the you patch.
-------
Best Regards,
Dmitriy Prokhorenko
On May 30, 2008, at 9:07 PM, Tsuyoshi MOMOSE / ももせつよし wrote:
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