From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 2 21:37:13 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B13F416A4CE for ; Wed, 2 Feb 2005 21:37:13 +0000 (GMT) Received: from smtp.ucla.edu (smtp.ucla.edu [169.232.47.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7168043D2F for ; Wed, 2 Feb 2005 21:37:13 +0000 (GMT) (envelope-from ashcs@ucla.edu) Received: from mail.ucla.edu (mail.ucla.edu [169.232.46.135]) by smtp.ucla.edu (8.13.1/8.13.1) with ESMTP id j12LbDRt017084 for ; Wed, 2 Feb 2005 13:37:13 -0800 Received: from ash (s226-88.resnet.ucla.edu [164.67.226.88]) (authenticated bits=0) by mail.ucla.edu (8.13.2/8.13.3) with ESMTP id j12LbCuI014489 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 2 Feb 2005 13:37:13 -0800 Message-ID: <001401c5096f$64524420$58e243a4@ash> From: "Ashwin Chandra" To: Date: Wed, 2 Feb 2005 13:37:27 -0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Probable-Spam: no X-Spam-Hits: 1.054 X-Spam-Score: * X-Scanned-By: smtp.ucla.edu X-Mailman-Approved-At: Thu, 03 Feb 2005 13:01:41 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: KVM linking X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 21:37:13 -0000 Hi, I am trying to create a kernel thread to monitor memory usage and = context switches. I wrote a simple program in the kern dir, updated the = files file in conf and i cant seem to link to the kvm libraries...whats = the easy way to include the lib/libkvm files and directory without = having to hack it through? thanks ash