Yeah, It works.
I have just made two modifications:
1) make config
2) includes for the printf and 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 o
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 alrea
No, I know. But from last some days it's been like too confusing, I
mean first, it was working after some 15 days ago with the pathway
that I have just described, then now not working, then as Ted said, I
skipped config, now I have done that also but still some errors.
I don't know why these errors
So. you don't know what you are doing.
Neeraj Pal wrote:
> okay. Sure,
>
> Instead of sys_hello.c I created a new one sys_test.c. So, guys don't
> confuse with above sys_hello.c and this time sys_test.c, both are the
> same file.
>
> Then after that, I went through all the steps including
okay. Sure,
Instead of sys_hello.c I created a new one sys_test.c. So, guys don't
confuse with above sys_hello.c and this time sys_test.c, both are the
same file.
Then after that, I went through all the steps including "make config"
make obj && make config && make -j4
Then it throws this error
Neeraj Pal wrote:
> 4) echo "file kern/sys_hello.c" >> /usr/src/sys/conf/files
>
> 5) cd /usr/src/sys/arch/amd64/compile/CUSTOM.MP/
>
> 6) make obj && make -j4
>
> And, then, It throws an error given below,
>
> "
> ld -T ld.script -X --warn-common -nopie -o bsd ${SYSTEM_HEAD} vers.o ${OBJS}
>
On Sun, Apr 22, 2018 at 3:14 AM, Paul Irofti wrote:
> On Sun, Apr 22, 2018 at 12:23:09AM +0530, Neeraj Pal wrote:
>> Hello guys,
>>
>> I am facing some issue during adding system call on OpenBSD 6.3. I
>> have shown my pathways to add system call, please guys correct me if
>> somewhere I have forg
On Sun, Apr 22, 2018 at 12:23:09AM +0530, Neeraj Pal wrote:
> Hello guys,
>
> I am facing some issue during adding system call on OpenBSD 6.3. I
> have shown my pathways to add system call, please guys correct me if
> somewhere I have forgotten something to add or build.
>
> 1) echo "331 { int sy
Hello guys,
I am facing some issue during adding system call on OpenBSD 6.3. I
have shown my pathways to add system call, please guys correct me if
somewhere I have forgotten something to add or build.
1) echo "331 { int sys_hello(void); }" >> /usr/src/sys/kern/syscalls.master
2) make init_sysen