[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: Thomas Klausner <wiz%NetBSD.org@localhost>
Subject: Re: lib/53125: sys/timevar.h is absent in installed systems.
Date: Wed, 28 Mar 2018 08:42:28 +0200
On Wed, Mar 28, 2018 at 05:05:01AM +0000, Utkarsh Anand wrote:
> Not sure what's happening when I try to compile this:
> /var/tmp/temp-eb1f46.o: In function `main':
> temp.c:(.text+0x2e): undefined reference to `kvm_open'
> temp.c:(.text+0x5e): undefined reference to `kvm_getproc2'
> clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
# man kvm_open
kvm_open, kvm_openfiles, kvm_close -- initialize kernel virtual memory
Kernel Data Access Library (libkvm, -lkvm)
-> you need to link against libkvm.
Main Index |
Thread Index |