From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 19 16:27:38 2003 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 5911437B401 for ; Sat, 19 Jul 2003 16:27:38 -0700 (PDT) Received: from walnut.he.net (walnut.he.net [64.71.137.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id E655243F85 for ; Sat, 19 Jul 2003 16:27:37 -0700 (PDT) (envelope-from kmacy@fsmware.com) Received: from localhost (kmacy@localhost) by walnut.he.net (8.8.6p2003-03-31/8.8.2) with ESMTP id QAA07967 for ; Sat, 19 Jul 2003 16:27:43 -0700 Date: Sat, 19 Jul 2003 16:27:43 -0700 (PDT) From: Kip Macy X-Sender: kmacy@walnut.he.net To: hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: How do I get profiling to work? 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: Sat, 19 Jul 2003 23:27:38 -0000 When I do a config -p then a make depend; make kernel - I get linking kernel mcount.o: In function `mcount': mcount.o(.text+0xa): undefined reference to `_gmonparam' mcount.o(.text+0x10): undefined reference to `_gmonparam' mcount.o(.text+0x40): undefined reference to `user' mcount.o(.text+0x52): undefined reference to `btrap' mcount.o(.text+0x5b): undefined reference to `eintr' mcount.o(.text+0x64): undefined reference to `bintr' mcount.o(.text+0x6b): undefined reference to `bintr' mcount.o(.text+0x75): undefined reference to `btrap' prof_machdep.o: In function `__mcount': prof_machdep.o(.text+0x2): undefined reference to `_gmonparam' prof_machdep.o: In function `.mcount': prof_machdep.o(.text+0x12): undefined reference to `_gmonparam' *** Error code 1 What extra voodoo is neccessary to ensure that these symbols are defined? Thanks. -kip