Thanks Mats.

On Feb 7, 2008 12:25 AM, Mats O Jansson <[EMAIL PROTECTED]> wrote:
> On Wed, 6 Feb 2008, Joco Salvatti wrote:
>
> > Hi all,
> >
> > I've downloaded the OpenBSD 4.2 current source tree to my 4.2 release
> > machine. Then I've made small modifications to my kernel, but when I
> > run make depend I get the following error messages:
> >
> > /usr/src/sys/kern/kern_sysctl.c:91:21: ifaddrs.h: No such file or
directory
> > /usr/src/sys/kern/kern_sysctl.c:92:17: err.h: No such file or directory
> > /usr/src/sys/kern/kern_sysctl.c:93:19: ctype.h: No such file or directory
> >
> > I've already read style(9) and even made some search on the web, but I
> > could not find a thing. So I would like to hear from you where I could
> > find information about this issue or if it is possible to use
> > /usr/include headers in the kernel (I guess so because I've seen this
> > in other kernel files) adnd if it links to user libraries.
>
> The three include files are userland includes. You can't use them in
> kernel source.
>
> A quick search in the sys tree didn't find any reference to ifaddrs.h.
> err.h and ctype.h are in some utilities in the sys tree but not in
> any kernel sources.
>
> the kernel doesn't link with any userland libraries.
>
> -moj
>
>
> > Thanks in advance for the time wasted reading this e-mail.
> >
> > --
> > Joao Salvatti
> > Undergraduating in Computer Science
> > Federal University of Para - UFPA
> > web: http://www.openbsd-pa.org
> > e-mail: [EMAIL PROTECTED]
> >
> >



--
Joao Salvatti
Undergraduating in Computer Science
Federal University of Para - UFPA
web: http://www.openbsd-pa.org
e-mail: [EMAIL PROTECTED]

Reply via email to