Re: Error Build xnu-792.24.17
Re: Error Build xnu-792.24.17
- Subject: Re: Error Build xnu-792.24.17
- From: "mm w" <email@hidden>
- Date: Fri, 30 May 2008 09:34:04 -0700
yep
#ifndef __KPI_SOCKETFILTER__
#define __KPI_SOCKETFILTER__
no //#endif
On Fri, May 30, 2008 at 8:42 AM, Dmitriy Prokhorenko
<email@hidden> 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
>
>
--
-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