Yeah, It works.

I have just made two modifications:

1) make config
2) includes <sys/systm.h> for the printf and <sys/mount.h> for errors
that I pasted after doing "make config" file .

Now evrything works fine.

Sorry for asking some confusing non-clear kind of question.

 Thank you, everyone, for the support. And, from on next time I will
keep things clear. So, that it would be easy to answer for everyone.
And also I will try to solve the problem on my own and giving more
time for self research instead of just asking here.

On Tue, Apr 24, 2018 at 7:45 AM, Ted Unangst <t...@tedunangst.com> wrote:
> Neeraj Pal wrote:
>>
>> In file included from /usr/src/sys/kern/sys_test.c:4:
>> /usr/src/sys/sys/syscallargs.h:153:13: error: unknown type name
>> 'socklen_t'; did you mean '__socklen_t'?
>
> Your includes are in the wrong or some are missing. I think you should start
> by adding code to a file that already compiles, that's much less trouble.
>

Reply via email to