mallinfo redux
For those who care, I thought I'd summarise answers to my mallinfo
question of yesterday, and what I came up with.
Frits Daalmans suggested that I try the dmalloc package from non-free.
However, when I installed it, there does not appear to be a mallinfo()
defined in dmalloc.h. I suspect dmalloc is a pretty heavy duty
debugging package, probably overkill for what was needed here, anyway.
Robert Stone advised that that the code for mallinfo() was indeed in
libc (as I had guessed from grepping the usr/lib directory ...), and was
at a loss to explain why it wouldn't link in.
After fighting with it this morning, I decided to add "-lc" to my linker
flags. To my surprise, it worked! Can someone explain why? I thought
libc was always linked in ...
Anyway, thanks Frits and Robert. I appreciate the quick help.
--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD 57104
Voice: (605) 334-4454 Fax: (605) 335-1173
email: nnorman@midco.net or nathan_norman@mmi.net
PGP Key ID: 0xA33B86E9 - Public key available at keyservers
PGP Key fingerprint: CE03 10AF 3281 1858 9D32 C2AB 936D C472
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: