[tpop3d-discuss] Failure to compile out of the box

Charlie & root at shagged.org
Sat, 23 Jun 2001 17:59:32 +0100


On Sat, Jun 23, 2001 at 05:54:11PM +0100, Chris Lightfoot wrote:
> On Sat, Jun 23, 2001 at 05:12:10PM +0100, Chris Elsworth wrote:
> > Hi all,
> > 
> > Just trying to build tpop3d for the first time, on FreeBSD 4.3, with this 
> > configure:
> > 
> > ./configure --enable-mbox-maildir
>     [...]
> > main.o: In function `fork_child':
> > /home/chris/tpop3d-1.3.2/main.c(.text+0x3f5): undefined reference to  `muntrace'
> > main.o: In function `main':
> > /home/chris/tpop3d-1.3.2/main.c(.text+0xe49): undefined reference to  `mtrace'
> > *** Error code 1
> 
> Ooh. Embarrassing. That one crept out the door with
> debugging code in :)
> 
> mtrace/muntrace are GNU extensions for making the memory
> allocator generate diagnostic information. If you remove
> the two references to them (at lines 455 and 165 in
> main.c) everything should work correctly.

I was beginning to wonder. I had a search of /usr/include, and all the src 
in tpop3d's tree, and couldn't find a single other reference to mtrace or 
muntrace. I found a couple of igmp_mtrace calls etc, but presumably 
completely unrelated.

As predicted, works fine now :)

> I shall do a new release shortly to fix this.

:)

-- 
Chris Elsworth  -  Software & Systems Developer  /  Systems Administrator 
girls = time x money (and time is money)         .       chrise@demon.net
      = money^2 (money is root of all evil)     . .    tel: 020 8371 1041 
      = _/(evil^2) = evil                   t h u s    mob: 07968 324 693