Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2003 16:27:43 -0700 (PDT)
From:      Kip Macy <kmacy@fsmware.com>
To:        hackers@freebsd.org
Subject:   How do I get profiling to work?
Message-ID:  <Pine.LNX.4.21.0307191625490.27277-100000@walnut.he.net>

next in thread | raw e-mail | index | archive | help
When I do a config -p <configuration file>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0307191625490.27277-100000>