Re: is this enough to determine what I have done wrong

"Tom 'spot' Callaway" <[email protected]>
Newsgroups gmane.linux.aurora.devel
Organization Red Hat
Message-ID <1053478034.3270.36.camel@zorak>
On Mon, 2003-05-19 at 21:44, Cookie wrote:

> init/main.o: In function `check_bugs':
> init/main.o(.text+0x28): undefined reference to `_mcount'
> init/main.o: In function `rest_init':
> init/main.o(.text+0x48): undefined reference to `_mcount'
> init/main.o: In function `init':
> init/main.o(.text+0xa8): undefined reference to `_mcount'
> init/main.o: In function `profile_setup':
> init/main.o(.text.init+0x8): undefined reference to `_mcount'
> init/main.o: In function `checksetup':
> init/main.o(.text.init+0x48): undefined reference to `_mcount'
> init/main.o(.text.init+0xe8): more undefined references to `_mcount' follow
> make: *** [vmlinux] Error 1

No clue. I grepped my 2.4.21rc2 based tree for _mcount, and came up with
nothing but some references in arch/alpha.

The obvious questions apply: Are you using kgcc instead of gcc? (you
should be using kgcc) Are you using a .config you made, or one of
Aurora's? (they live in /usr/src/linux-2.4/configs)

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> SAIR LCA, RHCE
Red Hat Enterprise Architect :: http://www.redhat.com
Project Leader for Aurora Sparc Linux :: http://auroralinux.org
GPG: D786 8B22 D9DB 1F8B 4AB7  448E 3C5E 99AD 9305 4260

The words and opinions reflected in this message do not necessarily
reflect those of my employer, Red Hat, and belong solely to me.

"Immature poets borrow, mature poets steal." --- T. S. Eliot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.