NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/53125: sys/timevar.h is absent in installed systems.
The following reply was made to PR lib/53125; it has been noted by GNATS.
From: Utkarsh Anand <utkarsh009%yandex.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>,
"lib-bug-people%netbsd.org@localhost" <lib-bug-people%netbsd.org@localhost>,
"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>,
"netbsd-bugs%netbsd.org@localhost" <netbsd-bugs%netbsd.org@localhost>
Cc:
Subject: Re: lib/53125: sys/timevar.h is absent in installed systems.
Date: Sat, 24 Mar 2018 22:23:44 +0530
24.03.2018, 21:20, "Michael van Elst" <mlelstv%serpens.de@localhost>:
> Â Apparently it is not general purpose and hasn't been ported to NetBSD.
Yes it is. I'm trying to port https://github.com/neovim/neovim
(Yes, I was using `vi` to edit and view tons of files and I'll most probably
have nothing to edit after I port it.)
Currently, I'm stuck with this: http://termbin.com/scy2
This patch (along with a small edit in an untracked folder that is generated
dynamically after downloading dependencies) helped me reach that far:
http://termbin.com/6ibia
I was surprised to see that including <machine/types.h> has no effect
whatsoever but declaring those in any of the dependent files removes
errors for all the files deeper down the nesting.
As for the implicit declaration warning, I don't get it when I compile it in linux.
In fact I don't get a single error in Linux? Could it be a problem in the compiler/
gmake/cmake in pkgsrc?
24.03.2018, 21:58, "Manuel Bouyer" <bouyer%antioche.eu.org@localhost>:
> You still don't explain what you want to do. _KMEMUSER use is restricted
> even in the kernel, it's in no way designed to be used in userland.
>
I have explained it above. It doesn't look like a bug in that application. Apparently, other
operating systems provide access to `struct kinfo_proc` even to non _KMEMUSERs.
Home |
Main Index |
Thread Index |
Old Index