Mail Archives: djgpp/1995/10/30/10:43:40
On Mon, 30 Oct 1995, Benedict Baylis wrote:
> Several different compiles that use the libc.a library have failed,
> with a reference:
> access.c undefined reference to mcount
> or something similar
>
> I amn using 112m4.
`mcount' is a symbol which is used for profiling. It is defined in the
profiling version of crt0.s which gets linked only of you use -pg option
to gcc. It seems that your library is really libc_p.a, not libc.a, that
somehow got renamed to libc.a, and so the functions there need `mcount'
they cannot find.
- Raw text -