To enable kernel profiling on FreeBSD Rel 3.2, I did the following,
(according to a posting by Bruce Evans on 9/11/1996):

        config -p
        make clean
        make depend
        make

But I got link errors on several files:
mcount.o: multiple def. of mcount
prof_machdep.o: first defined here (????)
device_if.o: many undefined reference to mcount
exception.o: undefined reference to _btrap and _bintr
i386-gdbstub.o: many undefined reference to mcount
prof_machdep.o: undefined reference to mcount, __gmonparam
psm.o: many undefined reference to mcount

Did I miss any steps?

Thanks for the help.

K. Herman Chen


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to